Allthough there is a warning - when trying to use PostgreSQL 17 database with Nextcloud (…30), is somebody on his way migrating the previous pgsql 16.x main to 17 main?
What are the expectable problems ? Or if there are no serious probs - what can be done to suppress the warning in the admin settings?
I can’t answer your actual questions, and I don’t think many here can, since version 17 has only been out for a few days.
However, I don’t think it’s worth taking any chances, unless you intend to test it and actively contribute to Nextcloud to get it officially supported, which has no urgency whatsoever, since every Postgresql version is supported for 5 years.
For production instances, I would generally recommend sticking with the versions that Nextcloud officially supports, be it PHP or the database, and only upgrade to a new major version when it is officially supported by Nextcloud, unless you know exactly what you are doing and why you are doing it.
OK if it has no benefit or indends producing performance probs for NC migrating postgresql makes no sense and it’s fine to wait.
I just tested a migration to verify that it is possible. Never the less the warning in NC 30 using a db not inbetween >=12 and <=16 came a little bit surprisingly.
The last migration from 15 to 16 doesn’t give any warnings or restriction hints - maybe NC has been sufficient developed to support the 16 main version that moment postgresql has been released it’s new main version.
I am not a database expert, but yes, newer versions can of course offer performance improvements. However, in many cases, applications will need to be adapted as well to take advantage of these performance improvements, especially if those improvements are associated with new database features.
It is therefore very likely that you will notice no difference at all or only minor performance improvements, but in the worst case, if there are significant changes in a new release, performance may even decrease, or if there are actual incompatibilities, it can also result in certain features of Nextcloud not working or even data loss, although the latter is rather unlikely.
So at the end of the day, you have to ask yourself if it’s worth the risk of being an early adopter. I would say no, unless there is a very specific reason to upgrade to the new version, but even then you should probably test it extensively before using it on a production system.
They may have added the check more recently. Also, this warning does not necessarily mean that there will be issues with the new version. I would interpret it more as ‘not supported’ or ‘not tested’, which in turn means ‘you’re on your own’
I’m actually running NC 30 and PG 17 and do not have any problems with that. At least i don’t know. I’m not power user. If someone knows some tasks to verify proper working, would be great to tell me.