Author Topic: After update to 3.4 - Nothing Working  (Read 15452 times)

apos

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +2/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #30 on: April 16, 2014, 11:59:41 pm »
Hi guys,

i have the same problem here under Ubuntu 14.04 and Zentyal 3.4.
After Upgrade to 3.4 webadmin fails to start.

The error is related to nginx.

Code: [Select]
EBox::Util::Init::moduleRestart('webadmin') called at /etc/init.d/zentyal line 58
main::main at /etc/init.d/zentyal line 79
2014/04/16 23:54:54 ERROR> Service.pm:999 EBox::Module::Service::restartService - Error restarting service: root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1
2014/04/16 23:54:54 ERROR> Service.pm:1001 EBox::Module::Service::restartService - root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Editing soap-loc-ssl.conf and installing the zentyal-remoteservices, purging and reinstalling everything brings no success - unfortunately.

Roman

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +2/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #31 on: April 17, 2014, 01:22:35 am »
Try
nginx -c /var/lib/zentyal/conf/nginx.conf
and see what problem.

omega_sxxi

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #32 on: April 17, 2014, 08:11:29 am »
Thanks Roman,
Your solution worked for me!

BR

C.Hann

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #33 on: April 17, 2014, 09:53:45 am »
The new installation has also been done for me, as I've found a solution. We have also attached the steps I have taken to resolve the problem.

Quote
1. Set up a virtual machine with 3.4 and update the VM to 3.4.1
2. Copy the sources.list from the VM to the server
3. Use apt-get update and apt-get dist-upgrade to update the server to 3.4.1
4. Edit the /var/lib/zentyal/conf/remoteservices/soap-loc-ssl.conf as Roman posted
5. On command line use the command => sudo nginx -c /var/lib/zentyal/conf/nginx.conf and look for errors
6. If you get errors use the command => sudo fuser -k 80/tcp
7. Restart nginx with the command => sudo /etc/init.d/nginx restart
8. Login into webadmin

After these steps, I could normally access Webadmin again and all modules works fine.
« Last Edit: April 17, 2014, 03:42:16 pm by C.Hann »

snarchio

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +2/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #34 on: April 19, 2014, 11:18:50 am »
i've tried all the solutions you suggested but i have still an error when starting nginx so webadmin doesn't start

i've this error
Code: [Select]
sudo nginx -c /var/lib/zentyal/conf/nginx.conf
nginx: [emerg] unknown "ssl_client_s_dn_cn" variable

C.Hann

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #35 on: April 19, 2014, 11:40:09 am »
Have you edited the soap-loc-ssl.conf accordingly? If not you should still do, because otherwise the solution does not work.

Content of the soap-loc-ssl.conf after editing:
Code: [Select]
location ~ ^/(soap|LOGIN_CC|ebox) {
    set $validation "";

    if ($ssl_client_verify = "SUCCESS") {
        set $validation C;
    }

    if ($validation != CSOIOSCN) {
        return 403;
    }

    proxy_pass http://localhost:60080;

    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;

    proxy_set_header        Accept-Encoding   "";
    proxy_set_header        Host            $host;
    proxy_set_header        X-Real-IP       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        X-Forwarded-Proto $scheme;

    proxy_redirect     off;

}
« Last Edit: April 19, 2014, 11:41:53 am by C.Hann »

snarchio

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +2/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #36 on: April 19, 2014, 12:13:10 pm »
yes, my  /var/lib/zentyal/conf/remoteservices/soap-loc-ssl.conf is the same you posted
i followed the 8 points of your post but neither webadmin nor remoteservices starts

snarchio

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +2/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #37 on: April 19, 2014, 06:23:34 pm »
As suggested in this russian post https://forum.zentyal.org/index.php/topic,21514.msg82869.html i've done this (in addition to the steps mentioned above but don't know if are necessary)
Code: [Select]
/usr/share/zentyal/unconfigure-module webadmin
/usr/share/zentyal/clean-conf webadmin
and webadmin finally started

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: After update to 3.4 - Nothing Working
« Reply #38 on: April 22, 2014, 09:43:23 am »
Hi,

This has been fixed (for new upgrades) in the upgrade script of zentyal-core 3.3.10

If you have already upgraded, there is a better hotfix for it without having to clean the whole webadmin conf:

Code: [Select]
echo "del webadmin/ro/nginxIncludes" | /usr/share/zentyal/redis-cli
service zentyal webadmin restart

Thanks everybody for your feedback!
Zentyal Server Lead Developer

MikeAllen

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #39 on: April 22, 2014, 06:02:28 pm »
Hi guys,

i have the same problem here under Ubuntu 14.04 and Zentyal 3.4.
After Upgrade to 3.4 webadmin fails to start.

I'm fairly certain that Ubuntu 14.04 - the latest LTS release - is currently not supported by any version of Zentyal. Zentyal 3.4 requires Ubuntu 13.10.

pinus

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #40 on: April 23, 2014, 09:12:33 am »
What should I say, the update to 3.4 broke it. What a mess!
That leaves the impression that this software isn't ready for business usage.

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #41 on: April 23, 2014, 12:44:36 pm »
Launchpad has no packages for 3.4. You should have archive.zentyal.org instead

unknown001

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #42 on: June 23, 2014, 06:45:18 pm »
New updated fixed this issue. Do:
sudo apt-get update
and
sudo apt-get dis-upgrade

pinus

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #43 on: June 23, 2014, 07:59:02 pm »
Can't try, Zentyal is gone. I had to reinstall my server. Server software that requires a reinstall doesn't match my stability requirements.

jldalla

  • Zen Apprentice
  • *
  • Posts: 31
  • Karma: +4/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #44 on: December 04, 2014, 03:54:14 pm »
Yo tenía el mismo problema y todo comenzó a funcionar luego de ejecutar los siguientes comandos:
Code: [Select]
sudo /usr/share/zentyal/unconfigure-module webadmin
sudo /usr/share/zentyal/clean-conf webadmin
sudo /etc/init.d/zentyal webadmin restart

Muchas gracias y saludos!



To
As suggested in this russian post https://forum.zentyal.org/index.php/topic,21514.msg82869.html i've done this (in addition to the steps mentioned above but don't know if are necessary)
Code: [Select]
/usr/share/zentyal/unconfigure-module webadmin
/usr/share/zentyal/clean-conf webadmin
and webadmin finally started
José Luis Dallapiccola
Neuquén - Patagonia ARGENTINA