web-deployment

MSBuild with Azure - PublishProfileSet evaluates to a “”

梦想与她 提交于 2019-12-22 06:36:12
问题 I'm trying to deploy my project to Azure. I've been wrestling with EF code first on Azure for a few hours, but I got it to go once and it created a user. I went to publish an update, and now I'm getting the following error: Invoke build failed due to exception 'Expected "$(_PublishProfileSet)" to evaluate to a boolean instead of "", in condition "$(_PublishProfileSet) And '$(PublishProfileName)' =='' And '$(WebPublishProfileFile)'==''". I've removed the publish profile and readded it, I've

MSDeploy fails to deploy manually zipped package

一曲冷凌霜 提交于 2019-12-22 05:53:18
问题 Earlier I was building and deploying web project using msbuild.exe Now I want to modify some files before deploying, so I make a .zip package using msbuild, then unzip it, modify some files and then zip it again and try to deploy using msdeploy. The problem is, that it deploys empty folder . When I try to deploy unmodified .zip package - it works fine. After long hours digging, I figured out, that msdeploy does not support packages, which were zipped using other than built in windows zip

undefined method `run' for main:Object

感情迁移 提交于 2019-12-22 01:38:11
问题 i'm getting the following output when deploying: cap aborted! NoMethodError: undefined method `run' for main:Object config/deploy.rb:37:in `block (2 levels) in <top (required)>' /var/lib/gems/1.9.1/gems/capistrano-3.2.1/lib/capistrano/dsl/task_enhancements.rb:12:in `block in after' /var/lib/gems/1.9.1/gems/capistrano-3.2.1/lib/capistrano/application.rb:15:in `run' /var/lib/gems/1.9.1/gems/capistrano-3.2.1/bin/cap:3:in `<top (required)>' Tasks: TOP => deploy:permissions (See full trace by

Importing and Using BeautifulSoup for Web App

不羁的心 提交于 2019-12-21 22:35:20
问题 I am currently trying to use BeautifulSoup for a Web App and I have installed the beautifulsoup4 egg in a local dir with easy_install --install-dir=PATH_TO_DIR beautifulsoup4 , but when I run my app I'm getting the current error that I don't know what to do about: Traceback (most recent call last): from bs4 import BeautifulSoup File "/home/ryanefoley/py_libs/beautifulsoup4-4.3.2-py2.6.egg/bs4/__init__.py", line 186 if ((isinstance(markup, bytes) and not b' ' in markup) ^ SyntaxError: invalid

Web Deploy to Server with MSBuild

自作多情 提交于 2019-12-21 17:29:35
问题 I have a publish profile set up in a VS 2012 project. When I right click on the project in VS, select Publish and click on the [Publish] button, it publishes the project to the server using the settings provided in the Publish Profile. When I use msbuild and the command line, with the following syntax: msbuild.exe .\mvc.csproj /p:PublishProfile=DevServer /p:DeployOnBuild=True /p:Password=MyPassword /p:AllowUntrustedCertificate=true Then it builds the project, and gives me a message: Package

Getting site under construction message after azure webapp deployment

假如想象 提交于 2019-12-21 06:55:24
问题 I had a network failure while publishing (using visual studio webdeploy ) my webapp to azure. Later i tried again, Then i got the below error message. Error 5 Web deployment task failed. (Web Deploy cannot modify the file 'NewRelic.Agent.Core.dll' on the destination because it is locked by an external process. In order to allow the publish operation to succeed, you may need to either restart your application to release the lock, or use the AppOffline rule handler for .Net applications on your

Can some code run when we first deploy a WAR file?

一笑奈何 提交于 2019-12-21 04:31:23
问题 Is there any method or API that I can use so that whenever I deploy a new WAR file, a part of code should execute or perhaps when Tomcat starts, the respective servlet should start or run some code continuously. 回答1: Reviving an old question since the only answer doesn't show any example. In order to run a custom piece of code whenever a web application WAR is deployed/undeployed or Tomcat is started/stopped, you need to: Implement the ServletContextListener listener and its methods

The username you provided is not allowed to use the text-based Tomcat Manager (error 403) when deploying on remote Tomcat8 using Jenkins

。_饼干妹妹 提交于 2019-12-21 03:29:32
问题 I am trying to deploy a WAR on the remote Tomcat (Remote Machine) using Jenkins deploy to container Plugin. I have done the following configuration in tomcat-users.xml <user username="deployer" password="deployer" roles="manager-gui,manager-script,admin" /> I have setup the proper username password and port in Jenkins deployer container plugin. The setup is working fine for the local Tomcat. But for remote Tomcat I keep getting the following error: Caused by: org.codehaus.cargo.container

PHP Site Deployment Suggestion [closed]

纵饮孤独 提交于 2019-12-20 15:35:13
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I'm currently quite troubled by the way of deployment my team is adopting... It's very old-fashioned and I know it doesn't work very

Assets pipeline when updating to Rails 3.1 on Heroku

独自空忆成欢 提交于 2019-12-20 14:38:54
问题 I've just upgraded my app on Heroku from Rails 3.0 to 3.1, and I'm trying to make the assets pipeline work. The main issue is that I can read from the heroku log the following kind of lines, for every asset: 2011-09-03T16:35:28+00:00 app[web.1]: cache: [GET /assets/border-a3c571a354b9381740db48aeebfaa63a.jpg] miss If I understand the pipeline correctly, this should not be "miss" for every request I make from a browser, but it should be found in the cache. Reading the Heroku docs you can find