this post was submitted on 13 Sep 2024
117 points (97.6% liked)

Technology

59207 readers
4221 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 1 month ago (3 children)

Well, who is using mysql/mariadb nowadays anyways? If you haven’t made the switch to at least postgres in the past 5 years, you messed up anyways.

[–] Static_Rocket 11 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago (1 children)

Yeah the Open Source version. I doubt that the hosted version is using that. Cloud providers have super fast DB’s that are basically compatible with the MySQL syntax

[–] [email protected] 2 points 1 month ago

There still is no documented way to migrate an existing WordPress to PostgreSQL. The PostgreSQL plugin assumes a fresh installation, everything else is not assumed to be there.

[–] [email protected] 9 points 1 month ago* (last edited 1 month ago) (4 children)

Nextcloud.

Though I think it has some level of support for postgres by now. I should check on that.

[–] [email protected] 15 points 1 month ago (2 children)

I use NextCloud w/ Postgres and it works completely fine.

[–] [email protected] 6 points 1 month ago (2 children)

Great. It wasn't too long ago that MariaDb was still the "recommended" option.

[–] [email protected] 6 points 1 month ago (1 children)

It's still "recommended" and pretty much every tutorial I see uses it, but Postgres seems to work just fine.

[–] [email protected] 2 points 1 month ago

I just checked the docs for installation instructions, it didn't seem to make a distinction anymore.

[–] [email protected] 5 points 1 month ago (1 children)

It still is, as that’s what the developers use.

[–] ikidd 4 points 1 month ago (1 children)

The AIO docker image put together by the NC team uses postgres. That's the recommended way to install NC now, and having used a multitude of methods in the decade I've uses nextcloud, I 100% recommend the AIO image.

[–] [email protected] 1 points 1 month ago (1 children)

Is there a minimum system requirements? I have bare metal nextcloud on a raspi 4, 4 GB ram, and it's pretty snappy.

I would consider migrating to the AIO version for more stability but IDK what toll the virtualization would take.

[–] ikidd 2 points 1 month ago

The virtualization shouldn't have a negative effect, since containers are just using the host kernel so it's not much extra overhead.

I would give it a try, it's simple enough to set up docker on the pi, turn off your native NC install, and add the docker compose file and stand it up. Or build another SD card with a fresh raspbian install and swap it out.

[–] [email protected] 2 points 1 month ago

nextCloud becomes notably faster when you migrate from MySQL to PostgreSQL.

[–] ikidd 2 points 1 month ago (1 children)

It's worked on Postgres for several years now, and it's the preferred and recommended backend for NC.

[–] rolling_resistance 5 points 1 month ago (1 children)

As someone who self-hosted it, I can't say this is true.

The MySQL or MariaDB databases are the recommended database engines.

https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/linux_database_configuration.html

[–] ikidd 1 points 1 month ago

Huh. I figured they changed to PG since that's what their AIO image is using, and having used both myself in regular baremetal installs, postgres is by far the better performing backend.

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 2 points 1 month ago (1 children)

Are you thinking of ownCloud Infinite Scale? NextCloud is still PHP.

[–] [email protected] 1 points 1 month ago

Ah, yes. Thanks.

[–] [email protected] 1 points 1 month ago

My question was ironic, implying that anyone using it in a productive system/software/service is doing a very bad job at software architecture. I avoid any product relying on super slow software pieces.

[–] [email protected] -3 points 1 month ago

MySQL sucks, and almost everyone who willingly use it also sucks.