Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
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.
22
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?
23
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


24
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
25
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?
26
Many thanks zyzio
28
Sorry for my english..

I managed to update 4 servers.
The problems I encountered were solved - in version 7.1.1 I installed the package  ( you need to install, if skip = problems with upgrade)
apt-get install unattended-upgrades apt-listchanges
dpkg-reconfigure -plow unattended-upgrades

Now using "upgrade now". If it finish, restart and check mysql is working:
systemctl status mysql.service

If not -> sudo mkdir -p /var/log/mysql/
sudo chown mysql:mysql -R /var/log/mysql
systemctl start mysql.service.
29
Installation and Upgrades / Looking for reassurance before upgrading 7.1.1 to 8.0
« Last post by trvaa on April 02, 2024, 05:47:19 pm »
After reading of problems both here and on github, can anyone confirm a successful upgrade from 7.1.1 to 8.0 using the "Upgrade Now" button on the Dashboard?
30
Hi scottdr,

I have had the same issues although I didn’t close any dialog boxes until I was sure it had finished all tasks. Eventually you have to reboot into the new server and antivirus was stoped but the rest was working. I managed to set the 20autostart and 50xxxx files to get to work, but the update process of zentyal-core never finished and is now stuck on expecting the unattended package which is not installed and can not be installed because of the unfinished installation proces of zentyal-core. I think that this is the bottleneck of all the problems.

I would advise to install the Debian unattended package before upgrading to Zentyal 8. Probably this will help to upgrade without issues. Once I have fixed my upgrade I will check this approach but maybe someone has a chance to test this theory before I can.

I also hope the the Zentyal community finds a way to finish the stuck unattended installation so we don’t have to fall back or restore to the earlier version.

C.
Pages: 1 2 [3] 4 5 ... 10