Update install.sh

This commit is contained in:
Stefan Pejcic 2025-04-29 14:42:25 +02:00 committed by GitHub
parent 22f792a40c
commit 0809b69ac4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -590,6 +590,9 @@ docker_compose_up(){
fi
cp /etc/openpanel/mysql/initialize/1.1/plans.sql /root/initialize.sql > /dev/null 2>&1
# added in 1.2.5 for dumping dbs
chmod +x /etc/openpanel/mysql/scripts/dump.sh
# compose doesnt alllow /
cd /root || radovan 1 "ERROR: Failed to change directory to /root. OpenPanel needs to be installed by the root user and have write access to the /root directory."