Hello
I run Joplin Server v2.13.3 in docker on a synology NAS successfully with postgreSQL v15.
When I try to upgrade to the lastest postgreSQL 16.1 I run into the error that the data directory was initialized with version 15 which is incompatible to version 16.1 (pls see the attached screenshot).
Yes, you are right. I've moved everything simply to a backup folder, before I started the new postgresql version. The ne container needs an empty data folder.
I had been meaning to get around to doing this for ages. Your post helped a lot. I did remember to move my original mapped volume folder before starting up the new Postgres docker container and all went well! The bit that was putting me off from staring the upgrade was working out the Postgres dump and import commands and how to run them within the container. Your post saved me a LOT of searching and experimenting.