The web interface comes up and I can configure stuff but the libraries I create remain empty. When I open a shell in the container I can ls /media and I see the content from the host.
So far, the only error I have noted in the logs is:
[11:45:36] [ERR] [8] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: /
System.UnauthorizedAccessException: Access to the path '/var/cache/ldconfig' is denied.
---> System.IO.IOException: Permission denied
Re SELinux: from what I understand, the libraries have the correct context: system_u:object_r:container_file_t:s0:c331,c645
Can someone help me understand the issue and provide ideas for mitigation?
Jellyfin seems to have read access to my library, since I can do ls /media/music and ls /media/movies in container’s terminal and I get to see my host library mounted there.
1.) Stopped the container
2.) Deleted cache and config folders on the host
3.) Created new cache and config folders in the same directory
4.) Started container (same flags), need to do the whole setup again … but it works…
It turns out that when you set up jellyfin for the first time and accidentally select / as library folder instead of /media/ it messes up the config. deleting and recreating the library didn’t solve it. I think this is a bug in jellyfin.