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.

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    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
      4
      ·
      3 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!

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    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
      ·
      5 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?

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    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.

    • JASN_DE@feddit.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      5 days ago

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

      A fork of the internal Owncloud Go rewrite.

    • Great Blue Heron@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 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.

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

      So, use something else

      That’s why I’m here - looking for suggestions

      like Seafile.

      I’ll have another look - you’re not the only person to suggest it. My recollection is that it seemed to be old and not really maintained.

      • Voroxpete@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        I’ve been running Seafile for over ten years. They released version 12.0 just last month. I’m really not sure why people have this impression that it’s not maintained.

        Seafile updates slowly because it’s very much intended as an enterprise product. It has minimal bells and whistles, but the core functionality is reliable and works well. It’s more of a BlackBerry than an iPhone.

        In the side by side tests I’ve seen it syncs a lot faster than Nextcloud. I keep my entire documents, downloads and picture folders synced there across three different machines, nearly 300GB of data in total, and I can wipe my laptop and sync all my files back in under and hour. File transfers basically cap out at network speed, even with large numbers of small files. I’ve used the desktop client, the drive client and the mobile client and never had any complaints with any of them.

        Sidenote, if you create an account on their site they’ll give you a pro license for up to three users, free forever.

        The documentation is a bit of a beast, but worth reading thoroughly. Setup is a little fiddly compared to Nextcloud (that’s a major turn off for a lot of people, understandably so). If you have questions message me and I’ll try to help. If you go with the free pro license, be sure to enable offline garbage collection, it’ll help keep your storage use under control.

        Anyway, I really like it, works well for me. Definitely worth trying out.

  • 3aqn5k6ryk@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    5 days ago

    If you only need onedrive replacement. You might want to try seafile.

    I like nextcloud tbh even it tries to do everything and not being really good at it. When i set it up the first time. I scoured the internet like you wouldnt believe. Took me couple of days optimizing it.

    Now, it runs okay. Has been a few months since it set it up. No complain except a couple of weeks ago android app wont auto upload for some reason, had to logout and login back.

    My main use is cloud storage, photos, note, task, contacts and calendar. Works fine on my android, linux and my wife’s iphone.

  • SK@utsukta.org
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    Nextcloud AIO has an option to skip domain check. the github README hasinstructions. And i love nextcloud because it integrates many features in one, file sharing, office collaboration, chat, rss reader, mailbox, photos, calendar, address-book, etc.

    I have two instances running, one public and one completely local. And having a domain is just convenient but not necessary.

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

    I would suggest looking at Syncthing. It’s not perfect by any stretch, but it works peer to peer, without any kind of central host, ip or domain name requirements. You simply install it on the client machines, and they work out how to talk to each other over any available networks.

    Beware changing the casing on your files or directories though, Syncthing was made entirely case sensitive, which does not play nice with Windows.

    One very nice feature is that it does have an android client (https://f-droid.org/en/packages/com.github.catfriend1.syncthingandroid/), and it supports full background syncing to your local storage on the phone. Great for syncing your photos, but also music. You add some mp3’s on your desktop computer, and by the time you’ve put on your jacket they’re on your phone ready to listen to without any ‘service’ getting in your way.

    A more advanced tip; Get a VPS somewhere in the cloud with cheap storage, and have Syncthing on it listening on port 443. That will allow syncing in more restrictive corporate settings, which often don’t allow connections to port 22000. And it gives you a ‘cloud backup’ of your important files in one go.

  • Onomatopoeia@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    5 days ago

    For just files I’d use Syncthing or Resilio (I keep hundreds of gigs synced with ST). Resilio has a feature that’s very useful - Selective Sync. This allows you to setup a sync job that syncs the index of files, but doesn’t sync the actual files until you select a file(s) to sync on the remote device. I use this to access my media files from anywhere (3TB) which I obviously don’t want to try to sync the entire folder to my phone, etc.

    But since you effectively are on the same LAN, you can use any file copy tool the respective OS’s support.

    Though for WAN connections, I prefer tools with some redundancy/resilience, since those connections can be slow or experience drops, and regular copy tools aren’t designed to contend with that (in Windows the only tool I can think of off hand is Robocopy, but I think Teracopy will at least show you if a file copy fails).

    It really depends on your use-case, what you’re trying to solve for.

  • haverholm@kbin.earth
    link
    fedilink
    arrow-up
    43
    ·
    5 days ago

    Agreed, Nextcloud has gone from a lean little personal cloud to a hulking enterprise hub.

    If you’re after something that’ll just sync your files between devices, try Syncthing. If you need files available online, maybe something like filestash or, like somebody else suggested, SFTPgo.

    There are also tiny, lean calendar and contact server apps out there if you decide you need those. After self hosting NC for years I’m really happy spreading out the tasks over dedicated services rather than having all my eggs in one basket.

    • paperd@lemmy.zip
      link
      fedilink
      English
      arrow-up
      8
      ·
      5 days ago

      the base install is still pretty lean, its only hulking if you enable all their new junk, but if you don’t enable all that, the default, at least when installed it was quite lean.

    • SayCyberOnceMore@feddit.uk
      link
      fedilink
      English
      arrow-up
      14
      ·
      5 days ago

      I replaced Nextcloud with syncthing (files) & radicale (calendar, contacts & todos)

      No-one used the calendar on NC, they just used their phones, Outlook, etc

      No-one used the photo gallery on NC - that’s now Immich … again, with syncthing.

      During the early days, just doing an update would break things.

      For a small home setup, NC is too big, too clunky and just not the right tool.

      • Aufgehtsabgehts@feddit.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        4 days ago

        Totally different for me:

        • NC-calendar syncs two different calendars (work and private) accross all my devices.
        • NC Photos with Memories organizes 2 TB of photos and has all the functions Immich has.
        • NC Password Manager syncs my Passwords
        • I share big files with my clients via NC and photo albums to friends and family.
        • NC syncs and organizes different Input-folders for my paperless-ngx-server.
        • I update NC with a small script, works every time

        So it replaces at least 5 different Programs. And it’s 80 % private use, 20 % for my business. Not too big, not too clunky, just the right tool.

    • redlemace@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 days ago

      I love syncthing!! I have one VM with only debian an syncthing and that machine is backed-up frequently. All others PC’s and vm’s syncthing to that one machine.

      All of them sync ~/downloads

      All machines I use for coding also sync ~/code

      My desktop machines sync ~/documents.

      And so on. Works great (for me)

  • Jeena@piefed.jeena.net
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    5 days ago

    Nextcloud it just too heavy I totally agree, and everything feels slow and sluggish.

    For just files I use Syncthing and couldn’t be happier, it just works in the background without a central server just syncs the files between phones, PCs and laptops by itself. I set it up like 5 years ago when I had enough of Nextcloud and to be honest most of the time I forget that I have it, but I use it every day to sync my password database for KeePassXC, my music, my private and work documents between all my devices.

  • cecilkorik@lemmy.ca
    link
    fedilink
    English
    arrow-up
    19
    ·
    5 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
      5 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.

  • oranki@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    3
    ·
    5 days ago

    My biased opinion is that most people run Nextcloud on an underpowered platform, and/or they install and enable every possible addon. Many also skip some important configurations.

    If you run NC on a bit more powerful machine, like a used USFF PC, with a good link to it, the experience is better than e.g. OneDrive.

    Another thing is, people say “Nextcloud does too much”, but a default installation really doesn’t do much more than files. If you add every imaginable app, sure it slows down and gets buggy. Disable everything you don’t need, and the experience gets much better. You can disable even the built-in Photos app if you don’t need it.

    Not saying NC is a speed daemon, but it really is OK. The desktop and mobile clients don’t get enough love, that’s true.

    I’m talking about the “bare metal” installation or the community Apache/FPM container images. AIO seems to be a hot mess, and does just about everything a container shouldn’t be doing, but that’s just my opinion.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      3
      ·
      5 days ago

      Many “self hosters” simply aren’t comfortable with the basics and expect things to be just an app you install. A simple two-tier app/db architecture is too complex for them (hence the prevalence of sqllite these days).

      I’ve run nextcloud for many years and was simply surprised to hear that it’s “difficult to manage and slow”. My experience has been quite the contrary - it’s been easy to keep up to date and has never failed an upgrade or lost data. And it performs “well enough” since I don’t use low-cost hardware for servers.

      My only complaint is that I need to run occ from a terminal rather than having a web interface for it. Makes running it in a k8s pod kinda annoying.

      • tripflag@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        5 days ago

        one of the main reasons SQLite is gaining in popularity is because people are realizing it has higher performance than separate databases in many usecases. Keeping the communication in-process cuts a lot of overhead (network, memcpys). The fact that you also don’t have to go through the trouble of configuring a separate service is just a bonus :-)

    • Jason2357@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      Your opinion is a hard-learned lesson here. I only recently figured that out. The Nextcloud “app store” is just too tempting.

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

      Agreed. You also have to make sure you get everything configured correctly. The admin should get some suggestions for set up needed in the settings screen.

      I also had to provision a lot of cpu cores for it. It doesn’t use much while idle, but try to pull a doc or picture, and you’ll see the cpu usage skyrocket.

      And at the end of the day, it’s going to be heavily impacted by your disk speed. If you want superior performance, time to consider data center grade solid state drives.