From 4a324c6fcfb888a821157b3d4b6b153ef3b4f3cc Mon Sep 17 00:00:00 2001 From: Andrew Nimmo <100512+andrewnimmo@users.noreply.github.com> Date: Fri, 7 Jun 2019 21:05:39 +0200 Subject: [PATCH] Update postgresql-migration.md Correct the createuser command to prompt for a password for the new user. Allow the new user to create databases; this is required by the current migration script which drops the target database if it exists and attempts to create a new database. --- docs/operations/migrating/packaged/postgresql-migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/operations/migrating/packaged/postgresql-migration.md b/docs/operations/migrating/packaged/postgresql-migration.md index c507c1b677..ebd16e7ab5 100644 --- a/docs/operations/migrating/packaged/postgresql-migration.md +++ b/docs/operations/migrating/packaged/postgresql-migration.md @@ -95,7 +95,7 @@ Once installed, switch to the PostgreSQL system user. Then, as the PostgreSQL user, create the system user for OpenProject. This will prompt you for a password. We are going to assume in the following guide that password were 'openproject'. Of course, please choose a strong password and replace the values in the following guide with it! ```bash -[postgres@host] createuser -W openproject +[postgres@host] createuser -P -d openproject ``` Next, create the database owned by the new user