Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Daniel Joven

Pages: 1 [2] 3 4 5
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 :D

Best regards, Daniel Joven.

Installation and Upgrades / Re: Upgrade from shell
« on: April 11, 2024, 03:40:39 pm »

As you can see in the documentation, you can upgrade the Zentyal server through the CLI, see point 2 of the following link:


NOTE: A few issues were reported, I recommend you wait until the fix is released (zentyal-core 7.1.2).

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

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:

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.


Thank you zyzio for the help you provided. I have updated the following post that is related to the upgrade from 7.1 to 8.0:


Regarding the CPU load, a few questions:

1. Do you have any LOG rules in the firewall? If so, how many and what are their configurations?
2. What ‘domains’ do you have enabled in the Log module?
3. Are you using the domain controller module?
4. Did you analyze the log file /var/log/syslog? You might have lots of entries like ‘zentyal-firewall’ or ‘smbd_audit’.
5. If you run the command htop or htop, what are the processes that are consuming the CPU?

Best regards, Daniel Joven.

Hi all,

First of all, thank you for reporting the issues you got during the upgrade. Unfortunately, in the tests we did before releasing the script, we did not encounter those errors. Could you tell me how was installed your Zentyal 7.1 server? I mean:

1. It was installed through the official Zentyal 7.1 ISO?
2. It was upgraded from other versions such as Zentyal 7.0, if so, what was the original version?
3. It was installed in a working Ubuntu Server or Ubuntu Desktop?

At this moment, we are working on fixing the following errors:

1. Mysql log directory (/var/log/mysql/).
2. Missing APT file (/etc/apt/apt.conf.d/20auto-upgrades)

Finally, about the Antivirus issue, do you have any log or something that we can analyze?

Best regards, Daniel Joven.


Could you run the following commands and send me the results, please?

Code: [Select]

sudo dpkg -l | egrep 'zen(tyal|buntu)-’

sudo apt update

sudo apt list --upgradable

Also, about the error you got, do you have any additional information such as the errors?

Best regards, Daniel Joven.

News and Announcements / Re: Zentyal 8.0 available!
« on: March 08, 2024, 05:52:38 pm »
Hi all,

The Zentyal Development Team is glad to announce that Zentyal 8.0 is available for download now!

This is a new major release of the Zentyal Linux Server. This version is based on Ubuntu Server 22.04.3 LTS. This version comes with the most recent versions of all the integrated software, including Samba 4.15.13, Netplan instead of the old-fashioned network/interfaces, new Docker and Webserver modules, and finally the latest stable SOGo version.

This new version is available for download at:

You can find out all the details in the official announcement and changelog:

If you hit any issues, please do report via GitHub:

Looking forward to receiving your feedback and comments!

Good work! When is it planed for upgrading from 7.1 to 8.0


We plan to release the script and update the documentation this month. As soon as it is available, to will create a new topic and pin it.

Spanish / Re: Zentyal 8 en LXC (Contenedor ProxMox)
« on: March 08, 2024, 05:50:57 pm »
Buenas tardes,

Según el log que has mostrado, el error está en el script de post-instalación del paquete zentyal-core :
Code: [Select]
installed zentyal-core package post-installation script subprocess returned error exit status 2

Podrías tratar de ejecutar el script manualmente usando el modo debug para ver si detectas qué parte en concreto del código está fallando, aunque te advierto que Zentyal no ha sido desarrollado para ser ejecutado en un contenedor.

Code: [Select]
sudo bash -x /var/lib/dpkg/info/zentyal-core.postinst

NOTA: En el siguiente enlace tiene el contenido del script por si prefieres debuarlo desde el propio GitHub.


Un saludo.

Hi Daniel,

sorry for the late answer (business trip): no changes - same behavior as before. ???

Best Regards,


Hi Lars,

Can you send an email to I would like to analyze this behavior using the official support platform.

Best regards, Daniel Joven.

Hi Lars,

I have tried to reproduce your issue but I could not.

Please, do the following and send me the output:

1. Disable temporarily the third-party repositories:


2. Check if you have any broken packages:

Code: [Select]

dpkg -l | egrep -v ‘^ii’

3. Analyze the package `cloud-init` information:

Code: [Select]

apt policy cloud-init

4. Check if you still have that package pending to update:

Code: [Select]

sudo apt list —upgradable

sudo /usr/lib/update-notifier/apt-check

Best regards, Daniel Joven.

Hi Lars,

Can you tell me what Zentyal modules and repositories are you using? Also, did you install any third-party software that might require the installation of cloud-init?

Best regards, Daniel Joven.

Hi Gabriel,

Glad to hear that the upgrade worked correctly.

Regarding your question, no, you cannot upgrade to Ubuntu 22.04, just ignore that message. Zentyal 7.0 and 7.1 are based on Ubuntu 20.04.

Best regards, Daniel Joven.

Hi Gabriel,

It seems that the connection to the server ‘’ was not successful (time-out), and because of that, the script could not fetch the public key and ended up in failure.

Probably there was a temporal issue in that server when you ran the upgrade. We have checked the command that failed and it works now, so, the server is recovered.

We strongly recommend you check the Internet resolution in your Zentyal 7.0 server before trying to upgrade the server again.

Best regards, Daniel Joven.


The bug has been solved as the below link explains, tomorrow morning a 'zentyal-samba' package will be released.


We are sorry for the inconvenience.

Best regards, Daniel Joven.

Directory and Authentication / Re: AD Stop Working on Windows 11 22H2
« on: January 27, 2023, 12:55:54 pm »

Apparently, there were multiple regressions with one of the latest updates of Samba as the following link shows. If your Zentyal 7.0 server is up-date, your Samba version should be '2:4.13.17~dfsg-0ubuntu1.20.04.5' and the issue should be fixed.


Best regards, Daniel Joven.

Pages: 1 [2] 3 4 5