Could not find file '/app/work/repository/.umbraco...
# help-with-umbraco
d
Hello there, I've been trying to set-up a CI/CD Azure devops pipeline to a Umbraco cloud project. I've been using the documentation (https://docs.umbraco.com/umbraco-cloud/set-up/project-settings/umbraco-cicd/samplecicdpipeline/azure-devops) for this however I'm getting an error that does not say much to me. The cloud project and the devops project have the same Umbraco version
13.0.4
. Anybody an idea how to fix this? Below a larger preview of the stacktrace
Copy code
info: Executing step: NuGet Restore
fail: Update failed with message: Could not find file '/app/work/repository/.umbraco'.
crit: Error executing step: Umbraco.Cloud.Deployment.UpdateExecutor.Umbraco.Steps.NugetRestore Could not find file '/app/work/repository/.umbraco'.
info: Publishing update failed event
fail: Error executing ExceptionHandler: Umbraco.Cloud.Deployment.UpdateExecutor.Foundation.ExceptionHandlers.PublishUpdateFailedEventExceptionHandler Value cannot be null. (Parameter 'Exception')
info: Executing step: Delete updating marker
info: Start processing HTTP request DELETE https://smartconsultant.scm.euwest01.umbraco.io/api/vfs/site/locks/updating
info: Sending HTTP request DELETE https://smartconsultant.scm.euwest01.umbraco.io/api/vfs/site/locks/updating
info: Received HTTP response headers after 118.8687ms - 200
info: End processing HTTP request after 123.0635ms - 200
info: Executed step: Delete updating marker

Deployment 72c80504-1990-47d0-b9ea-44d171a308fb failed
Deployment Failed

##[error]PowerShell exited with code '1'.
j
In the root of all cloud projects there is a
.umbraco
file that basically points to the correct csproj for the website. The error message is saying it can't find that file, so you are probably missing some files in the zip your pipeline is sending to Cloud
d
Thanks, yes is was missing the file. I'm trying to upload an existing code base to cloud so was missing the default cloud files.
3 Views