I tried Nextcloud a while back and was not impressed - I had issues withe the speed of the Windows sync that were determined to be “normal” with no roadmap to getting fixed. I’m now planning to move off Windows desktop so that won’t be an issue - so I thought I’d try again.

I went to nextcloud.com, clicked on Download-> Nextcloud server -> All-in-one -> Docker image - Setup AIO. This took me to the github README at Docker section. I’m already running docker for other things so I read the instructions, setup a new filesystem for my data directory and ran the suggested docker command with an appropriate “–env NEXTCLOUD_DATADIR=”. I’m then left with a terminal running docker in the foreground - not a great way to run a background server but ok, I’ve been around for a while and can figure out how to make it autostart in the background ongoing. So I move on to the next step - open my browser at the appropriate URL and I’m presented with a simple page asking me to “Log in using your Nextcloud AIO passphrase:”. I don’t have a Nextcloud AIO passphrase and nothing I’ve read so far has mentioned it. When I search for it I get some results on how to reset it, but not much help. I could probably figure that out too, but after reading some more I found that Nextcloud requires a public hostname and can’t work with a local name or IP address. I’m already running my home LAN with OpenVPN and access it from anywhere as “local” - I don’t really want to create a new path into my home network just for Nextcloud.

I’m sorry - I know this sounds like a disgruntled rant and I guess it is. I just want to check that I’m not missing obvious things before I give up again. All I want is a simple file sync setup like onedrive but without the microsoft.

  • uranibaba@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    I haven’t used nextcloud in years, but last I read about it was to avoid AIO at all cost. There is another version and for some reason AIO was shit and not AIO was OK. Can’t remember why though.

    • Great Blue Heron@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      That seems to be the case. Really sucks that the documentation at nextcloud.com directs people to the AIO. I guess they hope that if you have a bad time trying to install your own server you might buy their cloud service.

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 days ago

    Nextclouds docker setup is an absolute disaster, I don’t blame you for giving up. It’s also slow as molasses to sync anything.

    A couple things to look at, I would probably say look at KaraDAV first.

    • KaraDAV, this is a simple webdav server that’s compatible with the Nextcloud sync clients. Uses SQLite for a DB so setup is super simple. Has a basic web based file browser too.

    • Owncloud Infinite Scale, still a bit of a setup, but it’s better than what Nextcloud offers.

    • Syncthing, this is my current setup, just a robust and solid file sync program. You can pair it up on your server with something like SFTPGo or KaraDAV to provide a web file manager and WebDAV server if you need that. Downside is there’s no selective sync or virtual folder support.

    • Great Blue Heron@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      simple webdav server that’s compatible with the Nextcloud sync clients

      Now THAT is interesting - when I was last experimenting with Nextcloud I learned that the files part is just a webdav server. Unfortunately I also learned that they have a bit of a handshake before the webdav so the client wouldn’t work with my apache2 webdav server. Thanks!

  • pineapple@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    I haven’t used nextcloud but it seems frustrating that there isn’t any really good selfhosted file cloud. Nextcloud is really chunky and inefficient but it seems to be the best option despite that.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      There are a few decent options, all with some caveats:

      • Seafile - wicked fast, but uses a funky disk format, so you need either a FUSE layer or the web UI/API to access anything
      • OCIS/OpenCloud - default install uses a funky file format, but you can change this to POSIX if you want (experimental on OCIS, might be default now on OpenCloud?)
      • others - probably work fine, but they get less blog attention

      I’m playing with OCIS and I like it so far. There was some funkiness when I had things misconfigured, but now that it’s working, I like it.

      • pineapple@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        16 hours ago

        I’ve heard of seafile but i remember something about it turned me off, ocis on the other hand sounds awesome, owncloud but written in go? I will definitely look into that and thanks for the recommendation.

        That’s right I need native drive mounting into dolphin and Macos finder. Seafile doesn’t have it for any linux file Explorer which means it won’t work for me.

        I think Ocis does have it though.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    edit-2
    5 days ago

    There’s a lot of stuff going on here, so let me break down your post for each issue:

    1. You need to understand the difference between a docker run command, and detaching to run a container in the background. Just running it with ‘run’ keeps it in the foreground.

    2. For the passphrase issue: https://github.com/nextcloud/all-in-one/discussions/1786

    3. Lastly, if you’re not familiar with containers, and this is a single purpose machine, you’d be better off just running the bare project on the host. If there’s no need for containerization, just skip it.

    • Great Blue Heron@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      4 days ago

      You need to understand the difference between a docker run command, and detaching to run a container in the background. Just running it with ‘run’ keeps it in the foreground.

      Yes, I understand this. I was just highlighting that it’s not a great experience for a new user to follow the instructions to setup a server and be left with it running in the foreground.

      For the passphrase issue: https://github.com/nextcloud/all-in-one/discussions/1786

      Thanks! This should get me past my current hurdle so I can do some more testing. Again - not a great experience to have to come to a forum to get help to find a passphrase. I’m pretty sure I didn’t miss any steps?

      Lastly, if you’re not familiar with containers, and this is a single purpose machine, you’d be better off just running the bare project on the host. If there’s no need for containerization, just skip it.

      I’m familiar with containers, but think they’re overused. Stupid little things that are a single Python script (for example) shipping as a Docker image! But, I thought Nextcloud was complex enough to be worthy of a container? This is not a single purpose machine, but I’m an old, retired, sysadmin - I have no problem running a few different servers on the same host.

      Are you referring to the “Archive” Community Project installation method?

  • cecilkorik@lemmy.ca
    link
    fedilink
    English
    arrow-up
    16
    ·
    4 days ago

    Nextcloud file sync is a convenient centralized solution but it’s not designed for performance. Nothing about Nextcloud is designed for performance. It’s an “everything and the kitchen sink” multi-user cloud solution. That is nice for a lot of reasons. Nextcloud Sync is essentially a drop-in replacement for Google Drive or OneDrive or Dropbox that multiple people can use and that’s awesome. It works the same way as those tools, which is a blessing and a curse.

    Nextcloud is for the same role you SAY you want, “All I want is a simple file sync setup like onedrive but without the microsoft.” That’s what it is. But I don’t think it’s what you’re actually asking for, and it’s not supposed to be. It has its role, and it’s good at that role. But I don’t think you actually want what you say you want, because in the details you’re describing something totally different.

    If you want performance sync for just files, SyncThing is made for this. It has better conflict resolution. It has better decentralized connectivity, it doesn’t need the public IP server. It uses a very different approach to configuration. Its configuration is front-loaded, it takes a fair bit of work to get things talking to each other. It’s not suitable for the same things Nextcloud Sync is. But once you have it set up it’s rock solid reliable and blazing fast.

    Personally I use both SyncThing and NextCloud Sync. I use them for different purposes, in different situations. NextCloud Sync takes care of my Windows documents and pictures, I use it to share photos with my family. I use it to sync one of the factors for my password vault. It works fine for this.

    I also use SyncThing for large data sets that require higher performance. I have almost 400 GB of shared program data, (and game data/saved games), some of which I sync with SyncThing to multiple workstations in different parts of the country. It can deal with complex simultaneous usage that sometimes causes conflicts. It supports fine tuning sync strategies and files to ignore using configuration dotfiles. It’s a great tool. I couldn’t live without it. But I use both. They both have their place.

    • Jason2357@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      4 days ago

      I use both as well. They server different purposes. When my wife wants to take a quick scan of a paper document and archive it instantly, or have pictures auto-upload, or open and edit a document we worked on a year ago, all on her IPhone, the Nextcloud client works great and really has no competition in the iOS world. When I want to keep the files in my home directory, including some big, regularly changing files, instantly synced between computers and hosted VMs, Syncthing is amazing. I also add Syncthing shares as an external source in Nextcloud, so I can open those files via the web. As others have said, Nextcloud works fine, provided you don’t start installing all sorts of “apps” you don’t need -stick to the basics.

  • jBoi76@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    Try Synching. Its More of a file sync than file share/Cloud but it’s very lightweight and works without issue. I use it to sync many of my important files to have them always accessible offline on all devices.

  • Fedditor385@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    I wanted something that has OnlyOffice integration and basically an selfhosted Google Drive, so tried Nexcloud as the most popular solution… but… it was a pain to set up, its internal workings make handling reverse proxying a pain and it feels extremely slow.

    I will try out Seafile, they seem to have just the 2 things I need and nothing more.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 days ago

    And here I am having used it for a decade and perfectly happy. I try other ones like Owncloud every once in a while and find them lacking. It was slow once upon a time but if you changed to postgres and used redis, it improved immensely. Today it’s quite fast and the sync has been working great for a long time.

    Use docker-compose with the AIO and it’ll be a lot easier to manage. There’s example compose files in the github repo.

    • Great Blue Heron@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      4 days ago

      Yeah, I can see how someone that has “grown up with it” could be happy. But as and experienced sysadmin coming at it for the first time - the documentation is a bit lacking.

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        Well, when I moved to the AIO, the documentation was plain wrong on several points. I submitted a bunch of changes that I had to do to make it work and they worked those changes in for the most part. Now it seems pretty workable, as a friend of mine used it to set his instance up and said it seemed to go fairly smoothly.

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    5 days ago

    I’ve never used the AIO image. I’ve heard it’s weird. This is my compose file for the community image:

    compose.yaml
    volumes:
      db:
    
    services:
      db:
        image: mariadb:10.6
        restart: always
        command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
        volumes:
          - db:/var/lib/mysql
        secrets:
          - mysql_root_password
          - mysql_nextcloud_password
        environment:
          - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/mysql_root_password
          - MYSQL_PASSWORD_FILE=/run/secrets/mysql_nextcloud_password
          - MYSQL_DATABASE=nextcloud
          - MYSQL_USER=nextcloud
    
      nextcloud:
        image: nextcloud
        restart: always
        ports:
          - 8080:80
        depends_on:
          - db
        links:
          - db
        volumes:
          - /var/www/html:/var/www/html
          - /srv/data:/srv/data
        secrets:
          - mysql_nextcloud_password
        environment:
          - MYSQL_PASSWORD_FILE=/run/secrets/mysql_nextcloud_password
          - MYSQL_DATABASE=nextcloud
          - MYSQL_USER=nextcloud
          - MYSQL_HOST=db
    
    secrets:
      mysql_root_password:
        file: ./secrets/mysql_root_password.txt
      mysql_nextcloud_password:
        file: ./secrets/mysql_nextcloud_password.txt
    

    You can access it on port 8080 and perform the initial setup manually. For the database server address, use the db hostname. You’ll have to use a reverse proxy for HTTPS.

    You could also try OpenCloud, which is a Go rewrite of ownCloud.

    • Great Blue Heron@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      I’ve never used the AIO image. I’ve heard it’s weird.

      It does seem to be. So, I find it weird that the “core” documentation leads a new user to installing AIO.

      You could also try OpenCloud, which is a Go rewrite of ownCloud.

      Sounds interesting - thanks.

  • Father_Redbeard@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 days ago

    Seafile. It’s super fast and lightweight. There are some caveats though:

    • Data is stored in git-like chunks on the server side. There is Seafuse and Sea drive functions that you can leverage to “assemble” the data on server side for backups. I personally use rclone mount, then backup.

    • Paywall hiding some features. The community edition is free but is missing some features that pro has. Pro edition is free for 3 or less users.

    • Documentation isn’t great. The forum is active so that’s helpful, but some of the docs take some time to understand

    • Chinese owned. As far as I can tell, there is no call home for a self hosted server, so I don’t think it’s a worry in that case.

    All that said, I like it much better than Syncthing for it’s selective sync. All files on each client are synced to the server. But unlike Syncthing, it doesn’t sync all data with each client. This is vital for me with some devices with small storage drives, so I would t want all files to sync. Yet I can still reach to the server from any client and pull data from any other client. Syncthing has an ignore flag, but that seemed way more trouble to setup than just sticking with Seafile.

      • TCB13@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 days ago

        Filebrowser is great, it just lacks two things 1) 2FA and 2) the always upcoming OnlyOffice integration. If we got those two nothing else could ever compete with it. It already does pre-views and text editing, but Office documents would be great.

  • Grumuk@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    4
    ·
    4 days ago

    Honestly I hate all these file sharing self hosting things. Looking at you nextcloud owncloud syncthing seafile etc. They all suck. All I want is NFS support in android, that’s my only pain point accessing my files from anywhere from my home network. I can already VPN/wireguard into my network from anywhere, but I can’t grab an ebook or mp3s off my NFS server from my phone or tablet, I have to have some other dumb infrastructure for it. Just (#@$^* put NFS in android already!!!

    /endrant

    • ms.lane@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      NFS seems a poor choice for mobile when simply losing the link will cause end user troubles.

      I hard dropped it years ago when a momentarily dropped link would mean you needed to reboot the client machine or you’d lock up for minutes at a time trying to poll the mounted directory. (which, when pinned in a gui file manager, meant every time I opened the file manager or a save dialog box, my entire system would just lock up for minutes at a time)

      I use an unholy combination of smb and sshfs now, since they can fail gracefully where NFS just can’t.

    • sem@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 days ago

      I could never figure out NFS … ( it only works with unix usernames??) But since I have smb servers I can use that with Android

    • Great Blue Heron@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      Yes! There used to be a little utility that could map a SMB share in Android, but that got killed years ago.