Advertisement
alexauran

run jellyfin.service as micro

Jan 7th, 2025
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.79 KB | None | 0 0
  1. micro@debian:~/.databases$ cat /lib/systemd/system/jellyfin.service
  2. [Unit]
  3. Description = Jellyfin Media Server
  4. After = network-online.target
  5.  
  6. [Service]
  7. Type = simple
  8. EnvironmentFile = /etc/default/jellyfin
  9. User = micro
  10. Group = micro
  11. WorkingDirectory = /var/lib/jellyfin
  12. ExecStart = /usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS
  13. Restart = on-failure
  14. TimeoutSec = 15
  15. SuccessExitStatus=0 143
  16.  
  17. [Install]
  18. WantedBy = multi-user.target
  19. micro@debian:~/.databases$ sudo chown -Rv micro:micro /home/micro
  20. ownership of '/home/micro/.sudo_as_admin_successful' retained as micro:micro
  21. ownership of '/home/micro/.bash_history' retained as micro:micro
  22. ownership of '/home/micro/.databases/jellyfin/plugins/configurations/Jellyfin.Plugin.Tmdb.xml' retained as micro:micro
  23. ownership of '/home/micro/.databases/jellyfin/plugins/configurations/Jellyfin.Plugin.MusicBrainz.xml' retained as micro:micro
  24. ownership of '/home/micro/.databases/jellyfin/plugins/configurations' retained as micro:micro
  25. ownership of '/home/micro/.databases/jellyfin/plugins' retained as micro:micro
  26. ownership of '/home/micro/.databases/jellyfin/metadata/views/livetv' retained as micro:micro
  27. ownership of '/home/micro/.databases/jellyfin/metadata/views' retained as micro:micro
  28. ownership of '/home/micro/.databases/jellyfin/metadata/People' retained as micro:micro
  29. ownership of '/home/micro/.databases/jellyfin/metadata' retained as micro:micro
  30. ownership of '/home/micro/.databases/jellyfin/data/jellyfin.db' retained as micro:micro
  31. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/0c9ee3a8-8fc1-5547-c685-2205480da1fd.js' retained as micro:micro
  32. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/ec2f221f-d8e7-706b-3d3a-fd2c4591b4d7.js' retained as micro:micro
  33. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/f861734d-d71b-37f9-482b-52a820e39013.js' retained as micro:micro
  34. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/3a025083-141d-3c17-dd96-d5f9b951287b.js' retained as micro:micro
  35. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/7738148f-fcd0-7979-c7ce-b148e06b3aed.js' retained as micro:micro
  36. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/26649fe0-aad5-7557-2453-51f220da916c.js' retained as micro:micro
  37. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/f9b057c0-54e9-e6da-ee4a-88ffd146a403.js' retained as micro:micro
  38. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/1c8ede62-c521-bea0-bf85-1344f5b8ca40.js' retained as micro:micro
  39. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/4e6637c8-32ed-644d-1af3-370a2506e80a.js' retained as micro:micro
  40. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/bea9b218-c97b-bf98-c5dc-1303bdb9a0ca.js' retained as micro:micro
  41. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/7d8088c1-0902-f1bf-4072-ded42437bcfb.js' retained as micro:micro
  42. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/2c66a88b-ca43-e565-d7f8-099f825478f1.js' retained as micro:micro
  43. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/31de9ce8-3b92-23d3-38c7-7b1a635e144b.js' retained as micro:micro
  44. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/64f5f44c-d30d-c273-cb98-90205473bbcc.js' retained as micro:micro
  45. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/241d4fcb-19a1-d557-ee62-428e411da609.js' retained as micro:micro
  46. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks/866456ed-0d44-e154-6812-4ce33d85961e.js' retained as micro:micro
  47. ownership of '/home/micro/.databases/jellyfin/data/ScheduledTasks' retained as micro:micro
  48. ownership of '/home/micro/.databases/jellyfin/data/playlists' retained as micro:micro
  49. ownership of '/home/micro/.databases/jellyfin/data/device.txt' retained as micro:micro
  50. ownership of '/home/micro/.databases/jellyfin/data/library.db' retained as micro:micro
  51. ownership of '/home/micro/.databases/jellyfin/data' retained as micro:micro
  52. ownership of '/home/micro/.databases/jellyfin/root/default' retained as micro:micro
  53. ownership of '/home/micro/.databases/jellyfin/root' retained as micro:micro
  54. ownership of '/home/micro/.databases/jellyfin' retained as micro:micro
  55. ownership of '/home/micro/.databases' retained as micro:micro
  56. ownership of '/home/micro/.profile' retained as micro:micro
  57. ownership of '/home/micro/.bash_logout' retained as micro:micro
  58. ownership of '/home/micro/.local/share/nano' retained as micro:micro
  59. ownership of '/home/micro/.local/share' retained as micro:micro
  60. ownership of '/home/micro/.local' retained as micro:micro
  61. ownership of '/home/micro/.bashrc' retained as micro:micro
  62. ownership of '/home/micro/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml' retained as micro:micro
  63. ownership of '/home/micro/.config/xfce4/xfconf/xfce-perchannel-xml' retained as micro:micro
  64. ownership of '/home/micro/.config/xfce4/xfconf' retained as micro:micro
  65. ownership of '/home/micro/.config/xfce4' retained as micro:micro
  66. ownership of '/home/micro/.config' retained as micro:micro
  67. ownership of '/home/micro' retained as micro:micro
  68. micro@debian:~/.databases$ sudo systemctl start jellyfin
  69. micro@debian:~/.databases$ sudo journalctl -u jellyfin -n 200 --no-pager
  70. Jan 07 10:45:52 debian jellyfin[5486]: Unhandled exception. Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
  71. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
  72. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
  73. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
  74. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
  75. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
  76. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
  77. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
  78. Jan 07 10:45:52 debian jellyfin[5486]: at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
  79. Jan 07 10:45:52 debian jellyfin[5486]: --- End of stack trace from previous location ---
  80. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  81. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  82. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  83. Jan 07 10:45:52 debian jellyfin[5486]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable`1 parameters, CancellationToken cancellationToken)
  84. Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
  85. Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
  86. Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
  87. Jan 07 10:45:52 debian jellyfin[5486]: at Jellyfin.Server.Program.<Main>(String[] args)
  88. Jan 07 10:45:52 debian systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
  89. Jan 07 10:45:52 debian systemd[1]: jellyfin.service: Failed with result 'signal'.
  90. Jan 07 10:45:52 debian systemd[1]: jellyfin.service: Consumed 1.782s CPU time.
  91. Jan 07 10:45:53 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
  92. Jan 07 10:45:53 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  93. Jan 07 10:45:53 debian systemd[1]: jellyfin.service: Consumed 1.782s CPU time.
  94. Jan 07 10:45:53 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  95. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Jellyfin version: 10.10.3
  96. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Environment Variables: ["[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_DATA_DIR, /home/micro/.databases/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]"]
  97. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
  98. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Operating system: Debian GNU/Linux 12 (bookworm)
  99. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Architecture: X64
  100. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] 64-Bit Process: True
  101. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] User Interactive: True
  102. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Processor count: 12
  103. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Program data path: /home/micro/.databases/jellyfin
  104. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Log directory path: /var/log/jellyfin
  105. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Config directory path: /etc/jellyfin
  106. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Cache path: /var/cache/jellyfin
  107. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Temp directory path: /tmp/jellyfin
  108. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Web resources path: /usr/share/jellyfin/web
  109. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Application directory: /usr/lib/jellyfin/bin/
  110. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration", "MigrateEncodingOptions"]
  111. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Setting cache path: /var/cache/jellyfin
  112. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Loading assemblies
  113. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
  114. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Defined LAN exclusions: []
  115. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
  116. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.9.48"]
  117. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Bind Addresses ["0.0.0.0"]
  118. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Remote IP filter is Allowlist
  119. Jan 07 10:45:53 debian jellyfin[5508]: [10:45:53] [INF] Filtered subnets: []
  120. Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [ERR] Failed executing DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
  121. Jan 07 10:45:54 debian jellyfin[5508]: SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table';
  122. Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [FTL] Error while starting server
  123. Jan 07 10:45:54 debian jellyfin[5508]: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
  124. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
  125. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
  126. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
  127. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
  128. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
  129. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
  130. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteScalar()
  131. Jan 07 10:45:54 debian jellyfin[5508]: at System.Data.Common.DbCommand.ExecuteScalarAsync(CancellationToken cancellationToken)
  132. Jan 07 10:45:54 debian jellyfin[5508]: --- End of stack trace from previous location ---
  133. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  134. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  135. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  136. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.ExistsAsync(CancellationToken cancellationToken)
  137. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrationsAsync(CancellationToken cancellationToken)
  138. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetAppliedMigrationsAsync(DatabaseFacade databaseFacade, CancellationToken cancellationToken)
  139. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetPendingMigrationsAsync(DatabaseFacade databaseFacade, CancellationToken cancellationToken)
  140. Jan 07 10:45:54 debian jellyfin[5508]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
  141. Jan 07 10:45:54 debian jellyfin[5508]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
  142. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
  143. Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [INF] Running query planner optimizations in the database... This might take a while
  144. Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [ERR] Failed executing DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
  145. Jan 07 10:45:54 debian jellyfin[5508]: PRAGMA optimize
  146. Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [INF] Disposing CoreAppHost
  147. Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [INF] Disposing PluginManager
  148. Jan 07 10:45:54 debian jellyfin[5508]: [10:45:54] [FTL] Unhandled Exception
  149. Jan 07 10:45:54 debian jellyfin[5508]: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
  150. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
  151. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
  152. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
  153. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
  154. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
  155. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
  156. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
  157. Jan 07 10:45:54 debian jellyfin[5508]: at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
  158. Jan 07 10:45:54 debian jellyfin[5508]: --- End of stack trace from previous location ---
  159. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  160. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  161. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  162. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable`1 parameters, CancellationToken cancellationToken)
  163. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
  164. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
  165. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
  166. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.<Main>(String[] args)
  167. Jan 07 10:45:54 debian jellyfin[5508]: Unhandled exception. Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
  168. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
  169. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
  170. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
  171. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
  172. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
  173. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
  174. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
  175. Jan 07 10:45:54 debian jellyfin[5508]: at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
  176. Jan 07 10:45:54 debian jellyfin[5508]: --- End of stack trace from previous location ---
  177. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  178. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  179. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
  180. Jan 07 10:45:54 debian jellyfin[5508]: at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable`1 parameters, CancellationToken cancellationToken)
  181. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
  182. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
  183. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
  184. Jan 07 10:45:54 debian jellyfin[5508]: at Jellyfin.Server.Program.<Main>(String[] args)
  185. Jan 07 10:45:54 debian systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
  186. Jan 07 10:45:54 debian systemd[1]: jellyfin.service: Failed with result 'signal'.
  187. Jan 07 10:45:54 debian systemd[1]: jellyfin.service: Consumed 1.811s CPU time.
  188. Jan 07 10:45:55 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
  189. Jan 07 10:45:55 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  190. Jan 07 10:45:55 debian systemd[1]: jellyfin.service: Consumed 1.811s CPU time.
  191. Jan 07 10:45:55 debian systemd[1]: jellyfin.service: Start request repeated too quickly.
  192. Jan 07 10:45:55 debian systemd[1]: jellyfin.service: Failed with result 'signal'.
  193. Jan 07 10:45:55 debian systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
  194. Jan 07 14:36:12 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  195. Jan 07 14:36:12 debian (jellyfin)[5709]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  196. Jan 07 14:36:12 debian (jellyfin)[5709]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  197. Jan 07 14:36:12 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  198. Jan 07 14:36:12 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  199. Jan 07 14:36:12 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 1.
  200. Jan 07 14:36:12 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  201. Jan 07 14:36:12 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  202. Jan 07 14:36:12 debian (jellyfin)[5711]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  203. Jan 07 14:36:12 debian (jellyfin)[5711]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  204. Jan 07 14:36:12 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  205. Jan 07 14:36:12 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  206. Jan 07 14:36:12 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 2.
  207. Jan 07 14:36:12 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  208. Jan 07 14:36:12 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  209. Jan 07 14:36:12 debian (jellyfin)[5712]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  210. Jan 07 14:36:12 debian (jellyfin)[5712]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  211. Jan 07 14:36:12 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  212. Jan 07 14:36:12 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  213. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 3.
  214. Jan 07 14:36:13 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  215. Jan 07 14:36:13 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  216. Jan 07 14:36:13 debian (jellyfin)[5713]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  217. Jan 07 14:36:13 debian (jellyfin)[5713]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  218. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  219. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  220. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
  221. Jan 07 14:36:13 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  222. Jan 07 14:36:13 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  223. Jan 07 14:36:13 debian (jellyfin)[5714]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  224. Jan 07 14:36:13 debian (jellyfin)[5714]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  225. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  226. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  227. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
  228. Jan 07 14:36:13 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  229. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Start request repeated too quickly.
  230. Jan 07 14:36:13 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  231. Jan 07 14:36:13 debian systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
  232. Jan 07 14:42:26 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  233. Jan 07 14:42:26 debian (jellyfin)[5737]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  234. Jan 07 14:42:26 debian (jellyfin)[5737]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  235. Jan 07 14:42:26 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  236. Jan 07 14:42:26 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  237. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 1.
  238. Jan 07 14:42:27 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  239. Jan 07 14:42:27 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  240. Jan 07 14:42:27 debian (jellyfin)[5739]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  241. Jan 07 14:42:27 debian (jellyfin)[5739]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  242. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  243. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  244. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 2.
  245. Jan 07 14:42:27 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  246. Jan 07 14:42:27 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  247. Jan 07 14:42:27 debian (jellyfin)[5740]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  248. Jan 07 14:42:27 debian (jellyfin)[5740]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  249. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  250. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  251. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 3.
  252. Jan 07 14:42:27 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  253. Jan 07 14:42:27 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  254. Jan 07 14:42:27 debian (jellyfin)[5741]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  255. Jan 07 14:42:27 debian (jellyfin)[5741]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  256. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  257. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  258. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
  259. Jan 07 14:42:27 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  260. Jan 07 14:42:27 debian systemd[1]: Started jellyfin.service - Jellyfin Media Server.
  261. Jan 07 14:42:27 debian (jellyfin)[5742]: jellyfin.service: Changing to the requested working directory failed: Permission denied
  262. Jan 07 14:42:27 debian (jellyfin)[5742]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: Permission denied
  263. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Main process exited, code=exited, status=200/CHDIR
  264. Jan 07 14:42:27 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  265. Jan 07 14:42:28 debian systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
  266. Jan 07 14:42:28 debian systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
  267. Jan 07 14:42:28 debian systemd[1]: jellyfin.service: Start request repeated too quickly.
  268. Jan 07 14:42:28 debian systemd[1]: jellyfin.service: Failed with result 'exit-code'.
  269. Jan 07 14:42:28 debian systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
  270. micro@debian:~/.databases$ sudo systemctl show jellyfin
  271. Type=simple
  272. ExitType=main
  273. Restart=on-failure
  274. NotifyAccess=none
  275. RestartUSec=100ms
  276. TimeoutStartUSec=15s
  277. TimeoutStopUSec=15s
  278. TimeoutAbortUSec=15s
  279. TimeoutStartFailureMode=terminate
  280. TimeoutStopFailureMode=terminate
  281. RuntimeMaxUSec=infinity
  282. RuntimeRandomizedExtraUSec=0
  283. WatchdogUSec=0
  284. WatchdogTimestampMonotonic=0
  285. RootDirectoryStartOnly=no
  286. RemainAfterExit=no
  287. GuessMainPID=yes
  288. SuccessExitStatus=0 143
  289. MainPID=0
  290. ControlPID=0
  291. FileDescriptorStoreMax=0
  292. NFileDescriptorStore=0
  293. StatusErrno=0
  294. Result=exit-code
  295. ReloadResult=success
  296. CleanResult=success
  297. UID=[not set]
  298. GID=[not set]
  299. NRestarts=5
  300. OOMPolicy=stop
  301. ExecMainStartTimestamp=Tue 2025-01-07 14:42:27 CST
  302. ExecMainStartTimestampMonotonic=51581572599
  303. ExecMainExitTimestamp=Tue 2025-01-07 14:42:27 CST
  304. ExecMainExitTimestampMonotonic=51581577196
  305. ExecMainPID=5742
  306. ExecMainCode=1
  307. ExecMainStatus=200
  308. ExecStart={ path=/usr/bin/jellyfin ; argv[]=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS ; ignore_errors=no ; start_time=[Tue 2025-01-07 14:42:27 CST] ; stop_time=[Tue>
  309. ExecStartEx={ path=/usr/bin/jellyfin ; argv[]=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS ; flags= ; start_time=[Tue 2025-01-07 14:42:27 CST] ; stop_time=[Tue 2025-01>
  310. Slice=system.slice
  311. ControlGroupId=4984
  312. MemoryCurrent=[not set]
  313. MemoryAvailable=infinity
  314. CPUUsageNSec=1402000
  315. TasksCurrent=[not set]
  316. IPIngressBytes=[no data]
  317. IPIngressPackets=[no data]
  318. IPEgressBytes=[no data]
  319. IPEgressPackets=[no data]
  320. IOReadBytes=18446744073709551615
  321. IOReadOperations=18446744073709551615
  322. IOWriteBytes=18446744073709551615
  323. IOWriteOperations=18446744073709551615
  324. Delegate=no
  325. CPUAccounting=yes
  326. CPUWeight=[not set]
  327. StartupCPUWeight=[not set]
  328. CPUShares=[not set]
  329. StartupCPUShares=[not set]
  330. CPUQuotaPerSecUSec=infinity
  331. CPUQuotaPeriodUSec=infinity
  332. IOAccounting=no
  333. IOWeight=[not set]
  334. StartupIOWeight=[not set]
  335. BlockIOAccounting=no
  336. BlockIOWeight=[not set]
  337. StartupBlockIOWeight=[not set]
  338. MemoryAccounting=yes
  339. DefaultMemoryLow=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement