Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] New 404 issue behind traefik #263

Open
1 task done
heyfordy opened this issue Aug 22, 2024 · 1 comment
Open
1 task done

[BUG] New 404 issue behind traefik #263

heyfordy opened this issue Aug 22, 2024 · 1 comment

Comments

@heyfordy
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I was running Jellyfin behind Traefik v3 which worked perfectly, however after a recent version update of the Jellyfin image, the web client now hangs at the splash screen after throwing 404s for its javascript dependencies:

GET /web/node_modules.%40mui.icons-material.bundle.js?4eb8ea179f4fc2baed3a net::ERR_ABORTED 404 (Not Found)
web/:1 
        
GET /web/node_modules.react-transition-group.bundle.js?4eb8ea179f4fc2baed3a net::ERR_ABORTED 404 (Not Found)
web/:1 
        
GET /web/node_modules.%40popperjs.core.bundle.js?4eb8ea179f4fc2baed3a net::ERR_ABORTED 404 (Not Found)
web/:1 
        
GET /web/node_modules.%40emotion.react.bundle.js?4eb8ea179f4fc2baed3a net::ERR_ABORTED 404 (Not Found)
web/:1 
        
GET /web/node_modules.%40mui.utils.bundle.js?4eb8ea179f4fc2baed3a net::ERR_ABORTED 404 (Not Found)
web/:1 
        
GET /web/node_modules.%40remix-run.router.bundle.js?4eb8ea179f4fc2baed3a net::ERR_ABORTED 404 (Not Found)
web/:1 
        
GET /web/60232.bundle.js?4eb8ea179f4fc2baed3a net::ERR_ABORTED 404 (Not Found)
web/:1 
        
GET /web/node_modules.react-router-dom.bundle.js?4eb8ea179f4fc2baed3a net::ERR_ABORTED 404 (Not Found)

Expected Behavior

The web interface should load with no 404s

Steps To Reproduce

  1. Start jellyfin with docker-compose
  2. Navigate to jellyfin
  3. Observe page is stuck on jellyfin logo and JS dependencies 404

Environment

- OS: synology DSM
- How docker service was installed: package manager

CPU architecture

x86-64

Docker creation

services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    restart: unless-stopped
    environment:
      - PUID=1026
      - PGID=100
      - TZ=America/Chicago
    volumes:
      - ./config:/config
      - /volume2/Shows:/data/shows
      - /volume2/Movies:/data/movies
      - /volume2/Music:/data/music
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
      - /dev/dri/card0:/dev/dri/card0
      - /dev/dri:/dev/dri
    networks:
      swarm:
networks:
  swarm:
    external: true


### Container logs

```bash
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
Jellyfin: https://opencollective.com/jellyfin

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1026
User GID:    100
───────────────────────────────────────
**** adding /dev/dri/card0 to video group root with id 0 ****
**** The device /dev/dri/card0 does not have group read/write permissions, attempting to fix inside the container. ****
**** creating video group videovgfw with id 937 ****
**** adding /dev/dri/renderD128 to video group videovgfw with id 937 ****
[custom-init] No custom files found, skipping...
[14:44:55] [INF] [4] Main: Jellyfin version: 10.9.9
[14:44:55] [INF] [4] Main: Environment Variables: ["[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_LOG_DIR, /config/log]"]
[14:44:55] [INF] [4] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[14:44:55] [INF] [4] Main: Operating system: Ubuntu 24.04 LTS
[14:44:55] [INF] [4] Main: Architecture: X64
[14:44:55] [INF] [4] Main: 64-Bit Process: True
[14:44:55] [INF] [4] Main: User Interactive: True
[14:44:55] [INF] [4] Main: Processor count: 4
[14:44:55] [INF] [4] Main: Program data path: /config/data
[14:44:55] [INF] [4] Main: Log directory path: /config/log
[14:44:55] [INF] [4] Main: Config directory path: /config
[14:44:55] [INF] [4] Main: Cache path: /config/cache
[14:44:55] [INF] [4] Main: Web resources path: /usr/share/jellyfin/web
[14:44:55] [INF] [4] Main: Application directory: /usr/lib/jellyfin/bin/
[14:44:55] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration"]
[14:44:55] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[14:44:55] [INF] [4] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[14:44:55] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[14:44:55] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[14:44:55] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[14:44:55] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "10.0.1.24", "172.20.0.3"]
[14:44:55] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[14:44:55] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[14:44:55] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
[14:44:58] [INF] [4] Emby.Server.Implementations.ApplicationHost: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
[14:45:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'ImageInfos' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[14:45:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'ImageInfos' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[14:45:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Permissions' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[14:45:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Permissions' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[14:45:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Preferences' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[14:45:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Preferences' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[14:45:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Users' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[14:45:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Users' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[14:45:01] [INF] [4] Emby.Server.Implementations.ApplicationHost: EFCore migrations applied successfully
[14:45:02] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[14:45:02] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[14:45:02] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.9.9.0
[14:45:02] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.9.9.0
[14:45:02] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.9.9.0
[14:45:02] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.9.9.0
[14:45:02] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.9.9.0
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase", "FixPlaylistOwner", "MigrateRatingLevels", "FixAudioData"]
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'AddDefaultPluginRepository'
[14:45:02] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[14:45:02] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration 'AddDefaultPluginRepository' applied successfully
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'ReaddDefaultPluginRepository'
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration 'ReaddDefaultPluginRepository' applied successfully
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'AddDefaultCastReceivers'
[14:45:02] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[14:45:02] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration 'AddDefaultCastReceivers' applied successfully
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'UpdateDefaultPluginRepository10.9'
[14:45:02] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[14:45:02] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[14:45:02] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration 'UpdateDefaultPluginRepository10.9' applied successfully
[14:45:02] [WRN] [4] Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository: Using an in-memory repository. Keys will not be persisted to storage.
[14:45:02] [WRN] [4] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
[14:45:03] [INF] [4] Main: Kestrel is listening on 0.0.0.0
[14:45:03] [WRN] [4] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {b9db6cf2-55cb-4dcd-872e-3a5f076179f3} may be persisted to storage in unencrypted form.
[14:45:04] [WRN] [4] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /run/s6-rc:s6-rc-init:HJImff/servicedirs/svc-jellyfin/wwwroot. Static files may be unavailable.
[14:45:04] [INF] [4] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[14:45:04] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Generate Trickplay Images set to fire at 2024-08-23 03:00:00.000 -05:00, which is 12:14:55.6129293 from now.
[14:45:04] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2024-08-23 02:00:00.000 -05:00, which is 11:14:55.6049658 from now.
[14:45:05] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 6.0.1
[14:45:05] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
[14:45:05] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[14:45:05] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[14:45:05] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[14:45:06] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
[14:45:06] [INF] [4] Emby.Server.Implementations.ApplicationHost: ServerId: e3e3bf1e66314f5cbd7270bb59af0d90
[14:45:06] [INF] [4] Emby.Server.Implementations.ApplicationHost: Core startup complete
[14:45:06] [INF] [4] Main: Startup complete 0:00:11.9440714
[ls.io-init] done.
[14:45:07] [INF] [12] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean up collections and playlists Completed after 0 minute(s) and 0 seconds
[14:45:09] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 2 seconds
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

1 participant