System Information
Field | Value |
---|---|
Operating System | Linux - Debian GNU/Linux 12 on x86_64 |
Product | AMP ‘Decadeus’ v2.4.8.0 (Mainline) |
Virtualization | Docker |
Application | Enshrouded |
Module | GenericModule |
Running in Container | Yes |
Current State | Ready |
Problem Description
Issue
A couple of the backups have been stored as empty in the UI, but no files on the mount. I can confirm that the the network drive is mounted, since all actions in /mnt/game_backups are to the mount point.
I am not sure it is relevant to this specific issue, but I always need to start the instance twice. The first the instance will turn green, and change status to running, but still be offline when entering the management gui.
Notifications for the backup is stuck at 0%
Notifications (1)
Creating Backup
testbackup (12356 MB)
Amp logs
[19:45:52] [FileBackup:turbogreger Activity] : Creating Backup: testbackup
[19:45:52] [FileBackup:turbogreger Debug] : Building file list…
[19:45:52] [FileBackup:turbogreger Debug] : File list built: 56 files totaling 12356MB
[19:45:52] [FileBackup:turbogreger Debug] : Checking cycling requirements…
[19:45:52] [FileBackup:turbogreger Debug] : Backup store directory doesn’t exist, creating…
[19:46:19] [API Debug] : 127.0.0.1/AMP_ADS_REDIR/10 tried to use session ID 32036499-ec1d-4be6-82e4-1bcb9cd9eb3a - but no such ID exists while attempting to call GetUpdates
[ecss] Stats: Upd:3,598 (16.7ms) Time:60,000ms Total:14,955ms Max:35ms Avg:4.2ms +:0 -:0 Ent:8,771 Pred:0
[19:47:19] [API Debug] : 127.0.0.1/AMP_ADS_REDIR/10 tried to use session ID 32036499-ec1d-4be6-82e4-1bcb9cd9eb3a - but no such ID exists while attempting to call GetUpdates
[19:47:19] [Core:turbogreger Warning] : Returned exception from API call FileManagerPlugin/GetDirectoryListing
[19:47:19] [Core:turbogreger Error] : NullReferenceException
[19:47:19] [Core:turbogreger Error] : [0] (NullReferenceException) : Object reference not set to an instance of an object
[19:47:19] [Core:turbogreger Error] : at FileManagerPlugin.WebMethods.GetDirectoryListing (String Dir)
at GSMyAdmin.WebServer.WebAttributes.InvokeMethod (String MethodName, Newtonsoft.Json.Linq.JObject Data, m.Http.IHttpRequest request, ModuleShared.IWebSession Session, ModuleShared.WebMethodsBase MethodsClass, String RawRequest)
at GSMyAdmin.WebServer.APIService.InvokeAPI (m.Http.IHttpRequest request, ModuleShared.IWebSession Session, Newtonsoft.Json.Linq.JObject Data, String RequestModule, String RequestMethod, String RawRequest)
LocalFileBackupPlugin.kvp
Storage.StorePath=/mnt/game_backups/{InstanceName}/
FileManagerPlugin.kvp
FileManager.AdditionalVirtualDirectories={“/mnt/game_backups”:“/mnt/game_backups”}
amp@lnxamp:/mnt$ ls -la
drwxrwxrwx 1 99 users 0 Jan 31 21:05 game_backups
amp@lnxamp:/mnt/game_backups$ touch test
amp@lnxamp:/mnt/game_backups$ ls -la test
-rw-r–r-- 1 amp amp 0 jan 31 21:08 test
Reproduction Steps
- Mounted /mnt/game_backups and set rw permissions for al users
- Added necessary variables to specify mount path and expose this to the containers
- Create a backup