Author Topic: [HELP] update zentyal-network (5.0.10)  (Read 1833 times)

JLLEWELYN

  • Zen Monk
  • **
  • Posts: 65
  • Karma: +5/-0
    • View Profile
[HELP] update zentyal-network (5.0.10)
« on: February 03, 2018, 09:24:55 pm »
Update the zentyal-network (5.0.10) plugin and now I do not have an Internet connection.
It does not update the gateway automatically.
my Internet connection is with ip dynamic address.
I did not have this problem before.

julio

  • Guest
Re: [HELP] update zentyal-network (5.0.10)
« Reply #1 on: February 05, 2018, 12:37:48 pm »
Update the zentyal-network (5.0.10) plugin and now I do not have an Internet connection.
It does not update the gateway automatically.
my Internet connection is with ip dynamic address.
I did not have this problem before.

Bug Report:
https://tracker.zentyal.org/issues/5312

still no reaction from Developement Group :(

JLLEWELYN

  • Zen Monk
  • **
  • Posts: 65
  • Karma: +5/-0
    • View Profile
Re: [HELP] update zentyal-network (5.0.10)
« Reply #2 on: February 05, 2018, 01:25:25 pm »
The worst thing was that it was my production server, I had to use as an alternative a UTM firewall operating system in a virtual machine on the same machine to solve the problem.

Sand_man

  • Zen Samurai
  • ****
  • Posts: 280
  • Karma: +24/-0
    • View Profile
Re: [HELP] update zentyal-network (5.0.10)
« Reply #3 on: February 05, 2018, 02:13:21 pm »

still no reaction from Developement Group :(
[/quote]

Yes there is not very visible activity of developers ... :(

julio

  • Guest
Re: [HELP] update zentyal-network (5.0.10)
« Reply #4 on: February 05, 2018, 02:14:07 pm »
The worst thing was that it was my production server, I had to use as an alternative a UTM firewall operating system in a virtual machine on the same machine to solve the problem.

you can try with downgrade if the older version 5.0.09 in apt cache exist.

you need 3 files from apt cache "/var/cache/apt/archive/":
zentyal-network_5.0.09_all.deb
zentyal-objects_5.0.09_all.deb
zentyal-services_5.0.09_all.deb

copy this 3 files to /tmp and install:
Code: [Select]
sudo cp /var/cache/apt/archive/{zentyal-network_5.0.09_all.deb,zentyal-objects_5.0.09_all.deb,zentyal-services_5.0.09_all.deb} /tmp
cd /tmp
sudo dpkg -i zentyal-network_5.0.09_all.deb zentyal-objects_5.0.09_all.deb zentyal-services_5.0.09_all.deb


last changes related to network/dhcp:
https://github.com/zentyal/zentyal/commit/1c1741dcfe03dbc681e1c32f21820cbb1c7c85af

changed files:
/etc/dhcp/dhclient-exit-hooks.d/zentyal-dhcp-exit
/etc/dhcp/dhclient-enter-hooks.d/zentyal-dhcp-enter
« Last Edit: February 05, 2018, 03:07:46 pm by julio »

apfrye

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [HELP] update zentyal-network (5.0.10)
« Reply #5 on: February 06, 2018, 12:47:55 am »
The same thing happened to me last night. I just came one here to see if I was alone. I wasn't able to downgrade, but I was able to SSH into Zentyal from another box and set the default gateway manually which restored my internet connection. Of course if I reboot I'll have to do it again, but at least I'm online.

sudo route add default gw (your gateway address)

JLLEWELYN

  • Zen Monk
  • **
  • Posts: 65
  • Karma: +5/-0
    • View Profile
Re: [HELP] update zentyal-network (5.0.10)
« Reply #6 on: February 07, 2018, 06:18:47 pm »
The same thing happened to me last night. I just came one here to see if I was alone. I wasn't able to downgrade, but I was able to SSH into Zentyal from another box and set the default gateway manually which restored my internet connection. Of course if I reboot I'll have to do it again, but at least I'm online.

sudo route add default gw (your gateway address)

Can not find the previous package, is there a link where you can download it manually and downgrade?
The worst thing was that it was my production server, I had to use as an alternative a UTM firewall operating system in a virtual machine on the same machine to solve the problem.

you can try with downgrade if the older version 5.0.09 in apt cache exist.

you need 3 files from apt cache "/var/cache/apt/archive/":
zentyal-network_5.0.09_all.deb
zentyal-objects_5.0.09_all.deb
zentyal-services_5.0.09_all.deb

copy this 3 files to /tmp and install:
Code: [Select]
sudo cp /var/cache/apt/archive/{zentyal-network_5.0.09_all.deb,zentyal-objects_5.0.09_all.deb,zentyal-services_5.0.09_all.deb} /tmp
cd /tmp
sudo dpkg -i zentyal-network_5.0.09_all.deb zentyal-objects_5.0.09_all.deb zentyal-services_5.0.09_all.deb


last changes related to network/dhcp:
https://github.com/zentyal/zentyal/commit/1c1741dcfe03dbc681e1c32f21820cbb1c7c85af

changed files:
/etc/dhcp/dhclient-exit-hooks.d/zentyal-dhcp-exit
/etc/dhcp/dhclient-enter-hooks.d/zentyal-dhcp-enter

Can not find the previous package, is there a link where you can download it manually and downgrade?

julio

  • Guest
Re: [HELP] update zentyal-network (5.0.10)
« Reply #7 on: February 07, 2018, 07:59:18 pm »
temporary workaround:
remove redis-server.service dependency from zentyal.service
(rollback the https://github.com/zentyal/zentyal/commit/338517d777e3fd776fdd7f808ee31ced8c21207f commit):

Code: [Select]
sudo nano /lib/systemd/system/zentyal.service
remove "redis-server.service" from line "After=network.target redis-server.service" like:
After=network.target
save: ctrl-o + Enter, exit: ctrl-x Enter

Code: [Select]
sudo systemd daemon-reload
in Web GUI, under Network/Interfaces, select your DHCP Interface,
press the Change button, to save: press the Save Changes button,
reboot your system.

apfrye

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [HELP] update zentyal-network (5.0.10)
« Reply #8 on: February 07, 2018, 10:49:47 pm »
Unfortunately, that didn't fix it for me. I'll just wait it out until an update is released I suppose. I appreciate the suggestion though.

JLLEWELYN

  • Zen Monk
  • **
  • Posts: 65
  • Karma: +5/-0
    • View Profile
Re: [HELP] update zentyal-network (5.0.10)
« Reply #9 on: February 07, 2018, 11:51:10 pm »
detect another additional problem, if you make any DHCP configuration change, do not add it to the configuration of the service.

what a mess  :'(