Compare commits

...

2 Commits

Author SHA1 Message Date
CanbiZ
df2ee20e60 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2025-12-08 15:58:21 +01:00
CanbiZ
a08e96d8be Update jellystat.sh 2025-12-08 15:58:20 +01:00

View File

@ -194,8 +194,8 @@ function install() {
}
fi
# Create database
sudo -u postgres psql -c "CREATE DATABASE ${DB_NAME} WITH OWNER ${DB_USER} ENCODING 'UTF8';" || {
# Create database (use template0 for UTF8 encoding compatibility)
sudo -u postgres psql -c "CREATE DATABASE ${DB_NAME} WITH OWNER ${DB_USER} ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' TEMPLATE template0;" || {
msg_error "Failed to create PostgreSQL database"
return 1
}