fix: init progress
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-11-22 11:13:54 +08:00
parent 4de873fb2c
commit 71b68e1bba
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -95,6 +95,7 @@ initProgress(){
mkdir -p /opt/uoj/web/app/storage/image_hosting mkdir -p /opt/uoj/web/app/storage/image_hosting
chmod -R 777 /opt/uoj/web/app/storage chmod -R 777 /opt/uoj/web/app/storage
#Using cli upgrade to latest #Using cli upgrade to latest
sleep 15 # Wait for uoj-db
php7.4 /opt/uoj/web/app/cli.php upgrade:latest php7.4 /opt/uoj/web/app/cli.php upgrade:latest
touch /var/uoj_data/.UOJSetupDone touch /var/uoj_data/.UOJSetupDone
#Touch SetupDone flag file #Touch SetupDone flag file