Could not open database file: server/my_server_identity/sv.files.0.dbError
after todays update i have problem with boot my servers. when i downgrade version is ok

SqliteException: Could not open database file: server/my_server_identity/sv.files.0.db
  at Facepunch.Sqlite.Database.Open (System.String path) [0x00031] in <b502712e24d74d6785bbc61b4d4b93a4>:0 
  at FileStorage..ctor (System.String name, System.Boolean server) [0x00040] in <0c5339020562470fa6550d897fb814ac>:0 
  at FileStorage..cctor () [0x00010] in <0c5339020562470fa6550d897fb814ac>:0 
Rethrow as TypeInitializationException: The type initializer for 'FileStorage' threw an exception.
  at SpinnerWheel.Load (BaseNetworkable+LoadInfo info) [0x00000] in <0c5339020562470fa6550d897fb814ac>:0 
  at SaveRestore.Load (System.String strFilename, System.Boolean allowOutOfDateSaves) [0x0040e] in <0c5339020562470fa6550d897fb814ac>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
SaveRestore:Load(String, Boolean)
ServerMgr:Initialize(Boolean, String, Boolean, Boolean)
<StartServer>d__19:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)​


Initializing 309 conditional models
NullReferenceException: Object reference not set to an instance of an object
  at BuildingBlock.GetGrade (BuildingGrade+Enum iGrade) [0x00000] in <0c5339020562470fa6550d897fb814ac>:0 
  at BuildingBlock.get_currentGrade () [0x00000] in <0c5339020562470fa6550d897fb814ac>:0 
  at BuildingBlock.ChangeSkin () [0x00009] in <0c5339020562470fa6550d897fb814ac>:0 
  at BuildingBlock.UpdateSkin (System.Boolean force) [0x00028] in <0c5339020562470fa6550d897fb814ac>:0 
  at SaveRestore.InitializeEntityConditionals () [0x00086] in <0c5339020562470fa6550d897fb814ac>:0 
  at Bootstrap+<StartServer>d__19.MoveNext () [0x0027a] in <0c5339020562470fa6550d897fb814ac>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <5efc91990d9549c2a2cf3874065a5193>:0 ​


btw. my path is not server/my_server_identity/sv.files.0.db :| only server/rust/sv.files.0.db

line 249 

db.Open($"{ConVar.Server.rootFolder}/sv.files.0.db");

I would assume the plugin is getting the value of rootFolder from somewhere but it isn't correct for your server configuration. You could try changing that line to

db.Open($"{ConVar.Server}/rust/sv.files.0.db");​
I'm a novice with C# so try it at your own risk
Guardian

line 249 

db.Open($"{ConVar.Server.rootFolder}/sv.files.0.db");

I would assume the plugin is getting the value of rootFolder from somewhere but it isn't correct for your server configuration. You could try changing that line to

db.Open($"{ConVar.Server}/rust/sv.files.0.db");​
I'm a novice with C# so try it at your own risk
That would not be correct, as you are trying to use something as something it isn't. The error in this thread simply means that the file wasn't created yet, not that the path was wrong.

SqliteException: Could not open database file: server/my_server_identity/sv.files.0.db

Did you verify that the file exists and has the same permissions as the server?
5e13a8d5b2bc5.jpg Wulf
Did you verify that the file exists and has the same permissions as the server?

I don't know.

everytime i wipe my server ImageLibrary always throws this error and i have to remove it completely and in read load it
im getting same error was there any fix to this i cant even load my server gets stuck here everytime and for some reason adds a file to my server identity called sv.files.0.db and no matter how many time i delete it, it just come back.

I honestly cant get rid of the thing i remember typing something like server.savecfg as well as server.writecfg
anyone know whats up?

you can join the server but as soon as you press spacebar to stand up it either glitchs out but always you get dropped right away
sv.files.0.db is created by the Rust server to store sign images; this plugin merely uses it.

SqliteException: Could not open database file: server/my_server_identity/sv.files.0.db

This plugin seriously needs an update , now I cant use /s and its just messing a lot of stuff up dev please take a close look at it , there is something wrong 100%

SqliteException: Could not open database file: server/my_server_identity/sv.files.0.db

Please fix this it happens everytime i restart my server, I have to remove the ImageLibrary mod restart then readd Image Library.

Its due to my server being set up different it doesnt use my_server_identity my location is server/streamline/sc.files.0.db so since its looking in a different location due to ImageLibrary it wont boot the server at all!!! I have no way to change it even if i enter a custom commandline it still keeps the default streamline and adds my_server_identity which still causes it to not boot!!

I have a wuestion wulf... so my server db files are at server/streamline/sv.files
so would this be how I change the line of code to look?
from this 
db.Open(string.Concat(ConVar.Server.rootFolder, "/", "sv.files.", Rust.Protocol.save - 1, ".db"));

to this?

db.Open(string.Concat(ConVar.Server.rootFolder, "/streamline", "sv.files.", Rust.Protocol.save - 1, ".db"));

AngryR3dBeard20

I have a wuestion wulf... so my server db files are at server/streamline/sv.files
so would this be how I change the line of code to look?
from this 
db.Open(string.Concat(ConVar.Server.rootFolder, "/", "sv.files.", Rust.Protocol.save - 1, ".db"));

to this?

db.Open(string.Concat(ConVar.Server.rootFolder, "/streamline", "sv.files.", Rust.Protocol.save - 1, ".db"));

Changing the above would break it, whereas you'd have /server/streamline/streamline as your new path which would be wrong.

ConVar.Server.rootFolder is the /server/YOURSERVERIDENTITY path. ConVar.Server alone does not exist.

same problem

Merged post

Is there already a solution for this? I now also have this problem on my server. I have to reload the plugin after the restart and reload everything so that it works. A restart with the plugin is not possible. Sometimes there are massive error messages. Server start not possible

I am also having this issue now. It appears that the plugin is seeking the file in question before it is created. Is there any way to have this plugin only load once the server is running?