Hi,
We have a project with 7 packages.
The standard online deployment works as expected.
The offline deployment fails with Access Denied error (see Error 01 screenshot)
The actual files which are shown as failed (e.g. Brady.CMS.Sloe.Agent.16.0.0.67.nupkg) have been correctly created in the target folder.
When I logon to VM running Octopus server using the account that Octopus service is logged on - I can add/edit/delete files in the destination folder.
Could you please advise how we can diagnose and resolve this issue?
Log file at RAW level
Task ID: ServerTasks-13404
Task status: Failed
Task queued: 12 September 2016 11:41
Task started: 12 September 2016 11:41
Task duration: 4 seconds
Server version: 3.4.7+Branch.master.Sha.1002077a173dbe670c20e6543ddfc7b185ec29ba
| == Failed: Deploy CMS Sloe release 16.0.0.67-v7 to Sloe Offline ==
11:41:53 Verbose | Step 13: Deploy Brady SSL Test Certificates does not apply to the current environment, and will not be executed
11:41:53 Verbose | Step 14: Install Web Portal Certificates does not apply to the current environment, and will not be executed
11:41:53 Info | Step 23: Send email summary was manually skipped, and will not be executed
11:41:53 Verbose | Guided failure is not enabled for this task
11:41:57 Fatal | The deployment failed because one or more steps failed. Please see the deployment log for details.
|
| == Success: Step 1: Verify Prerequisites ==
11:41:55 Verbose | Verify Prerequisites completed
|
| Success: Sloe Offline Deployment
11:41:53 Verbose | Octopus Server version: 3.4.7+Branch.master.Sha.1002077a173dbe670c20e6543ddfc7b185ec29ba
11:41:53 Info | Executing script on 'Sloe Offline Deployment'
11:41:53 Info | Appending run-script step to batch file
11:41:54 Verbose | Creating script file '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Scripts\Verify Prerequisites.ps1'
11:41:54 Verbose | Appending run-script command to offline deploy script
11:41:54 Verbose | Creating variables file '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Variables\Sloe Offline Deployment.CMS Sloe.Verify Prerequisites.variables.json'
11:41:54 Verbose | Creating encrypted sensitive variables file '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Variables\Sloe Offline Deployment.CMS Sloe.Verify Prerequisites.variables.secret',
|
| == Success: Step 2: Preparation ==
11:41:55 Verbose | Preparation completed
|
| Success: Sloe Offline Deployment
11:41:55 Verbose | Octopus Server version: 3.4.7+Branch.master.Sha.1002077a173dbe670c20e6543ddfc7b185ec29ba
11:41:55 Info | Executing script on 'Sloe Offline Deployment'
11:41:55 Info | Appending run-script step to batch file
11:41:55 Verbose | Creating script file '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Scripts\Preparation.ps1'
11:41:55 Verbose | Appending run-script command to offline deploy script
11:41:55 Verbose | Creating variables file '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Variables\Sloe Offline Deployment.CMS Sloe.Preparation.variables.json'
11:41:55 Verbose | Creating encrypted sensitive variables file '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Variables\Sloe Offline Deployment.CMS Sloe.Preparation.variables.secret',
|
| == Failed: Acquire packages ==
11:41:56 Info | Acquiring packages
11:41:56 Info | Making a list of packages to download
11:41:56 Info | Looking up the package location from the built-in package repository...
11:41:56 Verbose | SHA1 hash of package Brady.CMS.Sloe.Agent is: 25f3e1650dd6523857d1d844ab4c0190be9b1a3b
11:41:56 Info | Looking up the package location from the built-in package repository...
11:41:56 Verbose | SHA1 hash of package Brady.CMS.Sloe.DBScripts is: bb100f6bc131329b84e2cb1ece78ab9da61ff712
11:41:56 Info | Looking up the package location from the built-in package repository...
11:41:56 Verbose | SHA1 hash of package Brady.CMS.Sloe.Web.Host is: 779097299024b2626f76f15c40252aac0a9ff449
11:41:56 Info | Looking up the package location from the built-in package repository...
11:41:56 Verbose | SHA1 hash of package Brady.CMS.Sloe.TAMS.External.Bin.nuspec is: 359514b3ccfa16ca4be1ad1cca98570925e8d6b9
11:41:56 Info | Looking up the package location from the built-in package repository...
11:41:56 Verbose | SHA1 hash of package Brady.CMS.Sloe.Templates is: f697bba5029e69be9a4f779536a47360a1f51181
11:41:56 Info | Looking up the package location from the built-in package repository...
11:41:56 Verbose | SHA1 hash of package Brady.CMS.Sloe.TSAMS.External.Bin.nuspec is: d516a0fc2bc3ec8699224647f0df3d666fc85e1b
11:41:56 Info | Looking up the package location from the built-in package repository...
11:41:56 Verbose | SHA1 hash of package Brady.CMS.Sloe.XSD is: 443e695ea05a328eaaa9b16347aff63cff640892
11:41:56 Fatal | The step failed: Activities failed with errors 'Access to the path is denied.', 'Access to the path is denied.'
11:41:56 Verbose | Acquire Packages completed
|
| Success: Sloe Offline Deployment
|
| Success: Upload package Brady.CMS.Sloe.DBScripts 16.0.0.67
11:41:56 Info | Uploading package to '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Packages'
11:41:56 Verbose | SHA1 hash of package is bb100f6bc131329b84e2cb1ece78ab9da61ff712
11:41:56 Verbose | Adding journal entry:
| <Deployment Id="65d1ba05-9f85-438b-8344-e099cc8e7276" EnvironmentId="Environments-261" ProjectId="Projects-162" PackageId="Brady.CMS.Sloe.DBScripts" PackageVersion="16.0.0.67" InstalledOn="2016-09-12 10:41:56" RetentionPolicySet="Environments-261/Projects-162/Step-Deploy DB Scripts/Machines-281/<default>" DroppedTo="\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7" />
|
| Failed: Sloe Offline Deployment
11:41:56 Fatal | Access to the path is denied.
|
| Running: Upload package Brady.CMS.Sloe.Agent 16.0.0.67
11:41:56 Info | Uploading package to '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Packages'
11:41:56 Verbose | SHA1 hash of package is 25f3e1650dd6523857d1d844ab4c0190be9b1a3b
11:41:56 Verbose | Adding journal entry:
| <Deployment Id="7ba6d56f-d308-42a6-b0cf-4a2265251f36" EnvironmentId="Environments-261" ProjectId="Projects-162" PackageId="Brady.CMS.Sloe.Agent" PackageVersion="16.0.0.67" InstalledOn="2016-09-12 10:41:56" RetentionPolicySet="Environments-261/Projects-162/Step-Deploy SLOE CMS Agent/Machines-281/<default>" DroppedTo="\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7" />
|
| Failed: Sloe Offline Deployment
11:41:57 Fatal | Access to the path is denied.
|
| Running: Upload package Brady.CMS.Sloe.Web.Host 16.0.0.67
11:41:56 Info | Uploading package to '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Packages'
11:41:56 Verbose | SHA1 hash of package is 779097299024b2626f76f15c40252aac0a9ff449
11:41:57 Verbose | Adding journal entry:
| <Deployment Id="412e4795-1698-46a3-83f9-479f91ecab8a" EnvironmentId="Environments-261" ProjectId="Projects-162" PackageId="Brady.CMS.Sloe.Web.Host" PackageVersion="16.0.0.67" InstalledOn="2016-09-12 10:41:57" RetentionPolicySet="Environments-261/Projects-162/Step-Deploy SLOE CMS Portal/Machines-281/<default>" DroppedTo="\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7" />
|
| Failed: Sloe Offline Deployment
11:41:56 Fatal | Access to the path is denied.
|
| Running: Upload package Brady.CMS.Sloe.TAMS.External.Bin.nuspec 16.0.0.67
11:41:56 Info | Uploading package to '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Packages'
11:41:56 Verbose | SHA1 hash of package is 359514b3ccfa16ca4be1ad1cca98570925e8d6b9
11:41:56 Verbose | Adding journal entry:
| <Deployment Id="7f22e9f0-27c0-4c3f-8ab9-517e2aed6b13" EnvironmentId="Environments-261" ProjectId="Projects-162" PackageId="Brady.CMS.Sloe.TAMS.External.Bin.nuspec" PackageVersion="16.0.0.67" InstalledOn="2016-09-12 10:41:56" RetentionPolicySet="Environments-261/Projects-162/Step-Deploy TAMS Apps/Machines-281/<default>" DroppedTo="\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7" />
|
| Failed: Sloe Offline Deployment
11:41:57 Fatal | Access to the path is denied.
|
| Running: Upload package Brady.CMS.Sloe.TSAMS.External.Bin.nuspec 16.0.0.67
11:41:56 Info | Uploading package to '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Packages'
11:41:56 Verbose | SHA1 hash of package is d516a0fc2bc3ec8699224647f0df3d666fc85e1b
11:41:57 Verbose | Adding journal entry:
| <Deployment Id="ec32a58a-29d2-4db1-bbf1-83bb889a995b" EnvironmentId="Environments-261" ProjectId="Projects-162" PackageId="Brady.CMS.Sloe.TSAMS.External.Bin.nuspec" PackageVersion="16.0.0.67" InstalledOn="2016-09-12 10:41:57" RetentionPolicySet="Environments-261/Projects-162/Step-Deploy TSAMS apps/Machines-281/<default>" DroppedTo="\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7" />
|
| Failed: Sloe Offline Deployment
11:41:57 Fatal | Access to the path is denied.
|
| Running: Upload package Brady.CMS.Sloe.Templates 16.0.0.67
11:41:56 Info | Uploading package to '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Packages'
11:41:56 Verbose | SHA1 hash of package is f697bba5029e69be9a4f779536a47360a1f51181
11:41:57 Verbose | Adding journal entry:
| <Deployment Id="76ec6858-fa7c-4c44-8955-a1549c0b52a9" EnvironmentId="Environments-261" ProjectId="Projects-162" PackageId="Brady.CMS.Sloe.Templates" PackageVersion="16.0.0.67" InstalledOn="2016-09-12 10:41:57" RetentionPolicySet="Environments-261/Projects-162/Step-Deploy Excel Templates/Machines-281/<default>" DroppedTo="\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7" />
|
| Failed: Sloe Offline Deployment
11:41:56 Fatal | Access to the path is denied.
|
| Running: Upload package Brady.CMS.Sloe.XSD 16.0.0.67
11:41:56 Info | Uploading package to '\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7\Packages'
11:41:56 Verbose | SHA1 hash of package is 443e695ea05a328eaaa9b16347aff63cff640892
11:41:56 Verbose | Adding journal entry:
| <Deployment Id="2cf8281b-682f-4527-b359-faba997a5997" EnvironmentId="Environments-261" ProjectId="Projects-162" PackageId="Brady.CMS.Sloe.XSD" PackageVersion="16.0.0.67" InstalledOn="2016-09-12 10:41:56" RetentionPolicySet="Environments-261/Projects-162/Step-Deploy XSDs/Machines-281/<default>" DroppedTo="\\edivs-sto1\services\Releases\Sloe-OctopusDrop\Sloe Offline\CMS Sloe\16.0.0.67-v7" />
Thanks,
Mau.