I have just updated to 6.5.0 and just also updated in the target Postgres to the latest version. When I have done this though I can not start my local docker.
I have noticed that it says Postgres 11 is not compatable.
You’re welcome. Yes I just looked up the error and appears there is a confliction that goes back some time. I’m not sure there is a Wappler way? Can you not roll back the Postgres version? I’m a MySQL user so all things Postgres are quite unknown to me unfortunately.
Thanks again. Yeah I’ve been putting it off for years but I think 11 is now end of life. So I thought why theres a new major update of wappler I should update everything.
Guess I’ll try update it and if I’m successful will post the solution here. Just before I do @Teodor is there any simple way to do this?
Postgres 15.3.x really needs to be removed from the options if it is not compatible. As do any other incompatible versions. Surprised this has not come up before.
Well then the only thing left is to do a full database backup first and restore it with the new Postgres version.
You can actually do a full database backup from the publishing toolbar below in Wappler ( next to the deploy options) it will be then saved as files and used when you deploy a fresh new instance.
You might also want to perform a full database backup first with other tools as well just to be sure first.
This can be dangerous so Backup, backup, backup!!
After that the steps in Wappler will be:
Make sure you have the right target active
Make a full database backup by clicking on make db backup button in the bottom toolbar
When successful then select to shutdown destroy the database, the icon next to deploy. This will throw the database files away but will keep the backup
Change the project docker settings to use the latest Postgres 15
Deploy your project. This will bring the new web and database instance and also restore the last database backup.