Hi all!
I already got a 1.19.8 server running on an Ubuntu 22.04 and it works fine. Now I decided to use one of my older boxes that still runs a centos 7.9 (yes, I know..). Just for shits and giggles. So I thought I put a plain vanilla VS server on 1.20.4.
First run should of course generate the world..but it does no such thing.
Game Version: v1.20.4 (Stable)
17/03/2025 18:47:00: Critical error occurred
Loaded Mods:
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.API.Common.SQLiteDBConnection.DoIntegrityCheck(SqliteConnection sqliteConn, Boolean logResults) in VintagestoryApi\Common\IO\SQLiteDBConnection.cs:line 137
at Vintagestory.Common.Database.SQLiteDbConnectionv2.IntegrityCheck() in VintagestoryLib\Common\FileIO\Database\SQLiteDbConnectionv2.cs:line 47
at Vintagestory.Common.GameDatabase.IntegrityCheck() in VintagestoryLib\Common\FileIO\Database\GameDatabase.cs:line 99
at Vintagestory.Server.ServerSystemLoadAndSaveGame.OnBeginConfiguration() in VintagestoryLib\Server\Systems\World\LoadThread\LoadSaveGame.cs:line 110
at Vintagestory.Server.ServerMain.EnterRunPhase(EnumServerRunPhase runPhase) in VintagestoryLib\Server\ServerMain.cs:line 612
at Vintagestory.Server.ServerMain.Launch() in VintagestoryLib\Server\ServerMain.cs:line 505
at Vintagestory.Server.ServerProgram.Main() in VintagestoryLib\Server\ServerProgram.cs:line 130
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
And
17.3.2025 18:47:00 [Notification] Server logger started.
17.3.2025 18:47:00 [Notification] Game Version: v1.20.4 (Stable)
17.3.2025 18:47:00 [Notification] C# Framework: .net 7.0.20
17.3.2025 18:47:00 [Notification] Zstd Version: 1.5.5
17.3.2025 18:47:00 [Notification] Operating System: Linux (CentOS Linux 7 (Core)) [Kernel 3.10.0.1160]
17.3.2025 18:47:00 [Event] It begins...
17.3.2025 18:47:00 [Event] Launching server...
17.3.2025 18:47:00 [Event] It senses...
17.3.2025 18:47:00 [Event] Server v1.20.4, network v1.20.6, api v1.20.0
17.3.2025 18:47:00 [Notification] Entering runphase Initialization
17.3.2025 18:47:00 [Event] Loading configuration...
17.3.2025 18:47:00 [Notification] Entering runphase Configuration
17.3.2025 18:47:00 [Notification] Using world seed: 206646476
17.3.2025 18:47:00 [Error] Failed opening savegame.
17.3.2025 18:47:00 [Error] Exception: The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception.
at Microsoft.Data.Sqlite.SqliteConnection..ctor(String connectionString)
at Vintagestory.API.Common.SQLiteDBConnection.OpenOrCreate(String filename, String& errorMessage, Boolean requireWriteAccess, Boolean corruptionProtection, Boolean doIntegrityCheck) in VintagestoryApi\Common\IO\SQLiteDBConnection.cs:line 61
Is that a version problem with sqlite? I was under the impression that the dotnet framework had that bundled...or did I err?
Not a big deal, I can reinstall the box with a different OS to let it run but since I don't have much experience debugging dotnet stuff, I would be curious what could be the problem.
Forgot to add: of course, write permissions and stuff is all granted.