this post was submitted on 02 Aug 2023
156 points (92.4% liked)

Selfhosted

40040 readers
882 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
 

Just had NextCloud denying my credentials (not for the first time). I know they weren't wrong because I'm using a password manager. Logs didn't say much. Was about to reinstall (again, not the first time nextcloud went bonkers on me) before I tried a docker compose down && docker compose up. Lo and behold after a restart the credentials worked again.

This stuff is just way too flaky for something so important.

Is OwnCloud good again? My main usecase is saving photos but I don't want them locked away in a database so SeaFile is out.

Edit: I'm going to take the time to reply to you all, bit busy with work and family suddenly. But a little update - I've quickly setup Immich and fired up the CLI to import my library. AFAIK the files are still stored on disk somewhere but metadata is in a database. I didn't realize this before, knowing that I think my mind is made up and Immich is the best solution. Thanks everyone!

you are viewing a single comment's thread
view the rest of the comments
[–] vividspecter@lemm.ee 21 points 1 year ago (5 children)

My problem with nextcloud is more the performance of the web interface rather than it's reliability (and that's even with mariadb + redis setup and a decently fast minipc). It's fine if you avoid the web interface, but that's part of the draw of the thing.

The poor performance carries over to the sync clients too because they're just using webdav http requests. Nextcloud will take like 10+ hours to sync my folders, vs about 10 minutes with Syncthing or something else.

[–] pim@feddit.nl 5 points 1 year ago (2 children)

The performance is indeed pretty terrible. Most stuff runs fine on my NUCs except nextcloud. Maybe throwing more hardware at it solves it though.

[–] CypherPsycho@lemmy.world 5 points 1 year ago

Nope lol I have a pretty godly server and nextcloud is slow as a mf

[–] neshura@bookwormstory.social 1 points 11 months ago* (last edited 11 months ago)

As someone with a beef server: Nope, performance stays unsatisfactory. Redis helps a lot but only if the page is cached which tbh just makes the experience worse if the page isn't cached

Edit: I'm using the AIO installer though, as discussed elsewhere in this post that might be the root cause of the poor performance, will check on the weekend by installing nextcloud manually in a fresh vm

[–] clegko@lemmy.world 4 points 1 year ago (1 children)

MariaDB runs like hot garbage with Nextcloud imo. I’ve gotten to the point where I use legit MySQL or PostgreSQL and performance is night and day. I have no idea why Maria acts out with Nextcloud for me, but I’ve gotten tired of troubleshooting it.

[–] vividspecter@lemm.ee 3 points 1 year ago

Interesting. MariaDB was the path of least resistance for me but I normally prefer PostgreSQL. I'll put it on the list.

[–] NicestDicerest@lemmy.world 3 points 1 year ago (2 children)

There are more twerks to it than "just' using mariadb and redis. Maybe look into Apache/nginx cacheing,tune your mariadb settings and stuff like that. Had performance-problems with my owncloud-instance, now it runs like a champ

[–] jcg@halubilo.social 5 points 1 year ago* (last edited 1 year ago) (1 children)

Honestly the official docker images are hot garbage. I used them when I first tried NextCloud and they load incredibly slow. Shelved it for a while, realized there was a bunch of shit they already have that I was looking for, and gave it a go with my own Dockerfile starting from the PHP alpine image. That one runs waaaayyy better.

[–] NicestDicerest@lemmy.world 4 points 1 year ago (1 children)

I have no experience with the docker container, but optimization for the database and nginx/apache cacheing must be made individually depending on number of cpu cores, ram-size, etc etc etc. When overtuning for example your database it can happen that you run out of RAM, which means your system will crash or freeze. Happened to me. I run it "Baremetal" and configured it "the classic way". Tbh, after those optimizations it runs really, really fast and response times are really quick.

[–] u_tamtam@programming.dev 1 points 1 year ago

I second that. I can't say mine runs fast because my hardware is very modest, but it runs very decently considering it's sharing resources with many other services.

In general, it wouldn't come to my mind to expect good performance by default out of anything pulled from docker. As soon as one starts hosting multiple services and apps simultaneously, containers get in the way or even make impossible proper resource allocation and tuning.

[–] vividspecter@lemm.ee 2 points 1 year ago

Fair, although I feel like performance should be better OOTB, particularly when I'm just using it as a single user. It is an old and complex application that does a lot, so it is understandable.

[–] slippery_salmons@lemmy.today 1 points 1 year ago

I've never really needed the web interface once everything was setup. Mobile app syncs my images and then I browse files through synced desktop clients. Never had any issues this way. I guess I'm not using the extra features some may be after in the webui.