Adding step to repair horizon GUI

This commit is contained in:
2020-07-22 22:57:23 +02:00
parent fe1318a7b2
commit 3dd31c51ea

View File

@@ -253,6 +253,18 @@ step_101() {
exe service pixelfed restart && echo "ok" exe service pixelfed restart && echo "ok"
} }
# Src: https://docs.pixelfed.org/running-pixelfed/troubleshooting.html
step_102_info() { echo "Fix if horizon services is running but not showing the administration interface"; }
step_102_alias() { ALIAS="fixhorizon"; }
step_102() {
exe cd $toolPath
exe php artisan package:discover
exe php artisan horizon:install
exe php artisan route:cache
echo -n " [I] Restarting pixelfed horzion service..."
exe service pixelfed restart && echo "ok"
}
# Sequence Revision # Sequence Revision
VERSION_SEQREV=7 VERSION_SEQREV=7