It is a synology NAS and all forum posts and tutorials say to install container managerand set up docker. Well tough luck because my model doesn’t seem to be compatible with container manager.

Ok, I install the the server in a pc running linux mint, now when I try to create a library I can’t point where the files are.

  • tvcvt@lemmy.ml
    link
    fedilink
    English
    arrow-up
    15
    ·
    16 days ago

    It sounds like in your situation, you’d create a shared folder where your media lives (smb or nfs) on the Synology and mount that share to the machine running jellyfin. Then adding the folder as a library will be the same as choosing a local folder.

    • beerclue@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      16 days ago

      This is what I do. Shared folder via NFS, mounted inside the VM (fstab), added to the volumes of the docker container in the compose file…

    • quediuspayu@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      15 days ago

      That was the idea but it comes to give it the path to the folder I don’t know what path I have to give it, the one I have from the file manager (smb://nas/videos/) jellyfin says it is not a valid path.

      My guess is that I need to give it the path to where it is mounted but I can’t find it or even know if it is somewhere at all.

      • whyNotSquirrel@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        15 days ago

        On jellyfin you have to give the local path on the server, where your SMB share is mounted

        The smb path to mount from Synology is like:

        smb://[NAS]/volume1/[name of your share]

        if you have more than one volume you need to choose the good one

        Edit: not sure if it was the question actually

      • tvcvt@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 days ago

        In the long run you’ll want to specify where it lives. Manually you could use the mount command, but really you want the share to mount every time you reboot the machine so it’s always available. If you’re after a GUI app to do that, check out smb4k. I think that has options to do automatic mounting to a directory of your choosing (the path would typically be something like /media/<your username>/<synology hostname>/<name of share>).

        If you want to do this from the command line, look into autofs, which lets you define a configuration and automatically mount an SMB share whenever your system needs it.

        • quediuspayu@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          14 days ago

          I agree, I will have to learn to do it. One headache now to avoid all future headaches.

          I’ll check them out, thanks.

    • quediuspayu@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      15 days ago

      It help to understand some things, I’m with the last poster:

      And what do I do if I installed Jellyfin via Ubuntu software, it runs, but /etc/passwd shows no jellyfin user exists?

      • Pup Biru@aussie.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 days ago

        you should be able to find the user jellyfin is running as with:

        ps aux | grep jellyfin
        

        the first column is the user name or ID

        you’re looking for a line something like this

        
        biru       13576  0.1  9.6 281378280 3170688 ?   Ssl  Jul09  85:05 /usr/bin/jellyfin --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
        
        • quediuspayu@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          15 days ago

          Let’s see, it returned three lines:

          oriol       2759  0.0  0.0   3580  1280 ?        S    10:21   0:00 bwrap --args 38 -- jellyfin.sh
          oriol       2768  0.1  1.9 275074792 323812 ?    Sl   10:21   0:09 jellyfin
          oriol      11618  0.0  0.0  11804  2304 pts/0    S+   12:01   0:00 grep --color=auto jellyfin
          
          • Pup Biru@aussie.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            15 days ago

            looks like jellyfin is running as the user “oriol”. does that sound right?

            assuming you have your files mounted somewhere locally that jellyfin can access, their file permissions will need to allow access to that user

              • Pup Biru@aussie.zone
                link
                fedilink
                English
                arrow-up
                1
                ·
                14 days ago

                if you want it to be permanent you’ll probably want to mount via /etc/fstab (this is the list of things that are mounted every boot, so it’ll persist after a reboot)

                that said, i’d guess it’ll be in /mnt

  • ddh@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    13 days ago

    On my DS1522+ I have installed the Jellyfin app from the SynoCommunity repository. I used to have Jellyfin on a separate host, but using the app has been much less painful. Maybe that’s an option for you?

    • quediuspayu@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 days ago

      That was my first idea, unfortunately the DS416 does not support the container manager that I read everywhere is necessary to install jellyfin.

      • ddh@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 days ago

        You might try it anyway; as far as I know Container Manager is not required for the Jellyfin app. I have several containers running, but not Jellyfin. Jellyfin is just a regular app installed through Package Center (after adding the SynoCommunity repository).

    • quediuspayu@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 days ago

      From your command and the help of mount I manage to understand a few things:

      cifs is the type of filesystem I’ve seen mentioned

      -r is the read only part you mentioned, what’s -ro for?

      And I guess that I could change uid=root for my user name and gid=root for some of the groups I see under my user name.

      Thanks

      Ps: I just tried, I get a syntax error. I suspect it is because the password contains a parenthesis.