83
submitted 8 months ago by otter@lemmy.ca to c/selfhosted@lemmy.world

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?

you are viewing a single comment's thread
view the rest of the comments
[-] nbailey@lemmy.ca 56 points 8 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 7 points 8 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?

[-] Nyanix@lemmy.ca 2 points 8 months ago

This has me curious, not to derail the topic, but I always hear that ClamAV is the best way to go for Linux. Is there a free solution that you would recommend in place of it?

[-] possiblylinux127@lemmy.zip 3 points 8 months ago

I think the best solution is to use good internet hygiene

load more comments (4 replies)
load more comments (14 replies)
this post was submitted on 07 Mar 2024
83 points (95.6% liked)

Selfhosted

40198 readers
453 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS