Author Topic: Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install  (Read 4479 times)

aalvaro23

  • Zen Monk
  • **
  • Posts: 50
  • Karma: +1/-0
    • View Profile
Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install
« on: May 06, 2024, 04:51:07 pm »
Hi:

After a fresh install of Zentyal 8 and select only Web Server and CA modules (including regular Firewall and Network) when finish the process and set the IP address, can't display the Dashboard (after normal login), only get Error 504 Gateway Time-Out from Nginx.
Any solution for this?

Kind regards
Note: When unplug network cable I can enter the Dashboard normally.
« Last Edit: May 06, 2024, 05:17:31 pm by aalvaro23 »

foeke

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install
« Reply #1 on: May 13, 2024, 10:12:22 am »
From my little experience. A restart from the firewall might help. Maybe check if some rules are incorrect?

Daniel Joven

  • Zentyal Staff
  • Zen Monk
  • *****
  • Posts: 70
  • Karma: +21/-0
    • View Profile
Re: Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install
« Reply #2 on: May 16, 2024, 12:34:07 pm »
Hi,

If the webadmin module is running and the server does not have any lock file or load issues, the 504 error might be related to the bug we have fixed and released today in the package zentyal-core 8.0.3, below you have the commit.

- https://github.com/zentyal/zentyal/commit/da6fcd411e3a3acea43d8581eb972f3ba901556d#diff-f2da1cfc0ddd16974080efa028f11a9c2c83db2d36b364d89fabc8f70e797da0

Basically, the webadmin module does a HTTP query to the certain public web page, and if the server that manages that page has load issues, the webadmin module might thrown an error. With this fix, that issue should be solved.

Best regards, Daniel Joven.

desperados

  • Zen Monk
  • **
  • Posts: 66
  • Karma: +4/-0
    • View Profile
Re: Error 504 Gateway Time-Out Nginx Zentyal 8 fresh install
« Reply #3 on: July 20, 2024, 12:08:48 pm »
I have the same issue with 7.1 but I can't update because it stays freezed with
Code: [Select]
+ SOURCES=/etc/apt/sources.list
+ UPGRADE_FILE=/var/lib/zentyal/.upgrade-finished
+ TMPFILE=/tmp/packages-list
+ LOG_FILE=/var/log/zentyal/upgrade.log
++ date '+%d-%m-%Y %H:%M:%S'
+ LOG_DATE='20-07-2024 11:58:36 '
+ CURCODE=focal
+ DSTCODE=jammy
++ dpkg -l
++ cut -d. -f1
++ awk '{print $3}'
++ grep zentyal-core
+ CURMAJORV=7
++ dpkg -l
++ cut -d. -f2
++ awk '{print $3}'
++ grep zentyal-core
+ CURMINORV=1
++ curl -s http://update.zentyal.org/update-from-7.1.txt
++ cut -d . -f1
I manually tried to download the file from a browser but it doesn't work
is the issues related? and is the site online?
Thanks