mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-16 10:40:21 +00:00
fix database creation
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
94e56757dd
commit
fe99c3bc78
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ The procedure for migrating the files and the database works like this:
|
||||||
export PG_DATABASE="nextcloud_db"
|
export PG_DATABASE="nextcloud_db"
|
||||||
sudo -u postgres psql <<END
|
sudo -u postgres psql <<END
|
||||||
CREATE USER $PG_USER WITH PASSWORD '$PGDB_PASS';
|
CREATE USER $PG_USER WITH PASSWORD '$PGDB_PASS';
|
||||||
CREATE DATABASE $PG_DATABASE WITH OWNER $NCUSER TEMPLATE template0 ENCODING 'UTF8';
|
CREATE DATABASE $PG_DATABASE WITH OWNER $PG_USER TEMPLATE template0 ENCODING 'UTF8';
|
||||||
END
|
END
|
||||||
```
|
```
|
||||||
1. Run the following command to start the conversion:
|
1. Run the following command to start the conversion:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue