Remove Matomo node_modules cleanup; tweak SolidTime

Stop removing /opt/matomo/node_modules in Matomo install/upgrade scripts (leave tests removal intact). For SolidTime, set SESSION_SECURE_COOKIE=false and APP_FORCE_HTTPS=false in the generated .env (and append them if missing) to ease non-HTTPS/local installs. Also add a warning message in the SolidTime UI JSON instructing admins to verify new accounts via: php /opt/solidtime/artisan admin:user:verify YOUR@EMAIL.
This commit is contained in:
CanbiZ (MickLesk)
2026-04-17 07:59:49 +02:00
parent 3aebeb8c8c
commit efaeefd22d
4 changed files with 11 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ if [[ -d /opt/matomo/matomo ]]; then
find /opt/matomo/matomo -mindepth 1 -maxdepth 1 -exec mv -t /opt/matomo {} +
rm -rf /opt/matomo/matomo
fi
rm -rf /opt/matomo/node_modules /opt/matomo/tests
rm -rf /opt/matomo/tests
mkdir -p /opt/matomo/tmp
chown -R www-data:www-data /opt/matomo
chmod -R 755 /opt/matomo/tmp