Jump to content

[4.7.8.0] Error database readonly


Lenders57

Recommended Posts

Lenders57

Hi,

I saw an issue in the log when I want to use remote control.

I have a tablet while runing a song, when I want to take control from another device, I can't make any action (play / pause / next ...)

And I got this error in the log :

 

Spoiler
2022-10-07 16:52:03.205 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Stopped. UserAgent: okhttp/4.9.2
2022-10-07 16:52:03.206 Info SessionManager: Playback stopped reported by app Emby for Android 3.2.77 playing Undeniable. Stopped at 179818 ms
2022-10-07 16:52:03.207 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing/Stopped
2022-10-07 16:52:03.207 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered
2022-10-07 16:52:03.207 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : a20ee836-c442-4bc1-b956-4ba949dc7130-8d7ed642ba184477a15cee56867cc6cb-220527
2022-10-07 16:52:03.208 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 4.7.8.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 4.19.0-22-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.260-1 (2022-09-29)
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	SQLitePCL.pretty.SQLiteException: ReadOnly: attempt to write a readonly database
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at playback_reporting.Data.ActivityRepository.<>c__DisplayClass19_0.<UpdatePlaybackAction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass18_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at playback_reporting.Data.ActivityRepository.UpdatePlaybackAction(PlaybackInfo play_info)
	   at playback_reporting.EventMonitorEntryPoint.RemoveOldPlayinfo(List`1 active_list)
	   at playback_reporting.EventMonitorEntryPoint._sessionManager_PlaybackStop(Object sender, PlaybackStopEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
	
2022-10-07 16:52:03.221 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing. UserAgent: okhttp/4.9.2
2022-10-07 16:52:03.223 Info SessionManager: Playback start reported by app Emby for Android 3.2.77 playing Waves (Robin Schulz radio edit). Started at 35 ms
2022-10-07 16:52:03.224 Info Server: http/1.1 Response 204 to host3. Time: 3ms. http://192.168.1.85:8096/emby/Sessions/Playing
2022-10-07 16:52:03.224 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStart : Entered
2022-10-07 16:52:03.224 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : e8a2b1b6da348ca6-8d7ed642ba184477a15cee56867cc6cb-180076
2022-10-07 16:52:03.224 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB
2022-10-07 16:52:03.224 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 4.7.8.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 4.19.0-22-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.260-1 (2022-09-29)
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	SQLitePCL.pretty.SQLiteException: ReadOnly: attempt to write a readonly database
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at playback_reporting.Data.ActivityRepository.<>c__DisplayClass18_0.<AddPlaybackAction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass18_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at playback_reporting.Data.ActivityRepository.AddPlaybackAction(PlaybackInfo play_info)
	   at playback_reporting.EventMonitorEntryPoint.ProcessSessions()
	   at playback_reporting.EventMonitorEntryPoint._sessionManager_PlaybackStart(Object sender, PlaybackProgressEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
	
2022-10-07 16:52:03.412 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:52:03.413 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:52:13.540 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:52:13.541 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:52:23.670 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:52:23.672 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:52:33.804 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:52:33.806 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:52:40.281 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB
2022-10-07 16:52:40.282 Error PlaybackReporting - EventMonitorEntryPoint: PlaybackMonitoringTask Exception
	*** Error Report ***
	Version: 4.7.8.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 4.19.0-22-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.260-1 (2022-09-29)
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	SQLitePCL.pretty.SQLiteException: ReadOnly: attempt to write a readonly database
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at playback_reporting.Data.ActivityRepository.<>c__DisplayClass18_0.<AddPlaybackAction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass18_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at playback_reporting.Data.ActivityRepository.AddPlaybackAction(PlaybackInfo play_info)
	   at playback_reporting.EventMonitorEntryPoint.ProcessSessions()
	   at playback_reporting.EventMonitorEntryPoint.PlaybackMonitoringTask()
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
	
2022-10-07 16:52:40.282 Info PlaybackReporting - EventMonitorEntryPoint: PlaybackMonitoringTask New Thread Sleep : 300
2022-10-07 16:52:43.923 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:52:43.926 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:52:54.040 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:52:54.042 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:52:55.691 Info Server: http/1.1 Response 200 to host3. Time: 127322ms. http://192.168.1.85:8096/emby/Audio/180076/universal?UserId=8d7ed642ba184477a15cee56867cc6cb&DeviceId=e8a2b1b6da348ca6&MaxStreamingBitrate=140000000&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1665151784816&StartTimeTicks=0&EnableRedirection=true
2022-10-07 16:53:04.155 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:53:04.156 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:53:14.273 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:53:14.274 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:53:24.389 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:53:24.390 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:53:34.519 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:53:34.520 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:53:44.637 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:53:44.639 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:53:54.764 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:53:54.765 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:54:04.882 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:54:04.883 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:54:15.003 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:54:15.004 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:54:25.126 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:54:25.127 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:54:35.264 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:54:35.267 Info Server: http/1.1 Response 204 to host3. Time: 3ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:54:40.434 Info Server: http/1.1 GET http://192.168.1.85:8096/emby/Audio/194798/universal?UserId=8d7ed642ba184477a15cee56867cc6cb&DeviceId=e8a2b1b6da348ca6&MaxStreamingBitrate=140000000&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1665151784817&StartTimeTicks=0&EnableRedirection=true. UserAgent: Emby/3.2.77 (Linux;Android 11) ExoPlayerLib/2.16.1
2022-10-07 16:54:40.436 Info App: User policy for Ludovic. EnableAudioPlaybackTranscoding: True
2022-10-07 16:54:45.388 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:54:45.389 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:54:55.511 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:54:55.513 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:55:05.633 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:55:05.635 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:55:12.161 Info Server: http/1.1 POST http://host1:8096/emby/Sessions/0cf7717b70b13ef4faf10728b62f3d29/Playing/PlayPause?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=27b712e2-d25e-4101-9eaf-567c85231790&X-Emby-Client-Version=4.7.8.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
2022-10-07 16:55:12.162 Info Server: http/1.1 Response 204 to host4. Time: 1ms. http://host1:8096/emby/Sessions/0cf7717b70b13ef4faf10728b62f3d29/Playing/PlayPause?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=27b712e2-d25e-4101-9eaf-567c85231790&X-Emby-Client-Version=4.7.8.0
2022-10-07 16:55:13.407 Info Server: http/1.1 POST http://host1:8096/emby/Sessions/0cf7717b70b13ef4faf10728b62f3d29/Playing/stop?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=27b712e2-d25e-4101-9eaf-567c85231790&X-Emby-Client-Version=4.7.8.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
2022-10-07 16:55:13.409 Info Server: http/1.1 Response 204 to host4. Time: 2ms. http://host1:8096/emby/Sessions/0cf7717b70b13ef4faf10728b62f3d29/Playing/stop?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=27b712e2-d25e-4101-9eaf-567c85231790&X-Emby-Client-Version=4.7.8.0
2022-10-07 16:55:15.758 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:55:15.759 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:55:25.878 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:55:25.881 Info Server: http/1.1 Response 204 to host3. Time: 3ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:55:31.377 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Stopped. UserAgent: okhttp/4.9.2
2022-10-07 16:55:31.378 Info SessionManager: Playback stopped reported by app Emby for Android 3.2.77 playing Waves (Robin Schulz radio edit). Stopped at 207748 ms
2022-10-07 16:55:31.378 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Stopped
2022-10-07 16:55:31.378 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered
2022-10-07 16:55:31.378 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : a20ee836-c442-4bc1-b956-4ba949dc7130-8d7ed642ba184477a15cee56867cc6cb-220527
2022-10-07 16:55:31.379 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 4.7.8.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 4.19.0-22-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.260-1 (2022-09-29)
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	SQLitePCL.pretty.SQLiteException: ReadOnly: attempt to write a readonly database
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at playback_reporting.Data.ActivityRepository.<>c__DisplayClass19_0.<UpdatePlaybackAction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass18_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at playback_reporting.Data.ActivityRepository.UpdatePlaybackAction(PlaybackInfo play_info)
	   at playback_reporting.EventMonitorEntryPoint.RemoveOldPlayinfo(List`1 active_list)
	   at playback_reporting.EventMonitorEntryPoint._sessionManager_PlaybackStop(Object sender, PlaybackStopEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
	
2022-10-07 16:55:31.386 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing. UserAgent: okhttp/4.9.2
2022-10-07 16:55:31.387 Info SessionManager: Playback start reported by app Emby for Android 3.2.77 playing Last One Standing. Started at 47 ms
2022-10-07 16:55:31.388 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing
2022-10-07 16:55:31.388 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStart : Entered
2022-10-07 16:55:31.388 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : e8a2b1b6da348ca6-8d7ed642ba184477a15cee56867cc6cb-194798
2022-10-07 16:55:31.388 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB
2022-10-07 16:55:31.389 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 4.7.8.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 4.19.0-22-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.260-1 (2022-09-29)
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	SQLitePCL.pretty.SQLiteException: ReadOnly: attempt to write a readonly database
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at playback_reporting.Data.ActivityRepository.<>c__DisplayClass18_0.<AddPlaybackAction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass18_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at playback_reporting.Data.ActivityRepository.AddPlaybackAction(PlaybackInfo play_info)
	   at playback_reporting.EventMonitorEntryPoint.ProcessSessions()
	   at playback_reporting.EventMonitorEntryPoint._sessionManager_PlaybackStart(Object sender, PlaybackProgressEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
	
2022-10-07 16:55:31.953 Info Server: http/1.1 Response 200 to host3. Time: 51519ms. http://192.168.1.85:8096/emby/Audio/194798/universal?UserId=8d7ed642ba184477a15cee56867cc6cb&DeviceId=e8a2b1b6da348ca6&MaxStreamingBitrate=140000000&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1665151784817&StartTimeTicks=0&EnableRedirection=true
2022-10-07 16:55:31.955 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:55:31.956 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:55:42.111 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:55:42.113 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:55:52.231 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:55:52.233 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:56:02.345 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:56:02.346 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:56:12.481 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:56:12.483 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:56:22.603 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:56:22.605 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:56:32.731 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:56:32.732 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:56:42.863 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:56:42.864 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:56:52.987 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:56:52.988 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:57:03.112 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:57:03.114 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:57:13.249 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:57:13.251 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:57:23.365 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:57:23.366 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:57:33.495 Info Server: http/1.1 POST http://192.168.1.85:8096/emby/Sessions/Playing/Progress. UserAgent: okhttp/4.9.2
2022-10-07 16:57:33.496 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://192.168.1.85:8096/emby/Sessions/Playing/Progress
2022-10-07 16:57:40.281 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB
2022-10-07 16:57:40.283 Error PlaybackReporting - EventMonitorEntryPoint: PlaybackMonitoringTask Exception
	*** Error Report ***
	Version: 4.7.8.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 4.19.0-22-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.260-1 (2022-09-29)
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	SQLitePCL.pretty.SQLiteException: ReadOnly: attempt to write a readonly database
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at playback_reporting.Data.ActivityRepository.<>c__DisplayClass18_0.<AddPlaybackAction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass18_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at playback_reporting.Data.ActivityRepository.AddPlaybackAction(PlaybackInfo play_info)
	   at playback_reporting.EventMonitorEntryPoint.ProcessSessions()
	   at playback_reporting.EventMonitorEntryPoint.PlaybackMonitoringTask()
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)
	

 

Link to comment
Share on other sites

Happy2Play

This suggests a permission issue on the library.db, has anything changed on your system or say something like backup/restore?

Link to comment
Share on other sites

Lenders57
18 minutes ago, Happy2Play said:

This suggests a permission issue on the library.db, has anything changed on your system or say something like backup/restore?

Nop, nothing,

Link to comment
Share on other sites

Happy2Play

Can you verify permissions.  As that is what most of existing topics point to for "ReadOnly: attempt to write a readonly database".

Have you tried restarting the host?

The last resort is deleting/renaming the database and rebuilding.

Link to comment
Share on other sites

Lenders57
11 minutes ago, Happy2Play said:

Can you verify permissions.  As that is what most of existing topics point to for "ReadOnly: attempt to write a readonly database".

Have you tried restarting the host?

The last resort is deleting/renaming the database and rebuilding.

How can I check permissions ?

Yes the host is shuting down every day at 00h and restart at 7:30 am every days

Link to comment
Share on other sites

Lenders57

Ok very VERY VERRRRRRYYYYYYYYY weird...

I change the chown to emby:users for /var/lib/data and seems to be ok...

Very weird, because i don't touch anything since many times. Anyway seems to be fix

  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...