bernd123 1 Posted July 5, 2022 Posted July 5, 2022 I have a DS220j with DSM 7.1 and the latest working version of emby was v4.7.2 (armv8) updating to the latest 4.7.5 results in the server starting for a short time then stopping again. I can see no error in the log, the last lines are "Loading EmbyServer, Version=4.7.5.0, " and "SqliteUserRepository: Sqlite version: 3.35.5" After reverting back to v4.7.2 I now get a sqlLite error in the log: 2022-07-05 07:56:45.429 Info SqliteUserRepository: Opening sqlite connection to /var/packages/EmbyServer/var/data/users.db 2022-07-05 07:56:45.460 Error Main: Error in appHost.Init *** Error Report *** Version: 4.7.2.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/t arget/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -u pdatepackage emby-server-synology7_{version}_armv8.spk Operating system: Linux version 4.4.180+ (root@build4) (gcc version 8.5.0 (GCC) ) #42661 SMP Fri May 27 17:13:39 CST 2022 Framework: .NET 6.0.2 OS/Process: arm64/arm64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/system SQLitePCL.pretty.SQLiteException: CannotOpen: unable to open database file SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc) at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build() at Emby.Sqlite.BaseSqliteRepository.CreateConnection(Boolean isReadOnly) at Emby.Server.Implementations.Data.SqliteUserRepository.Initialize() at Emby.Server.Implementations.ApplicationHost.GetUserRepository() at Emby.Server.Implementations.ApplicationHost.RegisterResources() at Emby.Server.Implementations.ApplicationHost.Init() at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken) Source: SQLitePCL.pretty TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
Luke 42077 Posted July 5, 2022 Posted July 5, 2022 HI there, is that the complete server log file? Did you try rebooting the NAS?
bernd123 1 Posted July 5, 2022 Author Posted July 5, 2022 Hi, yes I restarted the NAS I have attached the complete log embyserver-63792605960.txt
bernd123 1 Posted July 5, 2022 Author Posted July 5, 2022 looks like my /data/ folder is corrupt, I will have to restore it from backup
Solution bernd123 1 Posted July 5, 2022 Author Solution Posted July 5, 2022 ok, backup is complete, now v4.7.2 working and even the upgrade to v4.7.5 is running 1
heffeque 78 Posted July 5, 2022 Posted July 5, 2022 3 hours ago, bernd123 said: looks like my /data/ folder is corrupt, I will have to restore it from backup Probably forgot to shut down Emby server before updating?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now