Upgrade to Zentyal 6.1

Fonte: ARDITI - WIKI
Saltar para a navegação Saltar para a pesquisa

Before upgrade

  1. close port 25 on the firewall and maybe also the access to samba shares
  2. do a snapshot
  3. make a copy of the stubs
     cp -ra /usr/share/zentyal/stubs /usr/share/zentyal/stubs.beforeupgrade-6.1
  4. make a copy of the zentyal config
     cp -ra /etc/zentyal /etc/zentyal.beforeupgrade-6.1
  5. make sure all system updates have been installed (i.e. there are no system updates)
  6. some cleanup of previous updates: Ubuntu clean packages after update

Upgrade

  1. click on the upgrade button in the web ui
  2. wait until in the console it's written that the upgrade is done
  3. reboot

Post upgrade

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

# intnets =
# ARDITI VPN Addresses: 10.244.6.0/24 
intnets = 10.244.6.0/24,10.245.6.0/24,89.109.64.206/32

Integrate new stubs

stubs not applied from v6.0

antivirus/clamd.conf.mas - had been created to sort some clamd error logging

stubs maintained from v6.0

mail/archivemail.mas - sort a logging problem
mail/dovecot.conf.mas - for mail certificate purposes
mail/main.cf.mas - for mail certificate purposes, encryption and DKIM
samba/shares.conf.mas - solve access permission issue on shares
samba/smb.conf.mas - solve access issue of Nextcloud server
sogo/sogo.conf.mas - enable vacation setting
sogo/SOGo.conf-apache.mas - http access problem

stubs changes

dns/named.conf.options.mas

Edit named.conf.options.mas and replace

logging { category lame-servers { null; }; };

by

// CA20101217 enable more logging
logging {
        channel default_log {
                file "/var/log/named/named.log" versions 5 size 20M;
                print-time yes;
                print-severity yes;
                print-category yes;
        };

        category default { default_log; };
        category general { default_log; };

// CA20101217 separate lame-servers logging

        channel lame-servers-log {
                file "/var/log/named/lame-servers.log" versions 3 size 10m;
                print-time yes;
                print-category yes;
                print-severity yes;
                severity info;
        };

        category lame-servers { lame-servers-log; };
};
cp sogo-full.svg /usr/share/GNUstep/SOGo/WebServerResources/img/

Finally

reboot

Post boot fixes

dhcp-dyndns bug

Checking /var/log/syslog I see this

kernel: [604115.827564] audit: type=1400 audit(1576451873.638:2550): apparmor="DENIED" operation="exec" profile="/usr/sbin/dhcpd" name="/usr/share/zentyal-dhcp/dhcp-dyndns.sh" pid=19326 comm="dhcpd" requested_mask="x" denied_mask="x" fsuid=112 ouid=0

Found that Zentyal is working on bug: https://github.com/zentyal/zentyal/issues/1930

Meantime there is this workaround:

sudo apt-get install apparmor-utils
sudo aa-complain /usr/sbin/dhcpd