This guide is mainly based on Arch's wiki, with some additions:
- I couldn't upgrade the database because the upgrade tool needs the
- The created cluster could not be used to upgrade from the old data because the locale was set to 'C' (needed to add
- The upgrade tool checks if the the new postgresql installation has a compatible postgis version. That means we need postgis 2.4 for postgresql 11. Unfortunately, we cannot install it over the package manager, instead we need to compile it from source.
# Stop currently running server systemctl stop postgresql.service # Install new packages