OS Name/Version: Ubuntu Server 24.04.2
Product Name/Version: AMP Phobos 2.6.1.2
Application: Vintage Story 1.20.7
Docker: Yes
Problem Description:
Can not start the application after transferring save data. Previously hosted by a provider. Transferred the save file from personal win machine via winscp (launched through amp file manager) to the ubuntu server running amp. Application runs fine before transferring the save. Save is runnable in Singleplayer. New to self hosting and linux.
6.4.2025 17:22:01 [Server Fatal] Unable to open or create savegame.
6.4.2025 17:22:01 [Server Error] Exception: ./data/Saves
at Vintagestory.API.Common.SQLiteDBConnection.HaveWriteAccessFolder(String folderPath) in VintagestoryApi\Common\IO\SQLiteDBConnection.cs:line 167
at Vintagestory.API.Common.SQLiteDBConnection.OpenOrCreate(String filename, String& errorMessage, Boolean requireWriteAccess, Boolean corruptionProtection, Boolean doIntegrityCheck) in VintagestoryApi\Common\IO\SQLiteDBConnection.cs:line 30
at Vintagestory.Common.Database.SQLiteDbConnectionv2.Vintagestory.Common.Database.IGameDbConnection.OpenOrCreate(String filename, String& errorMessage, Boolean requireWriteAccess, Boolean corruptionProtection, Boolean doIntegrityCheck)
at Vintagestory.Common.GameDatabase.OpenConnection(String databaseFilename, Int32 databaseVersion, String& errorMessage, Boolean requireWriteAccess, Boolean corruptionProtection, Boolean doIntegrityCheck) in VintagestoryLib\Common\FileIO\Database\GameDatabase.cs:line 89
at Vintagestory.Common.GameDatabase.ProbeOpenConnection(String databaseFilename, Boolean corruptionProtection, Int32& foundVersion, String& errorMessage, Boolean& isReadonly, Boolean requireWrite) in VintagestoryLib\Common\FileIO\Database\GameDatabase.cs:line 127
at Vintagestory.Server.ServerSystemLoadAndSaveGame.OnBeginConfiguration() in VintagestoryLib\Server\Systems\World\LoadThread\LoadSaveGame.cs:line 85
6.4.2025 17:22:01 [Server Notification] Server stop requested, begin shutdown sequence. Stop reason: Failed opening savegame
Steps to reproduce:
- create new Instance
- start the application
- stop the application
- connect SFTP via File Manager
- transfer save file
- start the application
Actions taken to resolve so far:
- restart amp
ampinstmgr fixperms
sudo sysctl -w vm.max_map_count=262144
- repair Datastore
- transferred Files while stopped / started