Open link in a new tab

Content

Expand project menu

[Docker compose installation] Error during a restore of the database role "openproject" does not exist

Hi there!
I've installed a instance of OpenProject using the Docker-compose method and created a backup of the database and files following the documentation,
now I'm trying to figuring out if the backup that I have created works.

While trying to restore the database (https://docs.openproject.org/installation-and-operations/operation/restoring/#restoring-a-dump),

I have had an error with the step. 3 (Recreate the database using..) the container gives me the following error:

ERROR:  role "openproject" does not exist

I have tried also to create the database with the postgres account but the restore ended always with a 500 error when I start again the webworker.

Thank you for your support
Antonio