diff --git a/docs/source/intro/installation.rst b/docs/source/intro/installation.rst index 310451f2f8..479ba53666 100644 --- a/docs/source/intro/installation.rst +++ b/docs/source/intro/installation.rst @@ -42,9 +42,9 @@ To assume the role of ``postgres`` run as root: .. tip:: - If you see an error message like ``psql: FATAL: role "" does not exist``, probably you have not created any roles yet. - You can run ``psql -l`` to check the existing roles and specify the correct one with the ``-U`` option. - If the error message is ``psql: FATAL: database "" does not exist``, you can use the default database ``template1`` with ``psql -d template1`` to connect. + If you have installed PostgreSQL through Conda and you see an error like ``psql: FATAL: role "" does not exist`` or ``psql: FATAL: database "" does not exist``, the default role and database apparently do no exist. + The command ``psql -l`` prints the list of existing databases and the associated roles. + You can try connecting to one of those by using the ``-d`` and ``-U`` option to specify the database and role, respectively, for example, ``psql -d template0 -U some-role``. Create a new database user account for AiiDA by running: