diff --git a/docs/changelog.rst b/docs/changelog.rst index a8fe66235b..daa8d37d75 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,9 @@ CHANGELOG 2.107.0+dev (XXXX-XX-XX) ------------------------ +**Documentation** + +- Improve PostgreSQL upgrade documentation 2.107.0 (2024-06-07) ------------------------ diff --git a/docs/install/upgrade.rst b/docs/install/upgrade.rst index 2b4a97e330..eb515a4ee9 100644 --- a/docs/install/upgrade.rst +++ b/docs/install/upgrade.rst @@ -216,7 +216,7 @@ Recreate user and database: :: sudo cp /etc/postgresql/10/main/pg_hba.conf /etc/postgresql/14/main/pg_hba.conf - sudo systemctl restart PostgreSQL + sudo systemctl restart postgresql You can now restore your database dump. @@ -229,14 +229,14 @@ You can now restore your database dump. .. note:: Note you have to use ``-h 127.0.0.1`` to connect with the ``geotrek`` user (this user cannot connect with the default unix socket). Connecting with ``geotrek`` is important for restored entities to have the right owner. - Some errors can occurs, around extensions creation or spatial_ref_sys table content. + Some errors can occurs, around extensions creation or ``spatial_ref_sys`` table content. This is normal. We already create these extensions on previous steps. .. warning:: Any special configuration or tune setting in your ``postgresql.conf`` will not be reported, - you should report configuration yourself in ``/etc/postgresql/14/postgresql.conf``. + you should report configuration yourself in ``/etc/postgresql/14/main/postgresql.conf``. Then restart your PostgreSQL :: @@ -260,7 +260,7 @@ You can now upgrade your Geotrek-admin, and check that the right database is use .. note:: - If you want to use default 5432 port, you should change it in ``postgresql.conf``, + If you want to use default 5432 port, you should change it in ``/etc/postgresql/14/main/postgresql.conf``, restart PostgreSQL service, and change it by reconfiguring Geotrek-admin. ::