Skip to content
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

Update Nextcloud Postgresql to 16+ #342

Open
Dremor opened this issue Sep 2, 2024 · 2 comments
Open

Update Nextcloud Postgresql to 16+ #342

Dremor opened this issue Sep 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Dremor
Copy link

Dremor commented Sep 2, 2024

Hi.

I'm a Truechart refugee with multiple Nextcloud instance to migrate, and I'm stuck because Truechart used Postgres 15 and TrueNAS is still using Postgres 13.

Unfortunately it is not possible to load a dump from en newer version on an older one, and as Truecharts nuked their repository, I'm unable to bring my app back to dump with an older PG version.

Would it be possible to update the database version, or at least make a Postgres stack available so I can import, then export with the right pgdump version ?

Best regards

@stavros-k
Copy link
Contributor

A postgres app can be added once the migrations are done.
I also wan to update postgres in all apps, but that needs some work to find a working/reliable way to automate this.

In the meantime, you can spin a docker container with older postgres version manually using docker run ...
Export and then import.

@stavros-k stavros-k added the enhancement New feature or request label Sep 2, 2024
@Dremor Dremor changed the title Update Nextcloud Postgresql to 15+ Update Nextcloud Postgresql to 16+ Sep 2, 2024
@Dremor
Copy link
Author

Dremor commented Sep 2, 2024

(Changed the Postgresql version as 1.15 seem to be PG 16 for some reason ^^")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants