this post was submitted on 01 Dec 2023
71 points (98.6% liked)

Selfhosted

60693 readers
423 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I haven't seen this posted yet here, but anybody self-hosting OwnCloud in a containerized environment may be exposing sensitive environment variables to the public internet. There may be other implications as well.

you are viewing a single comment's thread
view the rest of the comments
[–] possiblylinux127@lemmy.zip 9 points 2 years ago (1 children)

Nextcloud is the right answer

[–] COASTER1921@lemmy.ml 1 points 2 years ago (3 children)

Any tips for speeding it up? Loading can be painfully slow at times. I was reading that it may be the database (I use MariaDB which in theory shouldn't limit it with 32gb RAM and an R7 1700x).

[–] TechAdmin@lemmy.world 3 points 2 years ago (1 children)

Is MariaDB on spinning disk or ssd?

I initially set up Nextcloud with MariaDB on spinning disk but it was slow even completely empty. I moved that container to ssd & performance was a lot better. The web UI may still have some slow loading parts but I can't say for sure since rarely use it. Caldav+carddav+Nextcloud client are how I usually interact with it.

[–] COASTER1921@lemmy.ml 1 points 2 years ago

NVME only. I suspect caching just isn't enabled based on previous comment. If it's not by default then I didn't change it.

[–] ShortN0te@lemmy.ml 2 points 2 years ago

Implement redis. Like shown here: ( you can ignore most stuff there) https://github.com/nextcloud/all-in-one/blob/main/manual-install/latest.yml

[–] possiblylinux127@lemmy.zip 1 points 2 years ago (1 children)

What are you using for your reverse proxy? Make sure you have caching

[–] COASTER1921@lemmy.ml 1 points 2 years ago (1 children)

I reverse proxy over tailscale to a VPS because I have double NAT... The connection to the VPS is direct with wireguard at least, no relay node. Adds ~30ms latency. But even when I connect direct locally it's not substantially faster.

I'll check my config.php for caching. I don't recall adding anything for it so if it's not on by default then that's a likely reason. Thanks!

[–] possiblylinux127@lemmy.zip 1 points 2 years ago

Yeah for my instance I remember I had to do a few performance optimizations. Also make sure you are up to date because nextcloud has gotten performance upgrades.