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
1
Hi,

We are debugging the antivirus issue, we believe three things should be analyzed:

1. The server was not rebooted after the upgrade, so the directory /var/run/clamav does not belong to the owner clamav.
2. You have a persistent stub and because of that, the module’s configuration is old.
3. ClamAV databases are not updated. It requires sudo freshclam

Meanwhile, we do the required tests, you should try the following:

1. Update the internal database:
   
    sudo freshclam
   

2. Make sure the module is enabled through the Zentyal GUI.
3. Ensure the directory /var/run/clamav belongs to clamav as chapderprinz suggested.
   
    sudo chown -R clamav /var/run/clamav/
   

4. Restart the module through the CLI:
   
    sudo zs antivirus restart
   


If the issue persists, you can try to restart the service through Systemd and then, check the log files.

sudo systemctl restart clamav-daemon
sudo journalctl -u clamav-daemon


Log files:
- /var/log/zentyal/zentyal.log
- /var/log/syslog
- /var/log/clamav/clamav.log

Best regards, Daniel Joven.

2
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.

3
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.

4
Installation and Upgrades / Re: Upgrade from shell
« 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.

5
Hi,

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.

6
Hi,

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:

- https://forum.zentyal.org/index.php/topic,35671.msg115819.html#new

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.

7
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.

8
Hi,

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.

9
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:

https://download02.public.zentyal.com/zentyal-8.0-development-amd64.iso

https://download02.public.zentyal.com/zentyal-8.0-development-amd64.iso.md5

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

https://zentyal.com/news/zentyal-server-8-0-development-now-available

https://zentyal.com/news/zentyal-8-0-changelog

If you hit any issues, please do report via GitHub: https://github.com/zentyal/zentyal/issues

Looking forward to receiving your feedback and comments!

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

Hi,

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.

10
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.

- https://github.com/zentyal/zentyal/blob/master/main/core/debian/zentyal-core.postinst

Un saludo.

11
Hi Daniel,

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

Best Regards,

Lars

Hi Lars,

Can you send an email to sales@zentyal.com? I would like to analyze this behavior using the official support platform.

Best regards, Daniel Joven.

12
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:

- repo.jellyfin.org
- ppa.launchpad.net/stephenczetty/gerbera-updates

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.

13
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.

14
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.

15
Hi Gabriel,

It seems that the connection to the server ‘keyserver.ubuntu.com’ 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.

Pages: [1] 2 3 4