Struggling to upgrade my instances (ads and game)

OS Name/Version: windows 11 pro

Product Name/Version: Currently running version 2.6.0.4 - 20241106.1

Problem Description:

tried everything i can think of to get amp to update but it keeps getting stuck
i have tried running “ampinstmgr upgrade ads”
but if i go into the web app it still shows the old version, when i go to factorio it also shows the old version, i have tried upgrading that instance as well.

C:\Users\martin>ampinstmgr --nocache upgradeall
[Info/1] AMP Instance Manager v2.6.0.4 built 06/11/2024 22:34
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Info/1] Stopping instance ADS01...
[Info/1] Waiting for instance to stop...
[Info/6] Instance ADS01 has stopped.
[Info/6] Upgrading instance ADS01
[Info/9] Downloading AMP from https://downloads.cubecoders.com/AMP/Development/20241120.5/AMP_x86_64.zip...
[##################################################] ETA 00:00:00 @15.34 MiB/sec
[Info/16] Complete
[Info/19] Upgrade successful
[Info/19] Upgrading instance Factorio01
[Warning/18] Failed to extract archive entry: AMP.exe - Access to the path 'D:\AMPDatastore\Instances\Factorio01\AMP.exe' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\AMP.exe' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/FileManagerPlugin/Rebex.Networking.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.Networking.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.Networking.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/FileManagerPlugin/Rebex.Castle.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.Castle.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.Castle.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/FileManagerPlugin/Rebex.Common.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.Common.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.Common.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/19] Failed to extract archive entry: Plugins/FileManagerPlugin/Rebex.FileServer.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.FileServer.dll' is denied.
[Error/19] UnauthorizedAccessException
[Error/19] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.FileServer.dll' is denied.
[Error/19]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/19] Failed to extract archive entry: Plugins/FileManagerPlugin/Rebex.FileSystem.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.FileSystem.dll' is denied.
[Error/19] UnauthorizedAccessException
[Error/19] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.FileSystem.dll' is denied.
[Error/19]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/FileManagerPlugin/Rebex.Curve25519.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.Curve25519.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\Rebex.Curve25519.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/FileManagerPlugin/FileManagerPlugin.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\FileManagerPlugin.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\FileManagerPlugin\FileManagerPlugin.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/EmailSenderPlugin/EmailSenderPlugin.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\EmailSenderPlugin\EmailSenderPlugin.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\EmailSenderPlugin\EmailSenderPlugin.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/LocalFileBackupPlugin/AWSSDK.Core.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\LocalFileBackupPlugin\AWSSDK.Core.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\LocalFileBackupPlugin\AWSSDK.Core.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/LocalFileBackupPlugin/LocalFileBackupPlugin.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\LocalFileBackupPlugin\LocalFileBackupPlugin.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\LocalFileBackupPlugin\LocalFileBackupPlugin.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/LocalFileBackupPlugin/AWSSDK.S3.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\LocalFileBackupPlugin\AWSSDK.S3.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\LocalFileBackupPlugin\AWSSDK.S3.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/RCONPlugin/RCONPlugin.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\RCONPlugin\RCONPlugin.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\RCONPlugin\RCONPlugin.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/18] Failed to extract archive entry: Plugins/steamcmdplugin/steamcmdplugin.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\steamcmdplugin\steamcmdplugin.dll' is denied.
[Error/18] UnauthorizedAccessException
[Error/18] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\steamcmdplugin\steamcmdplugin.dll' is denied.
[Error/18]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/6] Failed to extract archive entry: Plugins/AnalyticsPlugin/AnalyticsPlugin.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\AnalyticsPlugin\AnalyticsPlugin.dll' is denied.
[Error/6] UnauthorizedAccessException
[Error/6] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\AnalyticsPlugin\AnalyticsPlugin.dll' is denied.
[Error/6]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/6] Failed to extract archive entry: Plugins/AnalyticsPlugin/MaxMind.Db.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\AnalyticsPlugin\MaxMind.Db.dll' is denied.
[Error/6] UnauthorizedAccessException
[Error/6] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\AnalyticsPlugin\MaxMind.Db.dll' is denied.
[Error/6]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/6] Failed to extract archive entry: Plugins/CommonCorePlugin/CommonCorePlugin.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\CommonCorePlugin\CommonCorePlugin.dll' is denied.
[Error/6] UnauthorizedAccessException
[Error/6] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\CommonCorePlugin\CommonCorePlugin.dll' is denied.
[Error/6]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/19] Failed to extract archive entry: Plugins/GenericModule/GenericModule.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\GenericModule\GenericModule.dll' is denied.
[Error/19] UnauthorizedAccessException
[Error/19] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\GenericModule\GenericModule.dll' is denied.
[Error/19]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Warning/8] Failed to extract archive entry: Plugins/WebRequestPlugin/WebRequestPlugin.dll - Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\WebRequestPlugin\WebRequestPlugin.dll' is denied.
[Error/8] UnauthorizedAccessException
[Error/8] [0] (UnauthorizedAccessException) : Access to the path 'D:\AMPDatastore\Instances\Factorio01\Plugins\WebRequestPlugin\WebRequestPlugin.dll' is denied.
[Error/8]    at IO.FileDeleteFile(String fullPath)
   at ModuleShared.Utilities.ExtractZipArchiveAsync(String archivePath, String destinationPath, String currentEntryPath, String newEntryPath, String[] skipFiles, Boolean overwriteExisting, Boolean deleteArchive, RunningTask extractTask)
[Info/6] Upgrade successful
[Warning/6] Failed to register job process

Steps to reproduce:

right now the only step to reproduce is to try and update the factorio instance to get this error, the ADS instance does not have any obvious logs.

Actions taken to resolve so far:

i tried updating the files permissions as they are set to read only when i check properties in windows.
tried for days to actually update the instances and not got anywhere.

ive tried running “ampinstmgr stopall” which worked, then installed from the msi file to try and get it updated to the latest version, its still stuck though.

image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.