11
Installation and Upgrades / Re: My failed attempt at upgading from 7.1.1 to Zentyal 8.0
« Last post by zyzio on April 12, 2024, 07:43:05 pm »Daniel Joven:
It install official Zentyal ISO :
- probably 5(...)->6(...)->7(...)->8 - problem with mysql and and missing apt
- 7(...)->8 problem with missing apt, mysql ok
It install official Zentyal ISO :
- probably 5(...)->6(...)->7(...)->8 - problem with mysql and and missing apt
- 7(...)->8 problem with missing apt, mysql ok
12
Installation and Upgrades / Re: My failed attempt at upgading from 7.1.1 to Zentyal 8.0
« Last post by trvaa on April 12, 2024, 06:28:06 pm »Same symptoms here for Antivirus - start from GUI, stops after about 30 secs
Exact same log entry
The following file does not exist in my system:
/var/run/clamav/clamd.ctl
Exact same log entry
The following file does not exist in my system:
/var/run/clamav/clamd.ctl
13
Installation and Upgrades / Re: My failed attempt at upgading from 7.1.1 to Zentyal 8.0
« Last post by chapderprinz on April 12, 2024, 05:57:28 pm »Hi Daniel,
i updated my zentyal today with zentyal-core 7.1.2 and zentyal-core 8.0.1. The update process worked fine.
After that i restarted the server and e_mail, fetchmail and antivirus stoped working. After deinstall and reinstall the antivirus and mailfilter componets e-mail and fetchmail works fine.
Antivirus does not work. After restart the antivirus it seems to work for about 30 seconds. then the service stops again.
var/log/clamav/clamav.log tells the following:
Fri Apr 12 17:27:17 2024 -> +++ Started at Fri Apr 12 17:27:17 2024
Fri Apr 12 17:27:17 2024 -> Received 0 file descriptor(s) from systemd.
Fri Apr 12 17:27:17 2024 -> clamd daemon 0.103.11 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Fri Apr 12 17:27:17 2024 -> Log file size limited to 4294967295 bytes.
Fri Apr 12 17:27:17 2024 -> Reading databases from /var/lib/clamav
Fri Apr 12 17:27:17 2024 -> Not loading PUA signatures.
Fri Apr 12 17:27:17 2024 -> Bytecode: Security mode set to "TrustSigned".
Fri Apr 12 17:27:27 2024 -> Loaded 8690518 signatures.
Fri Apr 12 17:27:30 2024 -> ERROR: LOCAL: Socket file /var/run/clamav/clamd.ctl could not be bound: Permission denied
Regards
Charles
EDIT:
Changed the owner of /var/run/clamav to user "clamav" and it works for me (drwxr-xr-x 2 clamav root)
Charles
i updated my zentyal today with zentyal-core 7.1.2 and zentyal-core 8.0.1. The update process worked fine.
After that i restarted the server and e_mail, fetchmail and antivirus stoped working. After deinstall and reinstall the antivirus and mailfilter componets e-mail and fetchmail works fine.
Antivirus does not work. After restart the antivirus it seems to work for about 30 seconds. then the service stops again.
var/log/clamav/clamav.log tells the following:
Fri Apr 12 17:27:17 2024 -> +++ Started at Fri Apr 12 17:27:17 2024
Fri Apr 12 17:27:17 2024 -> Received 0 file descriptor(s) from systemd.
Fri Apr 12 17:27:17 2024 -> clamd daemon 0.103.11 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Fri Apr 12 17:27:17 2024 -> Log file size limited to 4294967295 bytes.
Fri Apr 12 17:27:17 2024 -> Reading databases from /var/lib/clamav
Fri Apr 12 17:27:17 2024 -> Not loading PUA signatures.
Fri Apr 12 17:27:17 2024 -> Bytecode: Security mode set to "TrustSigned".
Fri Apr 12 17:27:27 2024 -> Loaded 8690518 signatures.
Fri Apr 12 17:27:30 2024 -> ERROR: LOCAL: Socket file /var/run/clamav/clamd.ctl could not be bound: Permission denied
Regards
Charles
EDIT:
Changed the owner of /var/run/clamav to user "clamav" and it works for me (drwxr-xr-x 2 clamav root)
Charles
14
Installation and Upgrades / Re: Zentyal 8 breaks when trying to update packages
« Last post by trvaa on April 12, 2024, 04:36:36 pm »Many thanks for this.
I can confirm that after using option 2 here (command line option): https://doc.zentyal.org/en/upgrade.html
this worked for me (7.1.2 to 8.0.1)
Small point for correction at some point - Splash screen on start-up still says Zentyal 7.0
I can confirm that after using option 2 here (command line option): https://doc.zentyal.org/en/upgrade.html
this worked for me (7.1.2 to 8.0.1)
Small point for correction at some point - Splash screen on start-up still says Zentyal 7.0
15
Installation and Upgrades / Re: Zentyal 8 breaks when trying to update packages
« Last post by Daniel Joven on April 12, 2024, 11:31:58 am »Hi,
We have released the packages:
- zentyal-core 7.1.2
- zentyal-core 8.0.1
Both packages correct the APT and Mysql issues.
In case you already upgraded your Zentyal server and have any issues, you can check the following link out:
- https://forum.zentyal.org/index.php/topic,35673.msg115823.html#msg115823
Again, thank you for reporting the issues.
Best regards, Daniel Joven.
We have released the packages:
- zentyal-core 7.1.2
- zentyal-core 8.0.1
Both packages correct the APT and Mysql issues.
In case you already upgraded your Zentyal server and have any issues, you can check the following link out:
- https://forum.zentyal.org/index.php/topic,35673.msg115823.html#msg115823
Again, thank you for reporting the issues.
Best regards, Daniel Joven.
16
Installation and Upgrades / Re: Zentyal 8 breaks when trying to update packages
« Last post by Daniel Joven on April 12, 2024, 10:09:38 am »Thank you very much. I did the modifications to /var/lib/dpkg/info/zentyal-core.postinst and now I can upgrade all packages without breaking my install.
Great, I am glad to hear that you could fix all the packages. Enjoy your Zentyal 8.0
Best regards, Daniel Joven.
17
Installation and Upgrades / Missing VPN config after upgrading to 8 (resolved)
« Last post by ggowins on April 12, 2024, 04:00:15 am »I have a strange issue after upgrading. Everything else looks to be fine after the upgrade, but in the console it says I have no servers or clients configured for the VPN. But if I look on the filesystem in /etc/openvpn, I see the server and client I previously had configured. I do have a backup from 7.1.1 I made just before the upgrade and can see the openvpn.bak folder in the backup file. Is there a way to get Zentyal to recognize the files that are already there?
18
Installation and Upgrades / Re: Zentyal 8 breaks when trying to update packages
« Last post by cursor on April 11, 2024, 08:48:18 pm »Thank you very much. I did the modifications to /var/lib/dpkg/info/zentyal-core.postinst and now I can upgrade all packages without breaking my install.
19
Installation and Upgrades / Re: Upgrade from shell
« Last post by Daniel Joven on April 11, 2024, 03:40:39 pm »Hi,
As you can see in the documentation, you can upgrade the Zentyal server through the CLI, see point 2 of the following link:
* https://doc.zentyal.org/en/upgrade.html#update
NOTE: A few issues were reported, I recommend you wait until the fix is released (zentyal-core 7.1.2).
Best regards, Daniel Joven.
As you can see in the documentation, you can upgrade the Zentyal server through the CLI, see point 2 of the following link:
* https://doc.zentyal.org/en/upgrade.html#update
NOTE: A few issues were reported, I recommend you wait until the fix is released (zentyal-core 7.1.2).
Best regards, Daniel Joven.
20
Installation and Upgrades / Re: Zentyal 8 breaks when trying to update packages
« Last post by Daniel Joven on April 11, 2024, 03:36:08 pm »Hi,
Did you try to fix the packages manually through CLI?
If the error persists, analyze the output you get as well as the following log files:
- /var/log/zentyal/zentyal.log
- /var/log/syslog
- /var/log/dpkg.log
In case this server was upgraded from Zentyal 7.1, the issue might be caused by the following:
1. The file ‘/etc/apt/apt.conf.d/20auto-upgrades’ does not exist and because of this, the zentyal-core package cannot be configured and it blocks the rest of the packages.
To fix this, edit the configuration file /var/lib/dpkg/info/zentyal-core.postinst and just apply the following fix:
- https://github.com/zentyal/zentyal/commit/88a3414deefde4f7a629d0b0289348a464471788#diff-425f0921e7f356c2b4c325f6ce96d4efe02241140befe47a61a92741cb7ca24c
2. Mysql server is not running:
If it is stopped, you must run the following commands:
If you applied any of the above two issues, you must run the mentioned commands at the beginning of this answer to fix all the packages.
Best regards, Daniel Joven.
Did you try to fix the packages manually through CLI?
Code: [Select]
export DEBIAN_FRONTEND=noninteractive
dpkg --configure --force-confdef -a
unset DEBIAN_FRONTEND
NOTE: You must need to run the 'dpkg' command more than once.If the error persists, analyze the output you get as well as the following log files:
- /var/log/zentyal/zentyal.log
- /var/log/syslog
- /var/log/dpkg.log
In case this server was upgraded from Zentyal 7.1, the issue might be caused by the following:
1. The file ‘/etc/apt/apt.conf.d/20auto-upgrades’ does not exist and because of this, the zentyal-core package cannot be configured and it blocks the rest of the packages.
To fix this, edit the configuration file /var/lib/dpkg/info/zentyal-core.postinst and just apply the following fix:
- https://github.com/zentyal/zentyal/commit/88a3414deefde4f7a629d0b0289348a464471788#diff-425f0921e7f356c2b4c325f6ce96d4efe02241140befe47a61a92741cb7ca24c
2. Mysql server is not running:
Code: [Select]
sudo systemctl status mysql
If it is stopped, you must run the following commands:
Code: [Select]
mkdir /var/log/mysql/
chown -R mysql:adm /var/log/mysql
chmod -R 0770 /var/log/mysql
systemctl restart mysql
If you applied any of the above two issues, you must run the mentioned commands at the beginning of this answer to fix all the packages.
Best regards, Daniel Joven.