We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e47e39 commit e343c7bCopy full SHA for e343c7b
install/planka-install.sh
@@ -26,7 +26,7 @@ PG_VERSION="16" setup_postgresql
26
msg_info "Setting up PostgreSQL Database"
27
DB_NAME=planka
28
DB_USER=planka
29
-DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
+DB_PASS=$(openssl rand -base64 16 | tr -d '/+=')
30
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
31
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"
32
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
0 commit comments