Jellyfin Forum
Issue with Jellyfin Plugins and Folder Display in Docker Containe - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Issue with Jellyfin Plugins and Folder Display in Docker Containe (/t-issue-with-jellyfin-plugins-and-folder-display-in-docker-containe)

Pages: 1 2


RE: Issue with Jellyfin Plugins and Folder Display in Docker Containe - 3216 - 2024-04-25

You’re mounting the same folder as both /config and /cache within your docker compose. Move the cache to a separate folder.


RE: Issue with Jellyfin Plugins and Folder Display in Docker Containe - TheDreadPirate - 2024-04-25

That's a good catch. Completely missed that. The cache cleanup job is likely blowing away your plugins and possibly other data.


RE: Issue with Jellyfin Plugins and Folder Display in Docker Containe - ElGustago - 2024-04-29

(2024-04-25, 10:23 PM)TheDreadPirate Wrote: Just looked over your docker compose again.  It is NOT required that you create a separate volume just for plugins, they would go in /config.

Thank you for the hint. 
I did it this way due to the issue, just to temporarily move the folder elsewhere for testing purposes. I forgot to change it back.

I deleted Jellyfin and reran the Docker Compose file without the plugin path. 
Unfortunately, the same problem occurred again. 
After restarting, the plugins disappear. 
I have to reinstall them, restart the container, and then it works until the next server restart.

Is this behavior possibly normal? 
I don't encounter any issues with other Docker containers.

Thanks for your help.


RE: Issue with Jellyfin Plugins and Folder Display in Docker Containe - TheDreadPirate - 2024-04-29

Definitely not normal. I have several test instances of Jellyfin in Docker and do not have to do this.

Try giving your config and cache folders their own directory. I'm wondering if the cache cleanup job is clearing out the plugins.

Here is my docker compose for reference.

Code:
version: '3.5'
services:
  jellyfin:
    image: jellyfin/jellyfin:unstable
    container_name: jellyfin-unstable
    user: 105:104  # Jellyfin user for deb install
    group_add:
      - "993" # Intel render group
    network_mode: 'host'
    volumes:
      - ./jellyfin-data/config:/config
      - ./jellyfin-data/cache:/cache
      - /media:/media:ro
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
    restart: 'unless-stopped'
    # Optional - alternative address used for autodiscovery
    #environment:
    #  - JELLYFIN_PublishedServerUrl=http://example.com
    # Optional - may be necessary for docker healthcheck to pass if running in host network mode
    extra_hosts:
      - "host.docker.internal:host-gateway"

The way you currently have it setup the config sub folders and cache subfolders are mixed together.