linuxserver / docker-jellyfin

GNU General Public License v3.0
647 stars 97 forks source link

set web directory path #46

Closed aptalca closed 4 years ago

aptalca commented 4 years ago

closes #44

required in new nightly releases as the web client can now be decoupled from the server: https://jellyfin.org/docs/general/administration/configuration.html#web-directory

ghost commented 4 years ago

Thank you so much for working on this. ❤️

LinuxServer-CI commented 4 years ago

I am a bot, here are the test results for this PR: https://lsio-ci.ams3.digitaloceanspaces.com/lspipepr/jellyfin/20200527-pkg-e4f53d12-pr-46/index.html https://lsio-ci.ams3.digitaloceanspaces.com/lspipepr/jellyfin/20200527-pkg-e4f53d12-pr-46/shellcheck-result.xml

ghost commented 4 years ago

Not working for me, just pulled the latest nightly about a minute ago.

Lots of repeats like this:

jellyfin          | [13:21:33] [INF] [1] Main: Jellyfin version: 10.6.0
jellyfin          | [13:21:33] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_LOG_DIR, /config/log]"]
jellyfin          | [13:21:33] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
jellyfin          | [13:21:33] [INF] [1] Main: Operating system: Linux
jellyfin          | [13:21:33] [INF] [1] Main: Architecture: X64
jellyfin          | [13:21:33] [INF] [1] Main: 64-Bit Process: True
jellyfin          | [13:21:33] [INF] [1] Main: User Interactive: True
jellyfin          | [13:21:33] [INF] [1] Main: Processor count: 6
jellyfin          | [13:21:33] [INF] [1] Main: Program data path: /config/data
jellyfin          | [13:21:33] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
jellyfin          | [13:21:33] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
jellyfin          | [13:21:33] [INF] [1] ServerConfigurationManager: Setting cache path: /config/cache
jellyfin          | [13:21:33] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
jellyfin          | [13:21:34] [WRN] [1] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin'. SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
jellyfin          | [13:21:35] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'MigrateActivityLogDatabase'
jellyfin          | [13:21:35] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateActivityLogDatabase'
jellyfin          | CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
jellyfin          |    at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
jellyfin          |    at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
jellyfin          |    at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
jellyfin          |    at SQLitePCL.pretty.SQLite3.Open(String filename, ConnectionFlags flags, String vfs)
jellyfin          |    at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
jellyfin          |    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
jellyfin          | [13:21:35] [FTL] [1] Main: Error while starting server.
jellyfin          | CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
jellyfin          |    at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
jellyfin          |    at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
jellyfin          |    at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
jellyfin          |    at SQLitePCL.pretty.SQLite3.Open(String filename, ConnectionFlags flags, String vfs)
jellyfin          |    at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
jellyfin          |    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
jellyfin          |    at Jellyfin.Server.Program.StartApp(StartupOptions options)
jellyfin          | [13:21:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
jellyfin          | [13:21:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing ActivityLogWebSocketListener
jellyfin          | [13:21:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing SessionInfoWebSocketListener
jellyfin          | [13:21:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing ScheduledTasksWebSocketListener
jellyfin          | [13:21:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing SessionWebSocketListener
jellyfin          | [13:21:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing EmbyTV
jellyfin          | [13:21:35] [INF] [2] Main: Received a SIGTERM signal, shutting down
aptalca commented 4 years ago

it didn't push yet, still building: https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-jellyfin/detail/nightly/156/pipeline/

ghost commented 4 years ago

Oh, the nightly updating on dockerhub was a lie to me then haha, ok, no worries and my bad. :)

aptalca commented 4 years ago

It's pushed now and it works here

ghost commented 4 years ago

https://hub.docker.com/r/linuxserver/jellyfin/tags?page=1&ordering=last_updated -- am I not looking in the right place? I'm still on the images from >15 minutes ago and still the same issue. :(

aptalca commented 4 years ago

you're having migration issues, those are all upstream errors. Fresh install works fine

ghost commented 4 years ago

ah, will nuke it then