System Information
Field | Value |
---|---|
Operating System | Windows - Windows 11 Pro on x86_64 |
Product | AMP ‘Callisto’ v2.5.1.0 (Mainline) |
Virtualization | None |
Application | Minecraft Bedrock |
Module | GenericModule |
Running in Container | No |
Current State | Failed |
Problem Description
Issue
Error:
This task could not be completed: Running Update Tasks - - State: 3.
powershell.exe failed with exit code -1
Log Shows:
[02:18:48] [Core Activity/17] : Authentication attempt for user admin from 127.0.0.1
[02:18:52] [Core Activity/19] : Authentication success
[02:18:52] [Core Warning/19] : Slow method invocation: Login took 4346ms to complete.
[02:18:52] [Core Warning/19] : Slow response: Core.Login took 4350ms to complete.
[02:18:55] [API:admin Activity/26] : Updating the application.
[02:18:55] [Core:admin Error/30] : Unable to run “powershell.exe -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Command “$ProgressPreference=‘SilentlyContinue’; $DOWNLOAD_URL=((Invoke-WebRequest -UseBasicParsing -Uri ‘https://www.minecraft.net/en-us/download/server/bedrock’ -TimeoutSec 15).Links | ? class -match ‘btn’ | ? href -match ‘bin-win/bedrock’ | select -ExpandProperty href); if (-not $DOWNLOAD_URL -or $DOWNLOAD_URL -eq ‘’) { $DOWNLOAD_URL=((Invoke-WebRequest -UseBasicParsing -Uri ‘https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/minecraft-bedrockdownloadurl.json’).Content | ConvertFrom-Json).Release.Windows } else { }; Invoke-WebRequest -UseBasicParsing -Uri $DOWNLOAD_URL -OutFile ‘bedrock_server.zip’”” - Access is denied
[02:18:55] [Core:admin Error/30] : PlatformException
[02:18:55] [Core:admin Error/30] : [0] (PlatformException) : Access is denied
[02:18:55] [Core:admin Error/30] : at Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at Diagnostics.Process.Start(ProcessStartInfo startInfo)
at ModuleShared.Utilities.RunUtility(String ExecutableFile, String Arguments, String WorkingDirectory, RunningTask MonitorTask, Boolean Hidden, Action1 OutputLine) [02:19:07] [API:admin Activity/35] : Updating the application. [02:19:07] [Core:admin Error/7] : Unable to run "powershell.exe -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Command "$ProgressPreference='SilentlyContinue'; $DOWNLOAD_URL=((Invoke-WebRequest -UseBasicParsing -Uri 'https://www.minecraft.net/en-us/download/server/bedrock' -TimeoutSec 15).Links | ? class -match 'btn' | ? href -match 'bin-win/bedrock' | select -ExpandProperty href); if (-not $DOWNLOAD_URL -or $DOWNLOAD_URL -eq '') { $DOWNLOAD_URL=((Invoke-WebRequest -UseBasicParsing -Uri 'https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/minecraft-bedrockdownloadurl.json').Content | ConvertFrom-Json).Release.Windows } else { }; Invoke-WebRequest -UseBasicParsing -Uri $DOWNLOAD_URL -OutFile 'bedrock_server.zip'"" - Access is denied [02:19:07] [Core:admin Error/7] : PlatformException [02:19:07] [Core:admin Error/7] : [0] (PlatformException) : Access is denied [02:19:07] [Core:admin Error/7] : at Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at Diagnostics.Process.Start(ProcessStartInfo startInfo) at ModuleShared.Utilities.RunUtility(String ExecutableFile, String Arguments, String WorkingDirectory, RunningTask MonitorTask, Boolean Hidden, Action
1 OutputLine)
Reproduction Steps
- Start Instance
- Update Instance
- Create New Instance