YunoHost-Apps / pixelfed_ynh

The federated image shareing service Pixelfed for YunoHost
https://pixelfed.org/
GNU Affero General Public License v3.0
44 stars 15 forks source link

Instalation results in 502 on nginx #42

Closed AlexSleepy closed 5 years ago

AlexSleepy commented 5 years ago

Installation results in error 502 Bad Gateway on nginx. Here's the installation log Installation complete The SSOwat configuration has been generated Installation of pixelfed completed Reloading nginx web server... Configuring SSOwat... fatal: Not a git repository (or any of the parent directories): .git Reload the service php7.2-fpm Configuring php-fpm... Configuring system user... Reload the service nginx Configuring nginx web server... Creating a PostgreSQL database... Installing dependencies... Validating installation parameters... Installing application pixelfed… I found the issue #37, but running php artisan horizon didn't help and was returning a lot of messages like mmap() failed: [12] Cannot allocate memory PHP Fatal error: Out of memory (allocated 12582912) (tried to allocate 20480 bytes) in /var/www/pixelfed/bootstrap/cache/routes.php on line 15 I'm running yuno host on digital ocean droplet with 1gb of ram, if it matters

yalh76 commented 5 years ago

Installation results in error 502 Bad Gateway on nginx. Here's the installation log Installation complete The SSOwat configuration has been generated Installation of pixelfed completed Reloading nginx web server... Configuring SSOwat... fatal: Not a git repository (or any of the parent directories): .git Reload the service php7.2-fpm Configuring php-fpm... Configuring system user... Reload the service nginx Configuring nginx web server... Creating a PostgreSQL database... Installing dependencies... Validating installation parameters... Installing application pixelfed… I found the issue #37, but running php artisan horizon didn't help and was returning a lot of messages like mmap() failed: [12] Cannot allocate memory PHP Fatal error: Out of memory (allocated 12582912) (tried to allocate 20480 bytes) in /var/www/pixelfed/bootstrap/cache/routes.php on line 15 I'm running yuno host on digital ocean droplet with 1gb of ram, if it matters

If you have an error 502 Bad gateway, can you check the php7.2-fpm service doing: service php7.2-fpm status to check if it's running

AlexSleepy commented 5 years ago

Yep, it was stopped. Works now, thanks.