• 0 Posts
  • 51 Comments
Joined 3 years ago
cake
Cake day: August 19th, 2023

help-circle

  • Caveman@lemmy.worldtoSelfhosted@lemmy.world•Jellyfin External Drive
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    24 days ago

    If you’re on docker:

    Could be that the path to the mounted disk isn’t exposed. (Test: Go into docker container with bash and try listing the movies and try doing a cat textfile.txt to check read access)

    Could be that even though the path is exposed the media is not writable. (Test: Go into docker container and do a touch command and see if file pops up). Not sure if relevant but is relevant for Sonarr.

    Not mounted?

    It could have been mounted once but is not anymore. Not sure how Sparky works but on Fedora Bazzite I had to add fstab line to auto mount the drive on power up.

    Generally the rule is that if Jellyfin can see and read the files it can play them and will auto add if the path is configured.






  • Since there’s no lack of solutions here I’m going to add one more. If you manage to create bash to update the containers then you can have it run with a systemd service that’s easy to set up. It’s very easy to set up and it’ll work the same as running the command no your computer.





  • At the start I just wanted a desktop machine that runs Steam through sunshine/moonlight so hardware support and gaming stuff such was very important.

    My homelab used to run on my laptop when it could all fit within a couple 100s of GB and I was the only user but moving it was tricky. Since I’m a programmer I’m not afraid of this stuff so I just spent the hours to figure out one problem at a time.

    I ended up figuring out adding HDD whitelist in SELinux, make it accessible in podman, manually edit fstab because tools didn’t work, systemd service for startup, logging in automatically where I already forgot everything and would have not had to do any of this on a bog standard Ubuntu server.




  • I’d recommend starting by hosting a nextcloud instance.

    1. Get a desktop computer, pretty much anything will do but having room to add more HDD is important.
    2. Install Linux distro like Ubuntu or something
    3. Get a static IP so your IP doesn’t change
    4. Setup a router port forwarding rule so that an outside address points to your nextcloud instance.

    Then do some optional steps:

    • Automatically turn on PC when power comes back on (BIOS setting)
    • Startup script that runs nextcloud on startup
    • Install docker to manage services like nextcloud
    • Add some remote desktop thingy to manage your server from your laptop (ssh is also good but a steeper learning curve)
    • Get a NAS for storing data with redundancy.
    • Have some other form of backup like your current Google account, cloud provider or one of your mates with a similar setup.

    That’s pretty much what you need to start hosting your own files, then later on you can setup a email server, media server like Jellyfin, homepage and everything.

    Just go one step at a time and when you hit an issue you can and should ask Google or ChatGPT. Remember, everything exposed to the Internet is vulnerable so take security seriously. Always have everything protected by a decently long password, pairing requirement with your server confirming adding a device or an API key.