I hear people say that about Nextcloud often, which is part of why I haven’t bothered setting it up yet.

Is there a technical reason why it’s slow and clunky? Any problematic choices with how it was built?

  • nbailey@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    It needs some tweaks to be snappy. The defaults are really bad.

    • change database from SQLite to a proper database like MySQL or Postgres, and configure the database server to use your memory fully
    • increase the PHP memory limit from the default (128M on many distros) to >1G, the more the better
    • install APCu in-memory cache for PHP
    • add Redis as additional cache
    • turn off the antivirus extension, if installed (ClamAV is useless)
    • use http/2 on Apache/nginx to increase performance with multiple connections

    https://docbot.onetwoseven.one/services/nextcloud/

    • nutbutter@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      Thank you for these suggestions. But I have a few questions.

      How can I do the 2nd and 3rd point if I am using docker/podman containers?

      Why is ClamAV useless?