I got Jellyfin up and running, it’s 10/10. I love this thing, and it reinvigorated my love for watching movies. So I decided to tackle all the other services I wanted, starting with Paperless-ngx…

What a nightmare. It doesn’t have a Windows install so I made an Ubuntu VM. Don’t get me started on Ubuntu. I just spent about 12hrs trying to get Portainer to cooperate and had to give up. I tried just installing Paperless the “normal way” and had to give up on that too.

My point: if you’re getting started selfhosting you have to embrace and accept the self-inflicted punishment. Good luck everybody, I don’t know if I can keep choosing to get disappointed.

Edit: good news! Almost everything I wanted to do is covered by Jellyfin which can be done in Windows.

  • baduhai
    link
    fedilink
    English
    1551 year ago

    I know linux isn’t for everyone, but self hosting on windows is self-inflicted punishment. It’s just not the right platform. Sure it’s doable, but it’s death by a thousand papercuts.

    • Matt The Horwood
      link
      fedilink
      English
      301 year ago

      also Ubuntu will add more complexity to things, Debian will cover most of what you need.

      • @Nouveau_Burnswick
        link
        English
        71 year ago

        I wish I knew this before I started.

        But my headless Ubuntu is working now, so I am not changing it.

        • @marcos
          link
          English
          91 year ago

          Don’t rush it. You will have plenty of opportunities to change into Debian when your Ubuntu stops working.

        • @DigitalWebSlinger
          link
          English
          31 year ago

          Be me whose server is on Ubuntu 18.04 and needs upgrading to get Bluetooth into home assistant 😭

        • @[email protected]
          link
          fedilink
          English
          11 year ago

          For what it’s worth, I usually install Ubuntu Server instead of Debian because it comes with a few more things out-of-the-box that I would install anyway. I have several installations of 22.04 that have been upgraded since 16.04 and they work no problem. (I also have a few Debian installations working similarly well.)

      • 𝓢𝓮𝓮𝓙𝓪𝔂𝓔𝓶𝓶
        link
        fedilink
        English
        341 year ago

        Took maybe 5 minutes total to install paperless-ngx in docker on a Debian vm. No hassles, no headaches.

        The problem is trying to install tools built for Linux on Windows.

          • @[email protected]
            link
            fedilink
            English
            31 year ago

            If you have a spare computer, install proxmox on it.
            There are loads of tutorials how to do this, it has a good installer, after which it’s all a web based GUI.
            Use it to spin up VMs to your heart’s content, create scripts to automatically provision a new Ubuntu or Debian or whatever flavour. Or run up some Windows VMs. You can pass through GPUs and other devices (tho this can be difficult, again lots of tutorials out there).

            Be prepared to spend some time learning proxmox. It took me 2 or 3 installs to figure out the best way to set up networks, storage etc. Mostly cause I just jumped in, found something that could be better, googled that and found a useful tutorial on it so started again.
            But once proxmox is running, everything else become so much easier

            • Chewy
              link
              fedilink
              English
              41 year ago

              I don’t think proxmox is great if you don’t know Linux yet. It’s an additional tool to understand. But I do regret not getting into proxmox earlier, since it makes trying new things so much easier.

            • @clavismil
              link
              English
              11 year ago

              could you share some tutorials? i’m thinking to rebuild to setup better storage for VMs and backups

              • @[email protected]
                link
                fedilink
                English
                21 year ago

                That’s a pretty broad question.
                How many nodes are you running? Are you using CEPH? Or another flavour of distributed storage? Or external nas/san? Or just local arrays? Zfs? Btrfs?
                What’s your backup strategy? Do you use Proxmox Backup Server?

                If you can figure out what you don’t like about your current setup, there will probably be a tutorial or article about alternatives.
                Sometimes they can be applied without having to reinstall (actually, 99% of them probably can. Sometimes I just find it easier to start from scratch tho)

        • @[email protected]OP
          link
          fedilink
          English
          2
          edit-2
          1 year ago

          I’ve got Docker up and running, but getting anything to work within Docker or getting a machine to access the services that it says are running is a different story

          • @[email protected]
            link
            fedilink
            English
            41 year ago

            I have worked with Docker/WSL for a number of years and it is more difficult compared to Docker in Linux. There are a lot a unique quirks and bugs that are an absolute pain to deal with.

            Would not recommend for any relatively complex use case and certainly not for a server.

          • Chewy
            link
            fedilink
            English
            31 year ago

            This sounds like ports aren’t forwarded correctly. At least that’s a regular problem I have. ss -tunlp shows which ports are open and helps me often to find out if I’m just too dumb again ;D

            I do think that if you continue to set up services on Linux (with or without docker), you’ll get quickly to a point where setting up a new service takes only a few minutes.

        • @Im_old
          link
          English
          -71 year ago

          TECHNICALLY (yes, I’m fun at parties) you need 3 commands, as you also need to do an “apt update” after adding the repo. But we can chain commands of course. Do chained commands count as one? We could debate that for hours. Like why I prefer vi.

          My point? None really, just having fun.

            • @Im_old
              link
              English
              4
              edit-2
              1 year ago

              Joke’s on you, I login as root (no I don’t, but I do sudo -i instead of each command)

      • Cyclohexane
        link
        fedilink
        English
        91 year ago

        Windows is just not ready for this stuff. Most of this stuff is built for Linux. Linux is THE server OS. And windows is painful for developers too, so there’s less solutions for it.

        You’ll be a lot better off with Linux for self hosting.

  • @[email protected]
    link
    fedilink
    English
    361 year ago

    Absolutely do not do this on windows. It makes everything a nightmare. Bare metal install ubuntu server and install docker/portainer. Its 5 copy pasted commands and you never have to look at the terminal ever again if you don’t want to.

  • @[email protected]
    link
    fedilink
    English
    311 year ago

    My point: if you’re getting started selfhosting you have to embrace and accept the self-inflicted punishment. Good luck everybody, I don’t know if I can keep choosing to get disappointed.

    I would say that your self inflicted punishment is using windows. Switch to debian and thank me in six months

      • shnizmuffin
        link
        fedilink
        English
        91 year ago

        To put it another way, you’re having difficulty staying motivated to ride your bicycle with square wheels.

        “You should try using round wheels.”

        “No.”


        Have you considered Docker?

  • @JTode
    link
    English
    201 year ago

    I will be one of many saying this: if you want to self-host you need to learn Linux. It can be done, but this is not like taking a pottery class and you don’t really get to show anyone, the only people who will understand are people who are also able to do what you do. It’s rewarding on many levels, but pleasure and sociality are not among those rewards. :>

  • 𝓢𝓮𝓮𝓙𝓪𝔂𝓔𝓶𝓶
    link
    fedilink
    English
    121 year ago

    None of this should have been a hassle, to be honest. Even if you were taking the hard route there.

    Instead of this post why not try asking for help with what you’re stuck on?

    • @[email protected]OP
      link
      fedilink
      English
      -121 year ago

      It’d be an obnoxiously long comment chain, plus its starting to feel like its not worth the effort. I’ve found some Windows alternatives to the stuff I was trying to do since I made the point which has been great! Still missing some functionality, but its better than what I was doing a few hours ago

      • 𝓢𝓮𝓮𝓙𝓪𝔂𝓔𝓶𝓶
        link
        fedilink
        English
        61 year ago

        Hey, you do what works for you.

        Just suggesting, next time, asking for help before you get to frustrated and give up. We all started somewhere and that’s what this community is good at.

        • @[email protected]OP
          link
          fedilink
          English
          21 year ago

          I appreciate it, I was asking for help through Github and (when forced to) Discord, but the help wasn’t consistently helpful so I tapped out on that too

  • Eager Eagle
    link
    English
    11
    edit-2
    1 year ago

    I recently ditched Portainer entirely - it looks good, but when debugging anything it is really not helpful, often getting in the way. And if it runs on the first try I don’t need a web interface.

    My tips:

    • Run self hosted things on Linux and open their webpages on Windows if you really want or need to keep using Win.
    • Prefer docker compose “stacks” over docker directly or native installs. Personally, I just use 4 sub-commands for pretty much everything I do: up, down, pull and logs. You (probably) don’t need Portainer.
    • If after 1. making sure the docker-compose.yaml is right, 2. setting up the .env file if present, and 3. following the instructions in their README; a container stack doesn’t run after 2 or 3 attempts: copy the error message and search their GitHub issues - chances are someone else also faced that problem. If you can’t find anything similar, open a new issue.
    • @Melco
      link
      English
      11 year ago

      deleted by creator

      • Solar Bear
        link
        fedilink
        English
        41 year ago

        I use Portainer a lot and have no issues with it. There’s very little you can’t do without Portainer though, it’s just a convenient web frontend to access Docker tools. It’s helpful if you manage a lot of stuff or multiple hosts. I also use it at work to expose basic management to members of my team who aren’t Linux or Docker savvy.

      • @talbot
        link
        English
        31 year ago

        It’s essentially a GUI for Docker. It has its own quirks that, in my opinion, don’t match Docker’s UX and can make it more complicated to customize deployment. But Portainer can make multiple environments or dozens of containers easier to manage. e.g. I do most of the actual work using compose yamls but use Portainer as a reference to organize subnets, ports, and volumes. Or if I’m unsure what the problem is and just want to see all the details of each container faster.

    • @[email protected]OP
      link
      fedilink
      English
      31 year ago

      I tried that, but it wouldn’t install for me. I went through many guides and videos on setting it up, but something in the process failed every time

  • @[email protected]
    link
    fedilink
    English
    91 year ago

    I thought this too, I hated docker because it was supposed to be the solution of “works on my machine” and the only thing that did for me was force me to learn more configurations besides the configuration of the service you wanted to install.
    And as you said, plus the hassle of having to run some Linux distro.
    But little by little I had to get deeper into docker and Linux, mainly because of my work, and now I can easily deploy any service in the VPS I have or test it with WSL. I even started dockerizing some of my own flows like building and deploying my own projects with docker.

    Believe me, it’s worth all the time to learn docker and linux.
    Start small, few lines or keywords each day, you won’t have everything you want to deploy in a day or two if you don’t already know all the technologies.
    And remember, if you don’t easily find something you can always come to ask in a post and we can try to help you!

    • @[email protected]OP
      link
      fedilink
      English
      -261 year ago

      I appreciate the post, but I’m gonna pass on ever using Linux again. I’ll just keep my eyes open for when these things get ported to Windows haha because I think I’ll puke if I have to type sudo or curl again

  • @[email protected]
    link
    fedilink
    English
    51 year ago

    Doing anything new will require work/pain the first few times. It is just part of the learning process. If that sudden jolt of happiness when you get it working can outweigh the depression caused by hours of trudging through the setup/failures, you’ll constantly be improving. Like all things, give it a fair shot and if it brings you more pain than pleasure, stop doing it.

    There are now a lot of people who are making a living from providing self-hosted services to others for small fees. Even if you decide to not self-host, there are multiple ways to get the lion’s share of benefits. Its not a binary choice between Google and self-hosting.

  • @Willdrick
    link
    English
    41 year ago

    Been there, done that. Start with something frendlier. I personally love CasaOS (its just 1 command you need to copy-paste on a fresh ubuntu server install)

  • @clavismil
    link
    English
    41 year ago

    Maybe it’s hard at the beginning but as you keep doing it becomes easier. If you feel overwhelmed take a break for a few days and try again later. I think we all have been there and hit a wall. Self host, open source and Linux communities are friendly you can ask for help and find someone willing to help you, so don’t be afraid to ask for help (as I was before). Just take small steps.

    Don’t give up. Have fun.

  • @[email protected]
    link
    fedilink
    English
    31 year ago

    It was a pain for me and it still is sometimes, but I like it. I found myself enjoying thinkering more than actual services I host hehe. I think its rewarding, but yeah it can be frustrating. I personaly know exactly 0 people that heard about docker, so dont feel bad about being lost and failing that attempt. If you dont want to manage a server you dont have to give up on linux completely. I started using POPOS! few months ago and its more friendly than windows IMO, it just works! Good luck mate