IsaacJT / jellyfin-snap

Snap package for the Jellyfin media server
GNU General Public License v2.0
9 stars 1 forks source link

How to run in Ubuntu? #3

Closed tazihad closed 1 year ago

tazihad commented 2 years ago

I installed the snap version in Ubuntu 22.04. And now I am not sure how to run.

IsaacJT commented 2 years ago

Hi @zihadio, please see the Jellyfin docs: https://jellyfin.org/docs/general/quick-start.html

Once the snap is installed, you can start from step 3.

tazihad commented 2 years ago

@IsaacJT okay. I can see I can access to jellyfin from http://127.0.0.1:8096/. But I can't add any media folder for permission. It's empty. Any help? I see this message

For Linux on Arch Linux, CentOS, Debian, Fedora, openSUSE, or Ubuntu, you must grant the service user at least read access to your storage locations.

this is the connection

❯ snap connections itrue-jellyfin
Interface        Plug                            Slot           Notes
home             itrue-jellyfin:home             :home          -
network          itrue-jellyfin:network          :network       -
network-bind     itrue-jellyfin:network-bind     :network-bind  -
opengl           itrue-jellyfin:opengl           :opengl        -
removable-media  itrue-jellyfin:removable-media  -              -
zrrion commented 1 year ago

I am having the same issue. Permissions appear to be in order, same as yours, but it is unable to see the folder specified. If I cannot figure out what the issue is I am going to try pointing it at a network folder and seeing if that does anything

IsaacJT commented 1 year ago

Hi @zrrion and @tazihad,

What's the path to your media storage? You may need to connect the removable-media interface:

snap connect itrue-jellyfin:removable-media 

This allows the snap to access /media, /run/media and /mnt (https://snapcraft.io/docs/removable-media-interface).

IsaacJT commented 1 year ago

I've added the mount-observe interface to the latest version (which should be published in the store edge channel once it's finished building). This should fix the drop-down menu in the web interface.

If you try it out, you will need to manually connect the interface (snap connect itrue-jellyfin:mount-observe) until I get the interface autoconnection approved by the store team.

tazihad commented 1 year ago

@IsaacJT I couldn't run the snap version. Now I have switched to docker version.