fixes
This commit is contained in:
parent
e26b3204c4
commit
a35207bd4d
@ -125,13 +125,10 @@ FILESYSTEM_CLOUD="s3"
|
|||||||
SESSION_SECURE_COOKIE="false"
|
SESSION_SECURE_COOKIE="false"
|
||||||
HTTPS="false"
|
HTTPS="false"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod -R 755 /opt/pixelfed
|
chmod -R 755 /opt/pixelfed
|
||||||
chmod -R 775 /opt/pixelfed/storage /opt/pixelfed/bootstrap/cache
|
chmod -R 775 /opt/pixelfed/storage /opt/pixelfed/bootstrap/cache
|
||||||
|
|
||||||
export COMPOSER_ALLOW_SUPERUSER=1
|
export COMPOSER_ALLOW_SUPERUSER=1
|
||||||
$STD composer install --no-dev --no-ansi --no-interaction --optimize-autoloader
|
$STD composer install --no-dev --no-ansi --no-interaction --optimize-autoloader
|
||||||
|
|
||||||
$STD php artisan key:generate --force
|
$STD php artisan key:generate --force
|
||||||
$STD php artisan storage:link
|
$STD php artisan storage:link
|
||||||
$STD php artisan migrate --force
|
$STD php artisan migrate --force
|
||||||
@ -142,7 +139,6 @@ $STD php artisan view:cache
|
|||||||
$STD php artisan config:cache
|
$STD php artisan config:cache
|
||||||
$STD php artisan instance:actor
|
$STD php artisan instance:actor
|
||||||
$STD php artisan horizon:install
|
$STD php artisan horizon:install
|
||||||
|
|
||||||
chown -R pixelfed:pixelfed /opt/pixelfed
|
chown -R pixelfed:pixelfed /opt/pixelfed
|
||||||
msg_ok "Installed Pixelfed"
|
msg_ok "Installed Pixelfed"
|
||||||
|
|
||||||
@ -186,7 +182,7 @@ EOF
|
|||||||
ln -sf /etc/nginx/sites-available/pixelfed /etc/nginx/sites-enabled/pixelfed
|
ln -sf /etc/nginx/sites-available/pixelfed /etc/nginx/sites-enabled/pixelfed
|
||||||
rm -f /etc/nginx/sites-enabled/default
|
rm -f /etc/nginx/sites-enabled/default
|
||||||
$STD nginx -t
|
$STD nginx -t
|
||||||
systemctl enable -q --now nginx
|
systemctl reload nginx
|
||||||
msg_ok "Configured Nginx"
|
msg_ok "Configured Nginx"
|
||||||
|
|
||||||
msg_info "Creating Services"
|
msg_info "Creating Services"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user