Upgrade to Zentyal 6.0: diferenças entre revisões
Saltar para a navegação
Saltar para a pesquisa
Linha 19: | Linha 19: | ||
= Post upgrade = | = Post upgrade = | ||
After login in ssh, we get the following message: | |||
<pre> | |||
You have packages from the Hardware Enablement Stack (HWE) installed that | |||
are going out of support on 2023-04-30. | |||
To upgrade to a supported (or longer-supported) configuration: | |||
* Upgrade from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS by running: | |||
sudo do-release-upgrade -p | |||
OR | |||
* Switch to the current security-supported stack by running: | |||
sudo apt-get install linux-image-generic-hwe-18.04 | |||
and reboot your system. | |||
</pre> | |||
So we execute: | |||
<pre> | |||
sudo apt-get install linux-image-generic-hwe-18.04 | |||
</pre> | |||
== Integrate new package conf files == | == Integrate new package conf files == |
Revisão das 12h27min de 17 de fevereiro de 2019
Before upgrade
- close port 25 on the firewall and maybe also the access to samba shares
- do a snapshot
- make a copy of the stubs
cp -ra /usr/share/zentyal/stubs /usr/share/zentyal/stubs.beforeupgrade-6
- make a copy of the zentyal config
cp -ra /etc/zentyal /etc/zentyal.beforeupgrade-6
- make a copy of previous upgrade.log (just in case)
cp /var/log/zentyal/upgrade.log upgrade-5.1.log
- make sure all system updates have been installed (i.e. there are no system updates)
- some cleanup of previous updates: Ubuntu clean packages after update
Upgrade
- click on the upgrade button in the web ui
- wait until in the console it's written that the upgrade is done
- reboot
Post upgrade
After login in ssh, we get the following message:
You have packages from the Hardware Enablement Stack (HWE) installed that are going out of support on 2023-04-30. To upgrade to a supported (or longer-supported) configuration: * Upgrade from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS by running: sudo do-release-upgrade -p OR * Switch to the current security-supported stack by running: sudo apt-get install linux-image-generic-hwe-18.04 and reboot your system.
So we execute:
sudo apt-get install linux-image-generic-hwe-18.04
Integrate new package conf files
dns.conf
cd /etc/zentyal/ newcp dns.conf mv dns.conf.dpkg-dist dns.conf
edit dns.conf and replace
intnets =
by
# ARDITI VPN Addresses: 10.244.6.0/24 intnets = 10.244.6.0/24,89.109.64.206/32
samba.conf
cd /etc/zentyal/ newcp samba.conf mv samba.conf.dpkg-dist samba.conf
Edit samba.conf and replace
#exclude = *.tmp|*.temp
by
exclude = *.tmp|*.temp|~*|*.~??|Thumbs.db|.~*|*.TMP
Integrate new stubs
stubs/samba changes
shares.conf.mas
New shares configuration introduces share level access control. However this is problematic for our setup, because we have permissions set at different level on our directory structures: i.e.
ARDITI ---> sg-ARDITI (RO) ARDITI/Informatica ---> sg-ARDITI (RO) and sg-Infortmatica (RW)
So, the access at share level means that somebody that connects to ARDITI has RO access, so cannot write in Informatica for example. To fix, go back to previous share access control "read only = No".
copy the default config:
sudo cp /usr/share/zentyal/stubs/samba/shares.conf.mas /etc/zentyal/stubs/samba/
Modify as follows:
read only = No # valid users = <% $share->{validUsers} %> # read list = <% $share->{readOnly} %> # write list = <% $share->{readWrite} %> # admin users = <% $share->{administrators} %>
Replace SOGo logo by ARDITI logo
cp sogo-full.svg /usr/share/GNUstep/SOGo/WebServerResources/img/
Finally
reboot