I can’t install netxcloud, it always gives me a Gateway Timeout error
The gateway did not receive a timely response from the upstream server or application.
I have put the connection data to the database and create the tables but suddenly this error pops up.
I have expanded:
max_execution_time, max_input_time, etc … as recommended by nextcloud and in vestacp it could perfectly
This problem also happens to me when importing a database.
If I have followed that guide and it does not put values to put, in vestacp I had never touched these values and it has always worked, it is with hestiacp that it fails me
I have tried a clean install of vestacp and it works fine
Please help, without this I cannot complete my migration to hestiacp
I just tried a fresh installation of nextlcoud, basicly just running it on a ubuntu 18.04 with apache2+nginx+fpm stack, pointed the web domain to use php7.4. I now removed all files in public_html, downloaded the nextcloud source code and runned the installer, added database credentials and done:
Good for you but with debian 10 and the default settings do not work well, can you do a test with debian 10?
It doesn’t work for me and what’s more, I have migrated a nexcloud that has worked but when doing an update from nexcloud it has been left half and the same gateway error appears
Freshly installed hestia 1.2.4 on debian 10, 6 minutes uptime. This time i skipped the additional packages part and run it under admin user (NEVER do this!), just to speed up the things a bit. Installation went trough without any issue.
I am thinking of leaving hestia and returning to vestacp or another panel, whenever I update netxcloud the same thing happens to me and this is very serious for me!
What I can do?
Error:
504 Gateway Timeout
Gateway Timeout
The gateway did not receive a timely response
from the upstream server or application.
nginx.conf:
Server globals
user www-data;
worker_processes auto;
worker_rlimit_nofile 65535;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
Worker config
events {
worker_connections 1024;
use epoll;
multi_accept on;
}
probably best way would be leaving Hestia and returning to vesta or another panel.
sorry mate, but we can’t debug your system for you, that’s something you need to figure yourself.
not offense meant, but that’s what logfiles and stuff are for… first figure which upstream is gone away and why. could be apache, php-fpm or mysql.
you should not have to fiddle with the configs at all, I have nextcloud running without issues for quite some time and haven’t changed anything.
also could be specific to plugins/extensions that you use in nextcloud. or the workload, size of files etc. - we simply can’t know and that’s something you need to use your admin powers for to find out.
best of luck.
Well, if I can answer this, the problem is that hestia, even in this latest version, when you change the wait_timeout parameter in MariaDB that by default comes to 10sec (very low) and you set it to 600sec and save the changes, those changes They are not carried out and it remains in 10sec, you have to enter advanced properties to change it from the file itself. Besides, the changes are not applied well until you completely restart those changes.
timeouts are there for a reason. next time you are probably going to complain about your server being unresponsible because you reached a connection limit due to those connections not being properly terminated while wating for their high timeout.
raising a timeout by factor 60 without finding the real cause for your problem might be a temporary workaround but cannot be consider a proper solution.
and of course, if you change settings like that in the services config, they will only apply if you a) put it into the correct location and b) restart that service afterwards - that’s basic system administration…
anyway, good you found a way that made it work for you (for now).
When you make a change in the config file of any service, you have to to a restart of that service in order to have the new config ‘read’ properly, how hard is it to understand mate ?
Besides, MySQL config change is a one-off change that you can do on a fresh server once and it will survive Hestia/Vesta updates too, what is there to complain or bitch about here ?
I only know that nexcloud, prestashop and some other application always failed and it was dangerous to update, now they are no longer failing when I update and it has been as a result of changing those parameters.
I know I have to restart a service, but I thought that when saving it was already reloading and at least it did not do it for me and I had to restart manually.
I only try that you can take it into account in case someone else happens to him since it happened to me with a clean installation, that is my experience.