Hi, I got a small server as a for-fun-project and I really enjoy having it. With all the stuff going on in the world I would like to self host more things, but I’m pretty new to the scene. So far it’s just an old desktop with Ubuntu server os acting as media server. I would like to add some sort of lightweight and preferably open source file share akin to Google Drive with the ability to save/upload, view and edit files on the server from the outside internet. I’d also like a shared calendar that can also be accessed from the internet. Do you have any good recommendations this? Thanks

  • AmbiguousProps@lemmy.today
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 day ago

    You can host remote files via SFTP + cloudflared (or another reverse tunnel provider) without opening any ports. Then you use a file manager to add a network share with your SFTP information.

    For the calendar, WebDAV is probably your best bet, which also works with reverse tunneling. You can also use WebDAV in place of SFTP if you prefer to only have one (or two with a reverse tunnel) service configured. Nextcloud is a great option since it has WebDAV and file management built in.

    I would use Docker to do it all, but there is a learning curve associated with setting all of this up in a secure way (which is what the reverse tunnel helps with).

    • rhabarba@feddit.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Also, using a container adds severe overhead.

      IMO, Unison is a pretty good software for this use case.

      • AmbiguousProps@lemmy.today
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 day ago

        I suppose that it adds technical overhead (not sure I would call it severe though), but in my opinion the benefit of docker is how easy it is to spin up a new service, and how easy it is to update and maintain the containers.

        • rhabarba@feddit.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          Docker does not even work on my servers - wrong operating system, I guess. Docker containers have one more disadvantage on systems where it does work: the contents of a container aren’t updated when the host operating system is, basically leaving 0-days unpatched longer than absolutely necessary.

          • AmbiguousProps@lemmy.today
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            Interesting, what OS are you running? I’ve never ran into one that it doesn’t work on so that’s surprising.

            I would counter that disadvantage with this: due to testing constraints, docker containers are usually updated more quickly when there’s a 0 day, and you don’t have to patch your entire OS if one single container has one. It reduces operator overhead greatly, because that’s what it’s designed to do. Even if one of your containers has a vulnerability, because it’s a container, it won’t necessarily affect your entire system, depending on the vulnerability.

              • AmbiguousProps@lemmy.today
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 day ago

                Ah, yeah, OpenBSD would do it. You’d basically be limited to running it in a VM which would have severe overhead. For Linux based stuff, though, it has minimal overhead.