Author Topic: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error  (Read 16577 times)

mindesbunister

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« on: November 12, 2014, 11:04:02 am »
Hello Everyone,

i have just clicked on "upgrade to 4.0". After the upgrade has finished, everything seems to be working. The Only problem i have, the webinterface can not be reached under 8443. I get the message "internal server error".

The logs do not really show anything useful.

Any help is greatly appreciated.

kind regards,

trvaa

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #1 on: November 12, 2014, 11:32:21 am »
I have the same issue - Is it related to the web-server being disabled?

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #2 on: November 12, 2014, 12:05:00 pm »
I have read (sorry I don't remember where) that it could be an issue with the port.

Can you lookup the ports with netstat -tulpen?
there you should find the Port of the Webserver for the Admin Interface.

If not, you have to look after it in the Web-Server settings (aktivated?) or in the config of the haproxy (sorry, I cannot give you the exact path since I do not have ssh Access to my server at the moment).

Regards Thomas

mindesbunister

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #3 on: November 12, 2014, 12:44:47 pm »
thanks for your info. I can not control it, because i just restored the machine from a backup.

@trvaa, can you check if you find anything?

mindesbunister

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #4 on: November 12, 2014, 12:57:51 pm »
netstat -tulpen | grep haproxy

should give you the ports available

trvaa

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #5 on: November 12, 2014, 01:03:43 pm »
I'm off site at the moment. When I get back I'll check it out.

damien

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #6 on: November 12, 2014, 01:15:50 pm »
I have the same problem with the update.

No HAProxy has enable on my system. i have checked with your command. It's normal, in 4.0 the HAProxy has removed.

Have you another way for resolve this?

mindesbunister

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #7 on: November 12, 2014, 01:21:40 pm »
what if you look for port 80 or 443 via

netstat -tulpen | grep 80

and take a look which programm that port is using. Afterwards grep for that programm to see which other ports are in use.

damien

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #8 on: November 12, 2014, 01:24:48 pm »
80 / 443 : no server listen
8443 : ngnix web server

Thanks for your help ;)

mindesbunister

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #9 on: November 12, 2014, 01:28:27 pm »
the only question is, why do we get the error while trying to reach the webinterface on that port...

damien

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #10 on: November 12, 2014, 01:31:35 pm »
Same descripted on first post:

on https 8443 Port, i have an error 500 : Internal Server Error.


127.0.0.1 - - [11/Nov/2014:21:09:28 +0100] "GET / HTTP/1.1" 500 32 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"

damien

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #11 on: November 12, 2014, 02:02:58 pm »
Hi Again,

I have resolved my problem with this workaround :

https://forum.zentyal.org/index.php/topic,23667.0.html

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #12 on: November 12, 2014, 02:07:03 pm »
It looks like there is a "port-forwarding-error" when redirecting port 8443...
Do you try to access the Web-Interface from localhost or from a remote PC?

maybe you find something in the nginx server .conf (sorry at the moment I cannot tell the precise path; must be somewhere in /etc).

Is it possible that you post your .conf?
Maybe someone can find something...

Regards

Thomas

haraldxps

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #13 on: November 12, 2014, 05:12:44 pm »
I have the same problems, here is the file I have in nginx configuration.


It looks like there is a "port-forwarding-error" when redirecting port 8443...
Do you try to access the Web-Interface from localhost or from a remote PC?

maybe you find something in the nginx server .conf (sorry at the moment I cannot tell the precise path; must be somewhere in /etc).

Is it possible that you post your .conf?
Maybe someone can find something...

Regards

Thomas

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #14 on: November 12, 2014, 11:06:26 pm »
Hi,

I just diff'ed /var/lib/zentyal/conf/Nginx.conf between Fresh install (without Updates) and with updated packeges.
They are the same, so this is not the source of the error...
Also the nginx.conf, /etc/nginx/conf.d and /etc/nginx/sites-* look OK...

At the moment I have no clue...

Besides that this error also occure in a fresh Install, not only after Update from 3.5