Closed ftastisch closed 1 year ago
502 Bad Gateway and 504 Gateway Timeout are errors caused by nginx, not by Pico CMS for Nextcloud. I presume you enabled short URLs using proxy_pass
? I'm no nginx expert and thus can't provide support for it, but a quick Google search lets me think that the proxy might just time out. Try https://stackoverflow.com/a/36589120 or one of the other solutions provided there.
Thank you for the hint, I added proxy_set_header Connection "";
and will post here if it still works after a day or two.
Ok, well that did not work, already another 504 this morning. I disabled short URLs completely and restarted nginx to see how it behaves now.
As it seems to break overnight, might the changing IP be a problem? That is the only thing that changes that time, and while the server announces the new IP to a DNS, I don't know whether this would require additional action with the proxy.
So Nextcloud is still reachable, only requests to Pico are throwing errors?
Take a look at the error logs from Nginx. And could you please post your Nginx config related to Nextcloud/Pico?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1:
Hi!
The app stops working each day (not sure yet whether runtime or specific time). Trying to pull up the site results in an nginx error (502 or 504). This is fixed by a reboot for about a day.
The setup is:
Disabling/Reinstalling the app in NC did not fix this behaviour. I removed all custom themes and plugins without success. Operating system, NC and all apps are up to date.
Please let me know what additional information might you need if this is not an isolated issue in my setup.