-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use PostgreSQL instead of MySQL (fixes #107) #125
Conversation
As I mentioned "WIP", I pushed that now just to illustrate the current API differences with MySQL helpers. .. Thanks for spotting the glitches anyway 😉 |
Hopefully, the Urban Dictionnary is always here to save me ! |
Any progress on this? Switching to Postgres would be a big improvement. |
FYI:Yes I'm agreed PostgreSQL is more robust and perform better than mySQL but also most of yunohost user focus more on usability and won't really care which database in background. This why I think being able to use PostgreSQL should be an option; |
@JOduMonT do you remember which apps wouldn't work with postgres? |
@aura nope :( |
Ok, because I have used owncloud with postgresql (before using yunohost) during at least 2 years without any issue... |
Seems that the mysql 4 byte support issue now causes problems with Nextcloud News, and possibly Mail as well (still investigating that one). :/ |
9c3bb51
to
86ad9ba
Compare
Migration should works now 🎁 So what should we do now? Do we really want to migrate to PostgreSQL? @YunoHost-Apps/apps-group |
In restore script, don't we need to install PostgreSQL with |
Yep, a fix is coming |
After a fresh install (from testing) I have this error during the migration:
Edit: I don't know why my package_check pass the upgrade test and not my ynh-dev Edit: Migrate from from the commit c864e08 works, not from testing >< |
Thanks a lot!!:heart_eyes::heart_eyes: |
https://paste.yunohost.org/raw/iqazirusuk |
!testme |
Co-authored-by: tituspijean <tituspijean@outlook.com>
FYI, Running that branch, upgrading fails because it starts by trying to make a backup and dumping the "nextcloud" mySQL database, that obviously doesn't exist ! |
!testme |
superseded by #581 |
Problem
Solution
PR Status
Validation
Minor decision
When the PR is marked as ready to merge, you have to wait for 3 days before really merging it.