Upgrade to Zentyal 6.0: diferenças entre revisões
Saltar para a navegação
Saltar para a pesquisa
(Há 9 edições intermédias do mesmo utilizador que não estão a ser apresentadas) | |||
Linha 8: | Linha 8: | ||
#:<pre> cp -ra /etc/zentyal /etc/zentyal.beforeupgrade-6</pre> | #:<pre> cp -ra /etc/zentyal /etc/zentyal.beforeupgrade-6</pre> | ||
# make a copy of previous upgrade.log (just in case) | # make a copy of previous upgrade.log (just in case) | ||
#:<pre> cp /var/log/zentyal/upgrade.log upgrade-5. | #:<pre> cp /var/log/zentyal/upgrade.log upgrade-5.1.log </pre> | ||
# make sure all system updates have been installed (i.e. there are no system updates) | # 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]] | # some cleanup of previous updates: [[Ubuntu clean packages after update]] | ||
Linha 20: | Linha 20: | ||
= 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> | </pre> | ||
So we execute: | |||
<pre> | <pre> | ||
sudo apt-get install linux-image-generic-hwe-18.04 | |||
</pre> | </pre> | ||
== Integrate new package conf files == | |||
=== samba.conf === | === samba.conf === | ||
Linha 54: | Linha 61: | ||
== Integrate new stubs == | == Integrate new stubs == | ||
=== stubs/samba changes === | === stubs/samba changes === | ||
==== | ==== smb.conf.mas ==== | ||
copy the default config: | copy the default config: | ||
<pre> | <pre> | ||
sudo cp /usr/share/zentyal/stubs/samba/ | sudo cp /usr/share/zentyal/stubs/samba/smb.conf.mas /etc/zentyal/stubs/samba/ | ||
</pre> | </pre> | ||
Add as follows in the [global] section: | |||
<pre> | <pre> | ||
#CA20160406 try solution for owncloud repeated synchronisation | |||
# | dos filetime resolution = yes | ||
</pre> | </pre> | ||
Linha 91: | Linha 84: | ||
Finally | Finally | ||
reboot | reboot | ||
= Fix bug on boot = | |||
Long time booting and the following message is displayed: Failed to connect to lvmetad. Falling back to device scanning. | |||
Reference: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1768230 | |||
Partial fix: | |||
<pre> | |||
Edit /etc/initramfs-tools/conf.d/resume | |||
and replace the line RESUME=UUID= ..... by RESUME=none | |||
sudo update-initramfs -u | |||
</pre> |
Edição atual desde as 15h02min 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
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
smb.conf.mas
copy the default config:
sudo cp /usr/share/zentyal/stubs/samba/smb.conf.mas /etc/zentyal/stubs/samba/
Add as follows in the [global] section:
#CA20160406 try solution for owncloud repeated synchronisation dos filetime resolution = yes
Replace SOGo logo by ARDITI logo
cp sogo-full.svg /usr/share/GNUstep/SOGo/WebServerResources/img/
Finally
reboot
Fix bug on boot
Long time booting and the following message is displayed: Failed to connect to lvmetad. Falling back to device scanning.
Reference: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1768230
Partial fix:
Edit /etc/initramfs-tools/conf.d/resume and replace the line RESUME=UUID= ..... by RESUME=none sudo update-initramfs -u