I’m looking to finally ditch Onedrive with a self hosted alternative, but I’m not sure what to go with. I want something with all of the files on a central server, with an Android client with the option to sync individual files for offline access as needed. Preferably the files should also be stored in plain format on the server to make backups easier and as a fallback if the service completely fails and I don’t have time to fix it. Linux and Windows clients are a bonus but I’m happy just using a web gui if that’s all that’s available. These are the options I’ve considered so far:

Seafile - This was the one that I thought fit my needs the best until earlier but apparently it has a weird disk layout which means the files are basically inaccessible by anything else?

Nextcloud - I had originally ruled this out because I don’t care about any of the additional features which people claim also slow it down and make it a bit of a resource hog, and I also don’t want to deal with forced https. However I think the community image may actually be what I want as it seems to be just the file server and works with just http? I am a bit confused about the different options for the database though. https://hub.docker.com/_/nextcloud/

Syncthing - Not quite what I’m looking for as you need to sync the entire thing, and I don’t like whatever weirdness is going on with the Android app at the moment

SAMBA share - Also not really what I’m looking for as there’s no offline syncing, but very easy to set up and basically nothing to go wrong

Are there any other options I should be looking into?

  • Jakeroxs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 hours ago

    Even though I don’t use the extra stuff in nextcloud, it runs perfectly fine on my hardware and is great as a replacement for onedrive functionality

  • lefixxx@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    5 hours ago

    syncthing for peers like PCs NAS and backup server. copyparty for online browsing/cherrypicking files

  • Matt The Horwood@lemmy.horwood.cloud
    link
    fedilink
    English
    arrow-up
    14
    ·
    14 hours ago

    I run nextcloud, but I do use other apps. Like contacts and calendar, the news app and even the whiteboard.

    But I run it like the work servers I manage, I still don’t understand how so many find running nextcloud so difficult.

  • billwashere@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    9 hours ago

    I love seafile. And if you need access on the main server there is a server-side FUSE filesystem which exposes all libraries at a mount point as a regular directory hierarchy.

    • paequ2@lemmy.today
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      How the heck did you install Seafile!? I spent a whole day trying to get it to work, but there are so many moving parts and proxies behind proxies behind proxies. I managed to get the UI to load, but other parts of the app didn’t work. I want to like it, but it seems pretty complicated to install… 😢

  • Dave@lemmy.nz
    link
    fedilink
    English
    arrow-up
    19
    ·
    23 hours ago

    OwnCloud Infinite Scale might be the option you missed?

    Nextcloud was forked from the PHP Owncloud some years back, and they added all the apps and things. But Owncloud is like Nextcloud but focused only on the files.

    I am a bit concerned that you’re talking about not wanting HTTPS and see it as a bad thing that something requires it. Given you can get free certificates these days, why would you not want a secure connection? Even if you’re accessing via a VPN to server tunnel, I see no reason not to have it.

    • Infernal_pizza@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      I hadn’t considered OwnCloud because I thought it was pretty much the same as NextCloud but mainly aimed at enterprise. Does it have any advantages over Nextcloud?

      I haven’t got round to setting up https yet since I only access my server via my LAN or Tailscale. When I do get round to setting it up I might use a reverse proxy rather than configuring it for every service. I also need to work out how to do automatic certificate renewal and if that’s even worth doing, so I don’t want to be forced into half-assing it for Nextcloud before I’m ready to do it properly. With Nextcloud specifically I also don’t like the fact that you can’t change the domain after the initial setup, using the community edition via http seems to get round that problem as well

      • ragica@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        Use Caddy for reverse proxy. It’s magic. Just put in config the subdomain/domain and localhost port to point to, it will fetch and configure and keep certificates up to date with zero effort. You’ll forget certificates exist. It just works.

      • MentalEdge@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        22 hours ago

        I also need to work out how to do automatic certificate renewal and if that’s even worth doing

        This is what certbot is for. For example, with nginx, you just set up the webserver to be reachable via your domain.

        You then install and run certbot, and it will aquire, install and configure, and then set itself up to auto-renew, a certificate. All with just one command.

        With Nextcloud specifically I also don’t like the fact that you can’t change the domain after the initial setup

        Yes you can?

        I’ve done it thrice now.

        Is this some limitation of the docker AIO stack?

          • irmadlad@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            edit-2
            19 hours ago

            Locate and edit the config/config.php. There is a line that starts with ‘trusted_domains’ Add your new domain thusly:

            'trusted_domains' =>
              array (
                0 => 'old-domain.com',
                1 => 'new-domain.com',
              ),
            

            You’ll have to update your web server configuration, your DNS records, and you may have to clear any server cache you may have.

            ETA: Ooops! Forgot to add citation: https://help.nextcloud.com/t/howto-add-a-new-trusted-domain/26

              • irmadlad@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                6 hours ago

                Thanks for the backup. LOL I get nervous sharing code. Sure it worked for me, but in the back of my head I see some poor guy deploying any code I’ve used and smoke starts coming out of his server, the front cover falls off, and his Ethernet cable is belched out the back. LOL

      • Dave@lemmy.nz
        link
        fedilink
        English
        arrow-up
        3
        ·
        22 hours ago

        Owncloud Infinite Scale was a rewrite of the codebase to get away from PHP. In theory this should be better able to run on lower end hardware. People tend to say they use it if they are only wanting the file part and not all the apps. Personally I use Nextcloud because I want the apps.

        Automatic certificate renewal is built into many reverse proxies, and can be done for free, so I don’t see a reason not to do it.

        Nextcloud has federation of some features so I’d guess that would be a key reason you can’t change the domain (you also can’t change a Lemmy domain once set up). However, you’re using it for file sync for yourself, right? Regardless of what you pick (even Nextcloud), you could surely just set up a new instance under the new domain then move all your files over.

        • Infernal_pizza@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          22 hours ago

          Do you have any recommendations for a reverse proxy to use or resources on how to set one up? It’s not something I’ve properly looked into yet

          • Dave@lemmy.nz
            link
            fedilink
            English
            arrow-up
            2
            ·
            21 hours ago

            Others might have suggestions. I run everyhting in docker. I then use Traefik as the reverse proxy in docker, where you add labels to the containers you want it to handle and it works things out on it’s own. I have also configured it to do certificates automatically, including automatic domain validation using a Cloudflare API.

            Caddy and Nginx Proxy Manager are other popular ones that can configure HTTPS certificates for you.

            You don’t have to overthink it. Choose a reverse proxy you like. If it does automatic certificates, that’s great. If not, Let’s Encypt (which most of these services use for the free certificates) have a certbot program you install and run on a cronjob to renew certificates.

    • artyom@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      23 hours ago

      Exposing https requires a lot more configuration and also carries with it security risks.

      • Dave@lemmy.nz
        link
        fedilink
        English
        arrow-up
        7
        ·
        23 hours ago

        I don’t think it’s really true these days that it needs a lot of config. Maybe reverse proxies will do it for you automatically without much setup.

        I am curious what the security risks are for HTTPS for a service that will already be accessible remotely?

        • artyom@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          42 minutes ago

          Maybe reverse proxies will do it for you

          Reverse proxies require configuration.

          what the security risks are for HTTPS for a service that will already be accessible remotely?

          Already accessible via VPN. Meaning it’s only accessible to those explicitly allowed to access it.

  • bruce965@lemmy.ml
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    22 hours ago

    You are invited to join the CopyParty! This has a web UI accessible from the browser, also from mobile, files are stored directly on the filesystem (not encrypted or on a database) and you can mount it as a network drive on Windows and Linux. But it doesn’t let you sync files for offline use, at least not without the help of some auxiliary tools.

    You won’t find anything simpler to install and configure than this.

    • Sneezycat@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      4
      ·
      22 hours ago

      Copyparty is very cool, but it also confuses me a bit. It keeps giving me 403 forbidden errors when I try to rename or move files on certain folders.

      I’m pretty sure it’s a permission problem, because the root folder is read only but the folders inside have permissions per user, but I never figured it out.

      I still use it daily, 5/7 perfect software.

    • MentalEdge@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      22 hours ago

      FolderSync pairs nicely if you want some sync features on android.

      On a desktop or laptop I’d just mount it as a drive.

      If you really want automatic sync with offline availability, the Nextcloud desktop client has been solid for years now.

  • tuff_wizard@aussie.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    20 hours ago

    Just adding my own experience, Nextcloud AIO runs plenty fast for just me (family is slow adopters) but its simple user interface is slowly working for them.

    I run it in an LXC with access to two cores of an i7-9700 and 4gb of ram.

    All the files are stored on an old usb2 external hdd.

    Obviously that set up won’t scale well and the hdd will be the first bottleneck but I notice no performance issues and as a shameful windows user the way it ties in like OneDrive is great.

    I can also just mount it as a network share for my Linux computer.

    I do use the calendars and other features though.

  • exu@feditown.com
    link
    fedilink
    English
    arrow-up
    9
    ·
    22 hours ago

    Many of the people who worked at OwnCloud Infinite Scale are now at OpenCloud due to disagreements between them and the company which purchased OwnCloud.

    • Infernal_pizza@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      Yes that was another thing I came across earlier, there seems to be more controversies around Owncloud than Nextcloud which kind of put me off considering how similar they seem to be anyway. And Opencloud is still a work in progress unless I was reading outdated information?

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        22 hours ago

        Funny you should mention that, Nextcloud originally forked off OwnCloud due to drama.

        I think the server is working, it’s basically OwnCloud Infinite Scale but rebranded. Not sure about the client apps, those might be work in progress still. I haven’t really kept up with it either though

        • stratself@lemdro.id
          link
          fedilink
          English
          arrow-up
          1
          ·
          14 hours ago

          Nextcloud forked from the old PHP-based ownCloud stack, while Opencloud forked from the Infinite Scale Go-based stack. It also by default preserves the filesystem hierarchy on your server without needing a database, using a storage driver called PosixFS.

          The Windows clients currently do support selective syncing so it is on-par with OneDrive. Android client looks to be forked from old Owncloud, and has offline availability too.

  • sem@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 hours ago

    I run nextcloud on a Raspberry Pi and I don’t use the other apps, just the file stuff. It seems like the best supported option to me.

    • Infernal_pizza@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      22 hours ago

      Does it have any advantages over Nextcloud? I did briefly look into it but it just seemed to be Nextcloud but primarily aimed at enterprise customers

      • irmadlad@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        22 hours ago

        Well, for one, it’s not quite as bloated as NextCloud imho. Just you and your files. It does have add ons, but they are not required.

    • Infernal_pizza@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      22 hours ago

      Does it have any advantages over Nextcloud? I did briefly look into it but it just seemed to be Nextcloud but primarily aimed at enterprise customers

      • artyom@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        21 hours ago

        It’s a lot more simple. If anything Nextcloud is better for Enterprise customers.