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

trvaa

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #30 on: November 15, 2014, 11:16:12 am »
Sorry, I typed wrong the grep command. The command is "grep -ri EBox::RemoteServices::RemoteAccess' /usr/share/perl5/EBox*"(without the ' before EBox).

Looking at the output of Trvaa, I dont see any reference to EBox::RemoteServices:RemoteAccess. Maybe it is cached somewhere?. If you reboot the computer the problem continues?

I think the command is fine it's just that there is no instance of "EBox::RemoteServices::RemoteAccess" to find.

My output was for grep looking for "EBox::RemoteServices:" only.

I've rebooted a couple of times and no difference.

mindesbunister

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #31 on: November 15, 2014, 11:40:40 am »
exactly the same as trvaa here


Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #32 on: November 15, 2014, 01:41:49 pm »
It baffles me where this RemoteAccess reference comes from.

Can you please, run another grep comand to check your system?.

This time:

Quote
grep -ri RemoteAccess /usr/share/perl* /etc/* /var/lib/zentyal*

trvaa

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #33 on: November 15, 2014, 01:50:25 pm »
It baffles me where this RemoteAccess reference comes from.

Can you please, run another grep comand to check your system?.

This time:

Quote
grep -ri RemoteAccess /usr/share/perl* /etc/* /var/lib/zentyal*

output attached

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #34 on: November 15, 2014, 04:39:45 pm »
This time there is a match:

Code: [Select]
/var/lib/zentyal/conf/webadmin/psgi-subapps.yaml:{"/ebox":{"validateFunc":"EBox::RemoteServices::RemoteAccess::validate","appName":"EBox::RemoteServices::RemoteAccess::psgiApp","userId":"remote_user","validation":1},"/soap":{"validateFunc":"EBox::RemoteServices::WSDispatcher::validate","appName":"EBox::RemoteServices::WSDispatcher::psgiApp","userId":"remote","validation":1}}
Can you open the ]/var/lib/zentyal/conf/webadmin/psgi-subapps.yaml and comment out this line?. To comment it, just add the '#' cahracter at the begin. Then restart webadmin to check if this is the problem

trvaa

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #35 on: November 15, 2014, 06:01:08 pm »
Commented out and webadmin restarted but no fix I'm afraid!

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #36 on: November 15, 2014, 06:15:11 pm »
Ok, it is abit difficult to me to try to fix this without having a mahcine which shows the problem but I think we can try other thing:

1. Bakcup the file /var/lib/zentyal/conf/webadmin/psgi-subapps.yaml (jsut in case we broke something and had to restore it)
2. Execute: sudo perl -MEBox -MEBox::WebAdmin::PSGI -e'EBox::init(); EBox::WebAdmin::PSGI::removeSubApp("/ebox"); 1'
3. Execute: sudo perl -MEBox -MEBox::WebAdmin::PSGI -e'EBox::init(); EBox::WebAdmin::PSGI::removeSubApp("/soap"); 1'
4. Restart webadmin with "sudo service zentyal webadmin restart"

trvaa

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #37 on: November 15, 2014, 06:25:36 pm »
Ok, it is abit difficult to me to try to fix this without having a mahcine which shows the problem but I think we can try other thing:

1. Bakcup the file /var/lib/zentyal/conf/webadmin/psgi-subapps.yaml (jsut in case we broke something and had to restore it)
2. Execute: sudo perl -MEBox -MEBox::WebAdmin::PSGI -e'EBox::init(); EBox::WebAdmin::PSGI::removeSubApp("/ebox"); 1'
3. Execute: sudo perl -MEBox -MEBox::WebAdmin::PSGI -e'EBox::init(); EBox::WebAdmin::PSGI::removeSubApp("/soap"); 1'
4. Restart webadmin with "sudo service zentyal webadmin restart"

OK - do you require the commenting out to be removed first?

trvaa

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #38 on: November 15, 2014, 07:08:28 pm »
I've removed the commenting out and issued the commands as requested.

All good!!!!

Webadmin interface back and logged in successfully.

Well done

Bassie

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #39 on: November 16, 2014, 04:11:40 am »
This worked for me as well. Thank you

mindesbunister

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #40 on: November 16, 2014, 01:00:03 pm »
ok. This seems to work and also fix the problem described here

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

The only problem, this broke my dns module....  >:(

kempi

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #41 on: November 16, 2014, 11:18:05 pm »
Worked for me too. Tnx.

Deckard

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #42 on: November 17, 2014, 07:53:22 am »
Ok, it is abit difficult to me to try to fix this without having a mahcine which shows the problem but I think we can try other thing:

1. Bakcup the file /var/lib/zentyal/conf/webadmin/psgi-subapps.yaml (jsut in case we broke something and had to restore it)
2. Execute: sudo perl -MEBox -MEBox::WebAdmin::PSGI -e'EBox::init(); EBox::WebAdmin::PSGI::removeSubApp("/ebox"); 1'
3. Execute: sudo perl -MEBox -MEBox::WebAdmin::PSGI -e'EBox::init(); EBox::WebAdmin::PSGI::removeSubApp("/soap"); 1'
4. Restart webadmin with "sudo service zentyal webadmin restart"

Worked perfect for me, thank you :)

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #43 on: November 17, 2014, 08:15:03 am »
The only problem, this broke my dns module....  >:(

I suspect that is a different error. Could you give us more details, please?

mindesbunister

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.5 GUI Upgrade to 4.0 Internal Server Error
« Reply #44 on: November 17, 2014, 11:19:45 am »
The only problem, this broke my dns module....  >:(

I suspect that is a different error. Could you give us more details, please?

Will do. Just need a bit of time to reproduce. I restored a backup.