corrections and troubleshooting

pull/11196/head
adam-op 2 years ago
parent 2be678b3a2
commit 6c0cddcfeb
  1. 19
      docs/installation-and-operations/misc/migration-to-postgresql13/README.md

@ -133,7 +133,7 @@ include_dir = 'conf.d'
sudo su - postgres -c "cp -p /var/lib/pgsql/10/data/conf.d/custom.conf /var/lib/pgsql/13/data/conf.d/custom.conf"
sudo su - postgres -c "sed -i 's|45432|45433|' /var/lib/pgsql/10/data/conf.d/custom.conf"
sudo su - postgres -c "/usr/pgsql-13/bin/pg_ctl start --wait --pgdata=/var/lib/pgsql/13/data -o '-c config_file=/usr/bin/postgresql-13-setup'"
sudo su - postgres -c "/usr/pgsql-13/bin/pg_ctl start --wait --pgdata=/var/lib/pgsql/13/data -o '-c config_file=/etc/postgresql/13/main/postgresql.conf'"
# Getting the password for the PostgreSQL database from the configuration
sudo openproject config:get DATABASE_URL
@ -263,3 +263,20 @@ Please change the command appropriately for other installation methods. Once con
```sql
ANALYZE VERBOSE;
```
## Troubleshooting
###### User "openproject" does not have a valid SCRAM secret - psql: error: FATAL: password authentication failed for user "openproject"
Check `/var/lib/pgsql/13/data/pg_hba.conf` for any appearance of `scram-sha-256` and replace with `md5`
Check `/var/lib/pgsql/13/data/postgresql.conf` for any appearance of `scram-sha-256` and replace with `md5` (search for `encryption`)
Reload Configuration of PostgreSQL server with `systemctl reload postgresql-13`

Loading…
Cancel
Save