Problem with error 504 Gateway time out


#1

While configuring the database when installing owncloud via the web installer, I encountered the problem of configuring the database. After entering the data directory and selecting mysql and entering the root user, password, database name and pressing the terminate, the process takes a long time and discards the message 504 Gateway time out. On the web I found a solution to the problem at https://www.scalescale.com/tips/nginx/502-bad-gateway-error-using-nginx/.
It is written to "Increase buffer and timeouts inside http block:"
I do not know where it should be increased. If possible, please help.


#2

Hi again,

did you set up a database and user first and then went in to the web installer?

ownCloud needs a database and a database user with the right privilege to access it.

I would try to enter the credentials you used in the web installer to connect to the database.


#3

I create the user and database using the owncloud installer


#4

Displays the following error


#5

I did the following search https://www.google.com/search?q="Mysql+server+has+gone+away" and found quite a lot references like the following which are teaching you how to configure your MySQL server correctly to work around this message:

https://dev.mysql.com/doc/refman/5.7/en/gone-away.html

https://piwik.org/faq/troubleshooting/faq_183/


#6

I added lines in the my.cnf file according to the directions, but unfortunately the same.


#7

I guess this might be a support topic for one of the MariaDB community mailinglists listed here: https://mariadb.org/get-involved/

It could be also possible that you havn't restarted your database or have chosen the wrong config file / config file part.


#8

Thank you all for help but the guess is probably the side of creating mysql. I will put everything back. First openmediavault, MarinaDB, owncloud. Thank you again.