Interesting. Do you remember where you read this?
The process seems simple enough, but it’s a scary task…
bjoern_tantau@swg-empire.de 1 year ago
Just read the other day here that Nextcloud runs much much better with PostgreSQL. Migrating to that (or the all in one installation) is my next big project.
Interesting. Do you remember where you read this?
The process seems simple enough, but it’s a scary task…
Okay, did the migration just now. Everything seems a little more responsive, but I wouldn’t call it way faster.
Either way, it wasn’t very scary at all. For anybody coming after me:
./occ db:convert-type --password $POSTGRES_PASSWORD --all-apps pgsql $POSTGRES_USER postgres $POSTGRES_DB
docker compose up -d --remove-orphans
Thank you for this. I really dislike MySQL/MariaDB and favor SQLite whenever possible, or PostgreSQL otherwise. The DB migration of my Nextcloud instance was high in my to-do list, and your instructions saved me research time.
Here’s a cool article I found on Nextcloud performance improvements, and connecting Redis over Unix sockets gave me a more substantial performance improvement than migrating to Postgres. Very happy I fell down this rabbit hole today.
To note if you’re following the tutorial in the link above, and for people using the nextcloud:stable container together with the recommended cron container:
config/config.php
, as well as config/redis.config.php
/etc/localtime
and /etc/timezone
volumes the app container did, as well as the volumes_from: tmp
Well, another guy responded before you, so that would be the last time I heard it.
It was probably on one of the posts in this community.
morethanevil@lemmy.fedifriends.social 1 year ago
Yes way faster, I switched a long time ago. If you want more extra speed add redis cache via unix sockets ☝🏻
4am@lemm.ee 1 year ago
Looks like I’ve got a project for next weekend