Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Installation and Upgrades / Re: Zentyal 8 breaks when trying to update packages
« Last post by cursor on April 10, 2024, 06:03:31 pm »
These are the results when the server is not broken (before trying to update via the web interface):

$ sudo dpkg -l | egrep "zen(tyal|buntu)-"
ii  zenbuntu-core                          8.0.0ubuntu1                                    all          Zentyal Environment for Ubuntu Server
ii  zenbuntu-desktop                       8.0.0ubuntu1                                    all          Zentyal Desktop Environment for Ubuntu Server
iF  zentyal-core                           8.0.0                                           all          Zentyal - Core
iU  zentyal-dns                            8.0.0                                           all          Zentyal - DNS Server
iU  zentyal-firewall                       8.0.0                                           all          Zentyal - Firewall
iU  zentyal-network                        8.0.2                                           all          Zentyal - Network Configuration
iU  zentyal-ntp                            8.0.0                                           all          Zentyal - NTP Service
iU  zentyal-radius                         8.0.0                                           all          Zentyal - RADIUS
iU  zentyal-samba                          8.0.0                                           all          Zentyal - Domain Controller and File Sharing
iU  zentyal-software                       8.0.0                                           all          Zentyal - Software Management

$ sudo apt update
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease                                                                                                             
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]                                                                                                   
Hit:3 https://packages.mozilla.org/apt mozilla InRelease                                                                       
Hit:4 https://packages.zentyal.org/zentyal 8.0 InRelease                                       
Get:5 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [444 kB]
Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,343 kB]
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:9 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [237 kB]                                                                                                                                                                                         
Get:11 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [599 kB]                                                                                                                                                                                     
Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [852 kB]                                                                                                                                                                                     
Fetched 3,703 kB in 10s (367 kB/s)                                                                                                                                                                                                                                           
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
22 packages can be upgraded. Run 'apt list --upgradable' to see them.

$ sudo apt list --upgradable
Listing... Done
bsdextrautils/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
bsdutils/jammy-updates,jammy-security 1:2.37.2-4ubuntu3.4 amd64 [upgradable from: 1:2.37.2-4ubuntu3.3]
eject/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
ethtool/jammy-updates 1:5.16-1ubuntu0.1 amd64 [upgradable from: 1:5.16-1]
fdisk/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
firefox/mozilla 124.0.2~build1 amd64 [upgradable from: 124.0.1~build1]
libblkid1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
libfdisk1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
libmount1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
libnspr4/jammy-security 2:4.35-0ubuntu0.22.04.1 amd64 [upgradable from: 2:4.32-3build1]
libnss3-tools/jammy-security 2:3.98-0ubuntu0.22.04.1 amd64 [upgradable from: 2:3.68.2-0ubuntu1.2]
libnss3/jammy-security 2:3.98-0ubuntu0.22.04.1 amd64 [upgradable from: 2:3.68.2-0ubuntu1.2]
libsmartcols1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
libuuid1/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
linux-generic/jammy-updates,jammy-security 5.15.0.102.99 amd64 [upgradable from: 5.15.0.101.98]
linux-headers-generic/jammy-updates,jammy-security 5.15.0.102.99 amd64 [upgradable from: 5.15.0.101.98]
linux-image-generic/jammy-updates,jammy-security 5.15.0.102.99 amd64 [upgradable from: 5.15.0.101.98]
mount/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
qemu-guest-agent/jammy-updates 1:6.2+dfsg-2ubuntu6.18 amd64 [upgradable from: 1:6.2+dfsg-2ubuntu6.17]
util-linux/jammy-updates,jammy-security 2.37.2-4ubuntu3.4 amd64 [upgradable from: 2.37.2-4ubuntu3.3]
xserver-common/jammy-updates,jammy-updates,jammy-security,jammy-security 2:21.1.4-2ubuntu1.7~22.04.10 all [upgradable from: 2:21.1.4-2ubuntu1.7~22.04.8]
xserver-xorg-core/jammy-updates,jammy-security 2:21.1.4-2ubuntu1.7~22.04.10 amd64 [upgradable from: 2:21.1.4-2ubuntu1.7~22.04.8]

22
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.
23
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.
24
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.
25
Installation and Upgrades / Zentyal 8 breaks when trying to update packages
« Last post by cursor on April 09, 2024, 08:16:24 pm »
I have a Zentyal 8 (Development) server running on a VM.  Whenever I try to upgrade any package via Software Management -> System Updates my installation breaks.  I get the following error:

The package installation has not finished correctly. More information on the logs
dkpg was interrupted, you must manually run 'sudo dpkg --configure  -a' to correct the problem.

It does not matter which package I select form the list of available updates, I always get this same error.  Running dpkg does not fix the problem:

dpkg: error processing package zentyal (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Errors were encountered while processing:
 zentyal-core
 zentyal-ntp
 zentyal-firewall
 zentyal-radius
 zentyal-software
 zentyal-samba
 zentyal-dns
 zentyal-network
 zentyal

I have to restore the VM to get everything working again but now I cannot upgrade anything.  What can I try to get updates working again?
26
Good morning,

Stuck there too...

sed: can't read /etc/apt/apt.conf.d/20auto-upgrades: No such file or directory <------- This file is provided by the .deb.package unattended-upgrades, which will be downloaded and installed manually.

dpkg: error processing package zentyal-core (--configure):
 installed zentyal-core package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 zentyal-core
E: Sub-process /usr/bin/dpkg returned an error code (1)


Solution:
cd /tmp
sudo apt download unattended-upgrades
sudo dpkg -i unattended-upgrades.deb (fill correct name of the pack downloaded previously)
sudo dpkg zentyal-core --configure


The stalled deb packs and unfinished configs have just gone after that,

HTH,

RSalles


27
I have it checked in the log configuration :access to samba, administration session, vpn. Try turning off others. CPU usage is  - one server ~40-55% ( primary - top display cpu use - user ~`1-10%, sys - 1-17%, idle 70-96% ), additional 3-10% . Next primary server 30-50% ( top display cpu use - user ~`1-10%, sys - 1-17%).

Maybe its bug in display ? Try in console : top
28
Thanks! I managed to update but it was not straightforward some packaged where left broken but i forced them to install and that worked for me. I noticed after update ubuntu and Zentyal 8.0 my CPU usage whas high almost 90 percent and it was caused by loggerd so i disabled all logs in Zentyal and the problem was gone. Think there must be a Bug with Zentyal log module?
29
Many thanks zyzio
Pages: 1 2 [3] 4 5 ... 10