danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
258 stars 71 forks source link

502 Bad Gateway #84

Closed FernandoGambaro closed 4 years ago

FernandoGambaro commented 4 years ago

Hi there, i get this error when finish a fresh installation, Caddyfile seems to be fine.

In the Jail configuration the IPv4 is set manually,

Any idea?

Thanks.

PrivatePuffin commented 4 years ago

These errors mostly happen when a reverse proxy doesn't get a response in time from the actual webserver....

danb35 commented 4 years ago

I'm going to guess that the memcache module failed to install. Enter the jail, then run pkg install php73-pecl-memcache. Then do service caddy restart and see if it works.

PrivatePuffin commented 4 years ago

Agreed, memcache shares some similarities with reverse proxies and considering the recent memcache changes that seems reasonable.

PrivatePuffin commented 4 years ago

Another issue that might create this is if you setup redis and it failed to load/connect correctly.

But considering the creater of this issue isn't responding anymore, I think this can be closed @danb35

danb35 commented 4 years ago

Concur. @FernandoGambaro, if you're still having problems, let me know what the result was of what I suggested on 1/31 and I can re-open.