Jump to content

SqliteException after update?

Pending 1.1.9

0g.Ghost.7373
0g.Ghost.7373

Posted

Error loading save (server/rust/BuildersRealmV6.290.sav)
SqliteException: Could not open database file: server/my_server_identity/sv.files.290.db (error 14)
  at Facepunch.Sqlite.Database.Open (System.String path, System.Boolean fastMode) [0x0003b] in <fdc0a09dc98a4bbe8c594a9ec0efb107>:0 
  at FileStorage..ctor (System.String name, System.Boolean server) [0x00040] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at FileStorage..cctor () [0x00021] in <9ec513aa20324a6687c7663f2ad57713>:0 
Rethrow as TypeInitializationException: The type initializer for 'FileStorage' threw an exception.
  at HeldEntity.Load (BaseNetworkable+LoadInfo info) [0x00000] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SaveRestore.Load_Patch3(string,bool)
UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr)
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Oxide.Plugins.UnityLogInterceptor:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
MonoMod.Utils.DynamicMethodDefinition:SaveRestore.Load_Patch3(String, Boolean)
ServerMgr:Initialize(Boolean, String, Boolean, Boolean)
<StartServer>d__29:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
Spawning 75518 entities from map
	done.
Postprocessing 75518 entities from map
NullReferenceException: Object reference not set to an instance of an object.
  at ApartmentRoom.SetupFrontDoor (System.Boolean loadingSave) [0x00033] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at ApartmentRoom.OnLoaded (System.Boolean loadingSave) [0x00036] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at ApartmentRoom.PostMapEntitySpawn () [0x00006] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at SaveRestore.SpawnMapEntities (System.Collections.Generic.List`1[T] entities) [0x000a4] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at ServerMgr.Initialize (System.Boolean loadSave, System.String saveFile, System.Boolean allowOutOfDateSaves, System.Boolean skipInitialSpawn) [0x000a2] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at Bootstrap+<StartServer>d__29.MoveNext () [0x00360] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <a1a6f95a250948509a6205d3aa41a1e8>:0 
UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr)
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Oxide.Plugins.UnityLogInterceptor:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

I installed your new update today. All worked fine until I did a server reboot. The I got the error above.  Any help would be appreciated.

Razor

Posted (edited)

17 minutes ago, 0g.Ghost.7373 said:
Error loading save (server/rust/BuildersRealmV6.290.sav)
SqliteException: Could not open database file: server/my_server_identity/sv.files.290.db (error 14)
  at Facepunch.Sqlite.Database.Open (System.String path, System.Boolean fastMode) [0x0003b] in <fdc0a09dc98a4bbe8c594a9ec0efb107>:0 
  at FileStorage..ctor (System.String name, System.Boolean server) [0x00040] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at FileStorage..cctor () [0x00021] in <9ec513aa20324a6687c7663f2ad57713>:0 
Rethrow as TypeInitializationException: The type initializer for 'FileStorage' threw an exception.
  at HeldEntity.Load (BaseNetworkable+LoadInfo info) [0x00000] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SaveRestore.Load_Patch3(string,bool)
UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr)
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Oxide.Plugins.UnityLogInterceptor:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
MonoMod.Utils.DynamicMethodDefinition:SaveRestore.Load_Patch3(String, Boolean)
ServerMgr:Initialize(Boolean, String, Boolean, Boolean)
<StartServer>d__29:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
Spawning 75518 entities from map
	done.
Postprocessing 75518 entities from map
NullReferenceException: Object reference not set to an instance of an object.
  at ApartmentRoom.SetupFrontDoor (System.Boolean loadingSave) [0x00033] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at ApartmentRoom.OnLoaded (System.Boolean loadingSave) [0x00036] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at ApartmentRoom.PostMapEntitySpawn () [0x00006] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at SaveRestore.SpawnMapEntities (System.Collections.Generic.List`1[T] entities) [0x000a4] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at ServerMgr.Initialize (System.Boolean loadSave, System.String saveFile, System.Boolean allowOutOfDateSaves, System.Boolean skipInitialSpawn) [0x000a2] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at Bootstrap+<StartServer>d__29.MoveNext () [0x00360] in <9ec513aa20324a6687c7663f2ad57713>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <a1a6f95a250948509a6205d3aa41a1e8>:0 
UnityEngine.DebugLogHandler:Internal_LogException_Injected(Exception, IntPtr)
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Oxide.Plugins.UnityLogInterceptor:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

I installed your new update today. All worked fine until I did a server reboot. The I got the error above.  Any help would be appreciated.

If you remove the plugin  does server load? update posted.

Edited by Razor
0g.Ghost.7373

Posted

Yes sir and Ill give the update a try. Thanks,

 

0g.Ghost.7373

Posted

Uploaded the new version and restarted, same error. 

Razor

Posted

4 minutes ago, 0g.Ghost.7373 said:

Uploaded the new version and restarted, same error. 

If you remove the file when server is booted and if you place the plugin back in does the server crash?

0g.Ghost.7373

Posted (edited)

If I remove it, it boots fine. I can re-add it and it works. Its when the server reboots that it gives the error.

Edited by 0g.Ghost.7373
Razor

Posted

18 minutes ago, 0g.Ghost.7373 said:

If I remove it, it boots fine. I can re-add it and it works. Its when the server reboots that it gives the error.

Do you have any other of my boss plugins?

0g.Ghost.7373

Posted

10 minutes ago, Razor said:

Do you have any other of my boss plugins?

Nope. Planned to in the future but not right now.

Razor

Posted

5 minutes ago, 0g.Ghost.7373 said:

Nope. Planned to in the future but not right now.

Try the update now i was patching BaseEntity.Save to soon and would cause the others to fail i resolved this after reproducing it on my server if the update does not load for you search all your plugins for BaseEntity.Save and let me know.

0g.Ghost.7373

Posted

Still getting the error. The only other plug I can find BaseEntity.Save in is Raidablebases..

Razor

Posted (edited)

5 minutes ago, 0g.Ghost.7373 said:

Still getting the error. The only other plug I can find BaseEntity.Save in is Raidablebases..

temperarly remove Raidablebases,cs  then see if server boots

 

Edited by Razor
0g.Ghost.7373

Posted

Removed it and still get the error

 

Razor

Posted (edited)

9 minutes ago, 0g.Ghost.7373 said:

Removed it and still get the error

 

Humm role back to 1.1.4 there's a plugin conflicting

Edited by Razor
Razor

Posted

21 minutes ago, Razor said:

Humm role back to 1.1.4 there's a plugin conflicting

If u do get time to test for me remove all plugins but dragon see if liads if all is ok start adding your plugins back in 10 at a time seeing if still lods or errors to narrow it down

  • Like 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
176.7k
Total sales
Payments
3.9m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.