Azure Static WebApps Deployment Failure Reason: Failure during content distribution - azure

I have setup a new Static WebApps on Azure and connect it to my github repo. The project is in Next.js. When I am checking the Actions tab, I can see that the build succeeds but the deployment fails with the error:
Uploading build artifacts.
Finished Upload. Polling on deployment.
Status: InProgress. Time: 2.1680286(s)
Status: InProgress. Time: 17.5285027(s)
Status: Failed. Time: 32.7463924(s)
Deployment Failed :(
Deployment Failure Reason: Failure during content distribution
Exiting
Any ideas on what I might be going on and how to fix it?

Related

Failed to deploy web package to App Service. Code 401

I've deployed my little django app, but can't deploy it continously. Every time I see this error message, while deploying from GitHub. I am using student account, so mb that could be a reason?😣
Run azure/webapps-deploy#v2
Package deployment using ZIP Deploy initiated.
Error: Failed to deploy web package to App Service.
Error: Deployment Failed with Error: Error: Failed to deploy web package to App Service.
Unauthorized (CODE: 401)

Gitlab pipeline has no deployed releases

I'm running a deployment using Gitlab CI
I keep getting this error.
secret/review-swagger-rn2vs9-secret replaced
No helm values file found at '.gitlab/auto-deploy-values.yaml'
Deploying new stable release...
UPGRADE FAILED
Error: "review-swagger-rn2vs9" has no deployed releases
ROLLING BACKError: timed out waiting for the condition
Uploading artifacts...
00:01
WARNING: environment_url.txt: no matching files
WARNING: tiller.log: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1
any idea why?
Review your Cluster credentials.
delete the token
recreate a token or more likly try to use the "default" token.
recreate the whole Gitlab <-> Kubernetes connection
try the connection not at project level, try it on group or root level (this was my issue) on Gitlab

Build failed: No module named virtualenv

I have a Python 3.7 GCP App Engine project. Everything works well normally. For the past hour, however, I have not been able to deploy a new version of my app. I keep the same kind of Internal error. What can I do to resolve this? According to the VCS used, I have not changed anything since the last commit.
The command I run is the same as always: gcloud app deploy app.yaml --project=my-project-name
Here is the output:
Beginning deployment of service [default]...
#============================================================#
#= Uploading 1 file to Google Cloud Storage =#
#============================================================#
File upload done.
Updating service [default]
...
............................failed. ERROR: (gcloud.app.deploy) Error
Response: [9] Cloud build 111fffff-1111-2222-cbaf-edcba154321f status:
FAILURE. Error ID: 6C9DE5CE. Error type: InternalError. Error message:
create_virtualenv had stderr output: /opt/python3.7/bin/python3.7:
No module named virtualenv
error: create_virtualenv returned code: 1.

cloudfoundry/staticfile-buildpack static web page failing to deploy on BlueMix Devops

I have a simple static web site project on GitHub. I've created a pipeline that does a "Simple" build and deploy. The deploy log file shows the following "less than informative" error:
Preparing to start the job...
Cloning the 'master' branch from repo 'https://github.com/FlatBallFlyer/ssgpp.git'
Repository successfully cloned
Target: https://api.ng.bluemix.net
Using manifest file /home/pipeline/424009fc-100d-4068-9a23-3dde2271cba4/manifest.yml
Using stack cflinuxfs2...
OK
Creating app ssgpp in org Mike.Storey#us.ibm.com / space ssgpp as Mike.Storey#us.ibm.com...
OK
Using route ssgpp.mybluemix.net
Binding ssgpp.mybluemix.net to ssgpp...
OK
Uploading ssgpp...
FAILED
Error processing app files: Error uploading application.
Server error, status code: 500, error code: 0, message:
Finished: FAILED
The manifest.yml from the git project is simply:
applications:
- name: ssgpp
memory: 64M
buildpack: https://github.com/cloudfoundry/staticfile-buildpack.git
host: ssgpp
stack: cflinuxfs2
This is a giga-pixel panoramic photo web app that contains A LOT of files - about 1.5gb of images. I'm not sure if I'm blowing the top off of a BlueMix limit or not.
I guess you reached the limit of your plan in BlueMix.
BTW, 1.5GB isn't a reasonable size - for me - to deploy an app. You'll always send the files when doing a simple bugfix? I'd suggest you to move your images to another service, dedicated to store files, such Cloudinary.

Web Deploy Error with Azure

I'm trying to deploy my web app to Azure using this method, but periodically, i get this error. Any ideas? I rebooted the instance, still happens.
Start Web Deploy Publish the Application/package to https://xxx.cloudapp.net:8172/MsDeploy.axd?site=myapp.Web_IN_0_myapp.Web ...
Updating setAcl (myapp.Web_IN_0_myapp.Web).
Updating setAcl (myapp.Web_IN_0_myapp.Web).
Updating filePath (myapp.Web_IN_0_myapp.Web\bin\myapp.Web.dll).
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : An error was encountered when processing operation 'Create File' on 'myapp.Web.dll'.
Retrying operation 'Update' on object filePath (myapp.Web_IN_0_myapp.Web\bin\myapp.Web.dll). Attempt 1 of 2.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : An error was encountered when processing operation 'Create File' on 'myapp.Web.dll'.
Retrying operation 'Update' on object filePath (myapp.Web_IN_0_myapp.Web\bin\myapp.Web.dll). Attempt 2 of 2.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Error : Web deployment task failed.((9/28/2011 8:00:56 PM) An error occurred when the request was processed on the remote computer.)
(9/28/2011 8:00:56 PM) An error occurred when the request was processed on the remote computer.
An error was encountered when processing operation 'Create File' on 'myapp.Web.dll'.
The error code was 0x80070020.
The process cannot access 'E:\approot\bin\myapp.Web.dll' because it is being used by another process.
Publish failed to deploy.
========== Build: 3 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
The answer is to create a bootstrap csproj for your web role, that does nothing. This will be the DLL that gets locked by WaIISHost.
Then create the real web projects as separate sites using the option in the csdef file. Once you've done this, you can deploy any of your sites using web deploy and they will work, as long as they have no reference to your bootstrap dll (since they won't copy that file)

Resources