Author Topic: Error after update Zentyal 7.0  (Read 193 times)

yordo81

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Error after update Zentyal 7.0
« on: October 28, 2022, 10:33:35 pm »
After upgrading the zentyal 7.0 server from the web console. It does not let me access showing me only this error message.

Quote
504 Gateway Time-out

I have two zentyal servers and on both servers I have the same error. I have not found a valid answer on the internet.

turalyon

  • Zen Warrior
  • ***
  • Posts: 141
  • Karma: +13/-0
    • View Profile
Re: Error after update Zentyal 7.0
« Reply #1 on: October 31, 2022, 11:55:41 am »
Hi,

Did you check if you have any broken packages after the upgrade?

Code: [Select]
sudo dpkg -l | egrep -v '^ii'

Did you analyze the log files?

* (mainly) /var/log/zentyal/zentyal.log
* /var/log/zentyal/error.log
* /var/log/syslog

Also, did you tried to restart the Webadmin module?

Code: [Select]
sudo zs webadmin restart

In case if fails, analyze the log files and the status of the following services as well:

Code: [Select]
sudo systemctl status zentyal.webadmin-nginx zentyal.webadmin-uwgsi
sudo journalctl -u zentyal.webadmin-nginx
sudo journalctl -u zentyal.webadmin-uwsgi

Hope it helps.

--

“This world is ours, and by the Holy Light we will keep it safe, now and forever".

yordo81

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Error after update Zentyal 7.0
« Reply #2 on: November 01, 2022, 06:47:04 pm »
After run
Code: [Select]
sudo dpkg -l | egrep -v '^ii'
I got
Code: [Select]
Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
| Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo
|/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
||/ Nombre                                Versión                           Arquitectura Descripción
+++-=====================================-=================================-============-===============================================================================
rc  systemd-timesyncd                     245.4-4ubuntu3.2                  amd64        minimalistic service to synchronize local time with NTP servers
iF  zentyal-dhcp                          7.0.2                             all          Zentyal - DHCP Server

Then I check error.log
Code: [Select]
2022/09/22 14:18:26 [error] 2050#2050: *1933 open() "/usr/share/zentyal/www/images/package-icons/-big.png" failed (2: No such file or directory), client: 10.136.128.10, server: , request: "GET /data/images/package-icons/-big.png HTTP/1.1", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Software/EBox"
2022/09/22 14:24:51 [error] 2047#2047: *2048 open() "/usr/share/zentyal/www/images/package-icons/-big.png" failed (2: No such file or directory), client: 10.136.128.10, server: , request: "GET /data/images/package-icons/-big.png HTTP/1.1", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Software/EBox"
2022/09/22 14:24:51 [error] 2047#2047: *2048 open() "/usr/share/zentyal/www/images/package-icons/-big.png" failed (2: No such file or directory), client: 10.136.128.10, server: , request: "GET /data/images/package-icons/-big.png HTTP/1.1", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Software/EBox"
2022/09/22 14:24:59 [error] 2047#2047: *2092 open() "/usr/share/zentyal/www/images/package-icons/-big.png" failed (2: No such file or directory), client: 10.136.128.10, server: , request: "GET /data/images/package-icons/-big.png HTTP/1.1", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Software/EBox"
2022/09/22 14:24:59 [error] 2047#2047: *2092 open() "/usr/share/zentyal/www/images/package-icons/-big.png" failed (2: No such file or directory), client: 10.136.128.10, server: , request: "GET /data/images/package-icons/-big.png HTTP/1.1", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Software/EBox"
2022/09/30 14:50:35 [error] 2252#2252: *147 upstream prematurely closed connection while reading response header from upstream, client: 10.136.128.10, server: , request: "POST /SysInfo/Controller/DateTime HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock:", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/SysInfo/Composite/DateAndTime"
2022/09/30 14:50:37 [error] 2252#2252: *147 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET /SysInfo/HasUnsavedChanges HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock:", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/SysInfo/Composite/DateAndTime"
2022/09/30 14:50:37 [error] 2252#2252: *150 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock:", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/SysInfo/Composite/DateAndTime"
2022/10/06 12:38:09 [error] 2237#2237: *11 upstream prematurely closed connection while reading response header from upstream, client: 10.136.128.10, server: , request: "POST /SysInfo/Controller/DateTime HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock:", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/SysInfo/Composite/DateAndTime"
2022/10/06 12:38:10 [error] 2237#2237: *11 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET /SysInfo/HasUnsavedChanges HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock:", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/SysInfo/Composite/DateAndTime"
2022/10/06 12:38:11 [error] 2237#2237: *11 connect() to unix:///run/zentyal-webadmin/webadmin.sock failed (111: Connection refused) while connecting to upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock:", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/SysInfo/Composite/DateAndTime"
2022/10/18 12:00:24 [error] 2223#2223: *1056 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET /Dashboard/Index HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/SysInfo/Composite/General"
2022/10/18 12:05:41 [error] 2223#2223: *1058 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET /Dashboard/Index HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/SysInfo/Composite/General"
2022/10/18 12:09:19 [error] 2223#2223: *1058 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443"
2022/10/18 12:18:16 [error] 2223#2223: *1062 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443"
2022/10/19 04:14:26 [error] 2223#2223: *1066 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/19 06:00:39 [error] 2223#2223: *1073 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/19 07:29:47 [error] 2223#2223: *1082 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/19 07:33:14 [error] 2223#2223: *1082 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/19 07:56:47 [error] 2223#2223: *1086 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/19 08:50:06 [error] 2223#2223: *1088 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/19 10:04:08 [error] 2223#2223: *1090 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/19 10:36:37 [error] 2223#2223: *1092 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443"
2022/10/21 09:41:26 [error] 2223#2223: *1094 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/21 10:38:37 [error] 2223#2223: *1100 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/25 04:12:30 [error] 2263#2263: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/27 10:58:53 [error] 22222#22222: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/28 05:43:05 [error] 23154#23154: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET /Dashboard/Index HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"
2022/10/28 07:16:35 [error] 23154#23154: *9 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Login/Index"
2022/10/28 08:02:54 [error] 23154#23154: *14 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443"
2022/10/28 09:15:41 [error] 2098#2098: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Login/Index"
2022/10/28 09:36:33 [error] 2098#2098: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443", referrer: "https://localhost:8443/Login/Index"
2022/10/28 10:18:53 [error] 2098#2098: *14 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /Login/Index HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "localhost:8443"
2022/10/28 10:19:02 [error] 2098#2098: *16 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443"
2022/10/28 12:09:52 [error] 2098#2098: *21 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.136.128.10, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "10.136.137.1:8443", referrer: "https://10.136.137.1:8443/Login/Index"