I am hosting more than 10 services currently but only Nextcloud sends me errors periodically and only Nextcloud is super extremely painfully slow. I quit this sh*t. No more troubleshooting and optimization.

There are mainly 4 services in Nextcloud I’m using:

  • Files: as simple server for upload and download binaries
  • Calendar (with DAVx5): as sync server without web UI
  • Notes: simple note-taking
  • Network folder: mounted on Linux dolphin

Could you recommend me the alternatives for these? All services are supposed to be exposed by HTTPS, so authentication like login is needed. And I’ve tried note-taking apps like Joplin or trillium but couldn’t like it.

Thanks in advance.

  • const_void@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    Same and looking forward to the responses here. Nextcloud is too big and complicated. I deployed Immich to cover for the photo library. Still looking for a good solution for notes though.

  • r3dk0w@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    If you’re having issues with NextCloud being slow and having errors, it’s probably because the machine you are running it on is low on RAM and/or CPU.

    I bring this up because what ever replacements you try would likely have the same issues.

    My NextCloud instance was nearly unusable when I had it on a Raspberry PI 3, but when I moved it to a container on my faster machine (AMD Ryzen 7 4800U with 16GB of ram) it now works flawlessly.

      • benjiro3000@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        Even if you ran a basic sqlite nexcloud, if properly optimized, you can deal with millions of files like its nothing. And that is the issue, the bugs and lacking optimization…

        4650g + 64GB ram + Mysql and it was file locking on just a 21k 10GB folder constantly.

        I have written apps (in Go) that do similar and process data 100 times faster then nextcloud. Hell, my scrapers are faster then nextcloud in a local netwerk, and that is dealing with external data, over the internet.

        Its BADLY designed software that puts the blame on the consumer to get bigger and better hardware, for what is essentially, early 2000 functionality.

        • r3dk0w@alien.topB
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          Mysql and it was file locking on just a 21k 10GB folder constantly

          It’ll definitely do that if you keep your database on a network share with spinning disks.

          Spin up a container with sqlite in a ram disk and point it to your same data location. Most of the problems go away.

          • benjiro3000@alien.topB
            link
            fedilink
            English
            arrow-up
            0
            ·
            10 months ago

            It’ll definitely do that if you keep your database on a network share with spinning disks.

            Database and Nextcloud where on a 4TB NVME drive … in Mysql with plenty of cache/memory assigned to it. Not my first rodeo, …

    • sachingopal@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      I agree with this. It needs a good amount of CPU cycle and RAM. Raspi struggled for me too.

      • lannistersstark@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        My NC instance runs on a 24GB RAM, 4 CPU Ampere A1 host(Oracle), and still struggles. YMMV.

        And it struggles as a photo backup host an i5-7xxx and 16GB RAM at home.


        It’s not absurdly slow, it’s just…irritating sometimes.

        • bapichulo@alien.topB
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          Yeah, Ive got this in my setup as well and its been pretty slow. I thought it was a network thing because I’m currently using Tmobile home internet but switching to a fiber optic network with 500Mbps up and down soon. Im really hoping that changes things

  • forwardslashroot@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    I was on the same boat when I was running NC on a container. I switched to VM, and most of my issues have been resolved, but collabora. I am currently using the built-in collabora server, which is slow.

  • murdaBot@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    PSA: saying “I run Nextcloud and don’t have any problems” doesn’t help anyone or contribute anything useful to the conversation. It just makes you look like an insecure fanboy.

    • primalbluewolf@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Disagree, seeing as OP has not posted anything other than “I run Nextcloud and have problems”, providing a counter is straightforward and expected.

        • primalbluewolf@alien.topB
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          Well, the comments were helpful to me, in trying to determine if I want to put effort into setting up Nextcloud. A post full of alternatives, with people saying that Nextcloud is buggy? Obviously, look at the alternatives.

          A post full of comments saying “you shouldnt have those issues, want some help troubleshooting your config” and a couple alternatives? Probably worth looking into Nextcloud rather than writing it off.

  • nick_ian@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    I have my issues with Nextcloud, but it’s still, by far, the best solution I’ve come across.

  • shittywhopper@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    Sorry to hear you’ve had a bad experience. I’ve been running the lsio Nextcloud docker container for 4 years without any issues at all.

  • djbon2112@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    Owncloud.

    I personally never caught the Nextcloud hype, and stuck with the original. So far I’ve heard (and seen, having tried it twoce) nothing but trouble from Nextcloud while my Owncloud install continues to be rock solid for going on 10 years (regularly updated, of course!).

    • Theon@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      I personally never caught the Nextcloud hype

      The “hype” being simply Nextcloud not being OwnCloud which turned proprietary, no?

  • sachingopal@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    You have not stated the hardware you are running this on. It makes a huge difference. Hope this is not Raspi?

    • monnef@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Hope this is not Raspi?

      What is wrong with RPi? I thought RPi 4 for two calendars (one calendar per user) on nextcloud would be plenty, looking at the requirements:

      A 64-bit CPU, OS and PHP is required for Nextcloud to run well. …
      Nextcloud needs a minimum of 128MB RAM per process, and we recommend a minimum of 512MB RAM per process.

      Also, how resource intensive could/should be syncing two personal calendars (via Thunderbird)? I don’t understand, why NextCloud with this virtually negligible task struggles so much. The pi has 7+GB of free memory, CPU load under few %, rarely one core has some load, most of the time nothing accesses the card nor disk (virtually 0 iowait; only with a short spike once every 5 minutes). Why does Nextcloud take half a minute to several minutes for a sync of one calendar in Thunderbird?

      • drpepper@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        Its underpowered, especially for an application based on PHP which is single threaded so requires a core with a fast clock. The RPi4 with 1.5Ghz is woefully underpowered to drive anything php backed.

        • monnef@alien.topB
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          I see 1.8GHz in glances (in my case actively cooled, but since it doesn’t seem to max any core, it probably doesn’t matter). I have other RPi4s, I wonder why is backend in Java (well, Scala) ok, backend in Haskell ok, but backend in PHP wouldn’t be? I still don’t understand how Nextcloud can lock up for so long (tens of seconds) on a simple write event into calendar operation. That hacky unoptimized Java BE which does joins manually and inserts sequentially (so from a db perspective just awful), handles 5-10 times more data and still does it order of magnitude faster. My old phone which was weaker than even RPi4 could handle dozens of such small operations in one second (I believe that was SQLite + Java). There must something seriously wrong with Nextcloud (including PHP runtime) and/or the RPi, because such insignificant amount of data (1 word title, one date, one reminder option), most likely merely few dozens of bytes, takes so incredibly long to process and write to db…

  • Charming-Molasses-22@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    I use linuxserver.io’s nextcloud docker image. While I’ve seen people struggle to setup Nextcloud properly to the point of just giving and installing the snap version of it, I can count the number of times I’ve needed to do manual interventions for nextcloud with LSIO’s nextcloud image. It works like a charm.

  • kon_dev@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    If you are willing to consider commercial products, I can recommend Synology DiskStations (at least the plus series). Samba shares are quite easy to setup, you can use Synology Drive to sync a folder between workstations and Android phones which I use for Obsidian for note taking. They also have calendar options, but I use a hosted account at posteo for that.

    If you want to stick to nextcloud but don’t want to host it, you could consider Hetzner Storage Share. It’s fully managed and worked great for me so far. But I only use it to share photos with others, so not all features.

  • clappingcactus@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    Files: Filerun or File Browser both allow upload and download. I prefer the former as it allows me to preview file contents more broadly (e.g. pictures and videos). But it is paid.

    Calendar: DecSync or Radicale both have no web UI. I prefer the former because it doesn’t need a server at all, just a file sync solution. But, if you have an iPhone there are no clients and you’d have to setup a radicale server anyway.

    Notes: Like others have said, Obsidian with Obsidian-livesync.

    The nice thing about Filerun/DecSync/Obsidian is they store or serve files in close to their original format (e.g. files/xml/plaintext), so you can still open the file up on any computer and read its contents the way you normally would.

  • xiongmao1337@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    This is concerning to me because I’ve been considering ditching Synology and spinning up nextcloud. I like Synology drive but I’m tired of the underpowered hardware and dumb roadblocks and vendor lock-in nonsense. I’m very curious what you end up doing!

    • rangerelf@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Not OP, but I run it on docker with postgres and redis, behind a reverse proxy. All apps on NC have pretty good performance and haven’t had any weird issues. It’s on an old xeon with 32gb and on spinning rust.

      • ilikepie71@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        Do you have redis talking to nextcloud over the unix socket or just regular TCP? The former is apparently another way to speed up nextcloud, but I’m struggling to understand to get containers using the unix socket instead.

        • rangerelf@alien.topB
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 months ago

          I have both Postgres and Redis talking to Nextcloud through their respective unix sockets; I store the sockets in a named volume, so I can mount it on whatever containers need to reach them.

    • dangernoodle01@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      A confirmed, yet still not resolved bug caused me and about 200 other people lose data (metadata) for tons of files. Well, at least 200 reacted to the GitHub bugreport I filled. I think you can easily find it because it’s the most upvoted yet unresolved issue.

      Besides this, it’d often give random errors and just not function properly. My favorites are the unexplained file locks: My brother in Christ, what do you mean error while deleting a file. It’s 2023 holy shit, just delete the damn file. It’s ridiculously unreliable and fragile. They have tons, thousands of bugreports open - yet they focus on pushing new, unwanted social features to become the new facebook and zoom. They definitely should focus on fixing the foundation first.

    • qfla@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      Also not OP. I run nextcloud on 10th gen i3 on spinning rust and performance is good. I run it on LXC container though so without docker

  • frnkcg@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    Did you switch Nextcloud from SQLite to another database?

    Other than that, chances are, whatever makes your Nextcloud install slow will also affect Seafile or whatever else you replace it with.

    I spent some time with top and iotop debugging my server performance problems. I found an issue that was completely unrelated to Nextcloud. Since I fixed it my Nextcloud instance has been completely reliable.

    I looked into Seafile as well but disliked that it stores my files in some weird block format.