fix: wallos (#16666)

This commit is contained in:
Tobias
2026-08-22 00:39:29 +02:00
committed by GitHub
parent c21c0e7e8d
commit 6a2dfe1421
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ function update_script() {
msg_ok "Apache2 Reloaded"
msg_info "Running Database Migration"
$STD curl http://localhost/endpoints/db/migrate.php
cd /opt/wallos
$STD sudo -u www-data php /opt/wallos/endpoints/db/migrate.php
msg_ok "Ran Database Migration"
msg_ok "Updated successfully!"
fi
+1 -1
View File
@@ -40,7 +40,7 @@ EOF
$STD a2ensite wallos.conf
$STD a2dissite 000-default.conf
$STD systemctl restart apache2
$STD curl http://localhost/endpoints/db/migrate.php
$STD sudo -u www-data php /opt/wallos/endpoints/db/migrate.php
msg_ok "Installed Wallos"
msg_info "Setting up Crontabs"