156
submitted 1 year ago* (last edited 1 year ago) by midas@ymmel.nl to c/selfhosted@lemmy.world

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
[-] NicestDicerest@lemmy.world 3 points 1 year ago

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)

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

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.

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

Selfhosted

39677 readers
243 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