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

Pages: 1 2 [3]
Installation and Upgrades / Re: Upgrading from 3.4 to 6.0
« on: June 14, 2019, 04:36:43 pm »
The button you have used runs the script that I have described you.  :-\

Do you have waited the whole process finished?

Tell me how can I help you if you need.


Yes, I did and it gave me error message "Impossible to upgrade". I will try to follow what you suggested in the previous post.

Installation and Upgrades / Re: Upgrading from 3.4 to 6.0
« on: June 14, 2019, 03:45:06 pm »
If you have done an "apt dist-upgrade" or edited manually the sources.list file your packages system is surely broken.
Actually, I used the upgrade button from admin GUI after that I updated the system to the latest package version.

Code: [Select]
dpkg -l |egrep -v '^(ii|rc)'
This way you'll see your broken packages.

You could try to back to the old sources.list, do an "apt-get update", remove the new packages and install it again in his old versions.

Afterwards run this command until the packages will be installed:
Code: [Select]
sudo dpkg –configure -a
Afterwards if you are able to restore your old system, run this command:

Code: [Select]
sudo sh /usr/share/zentyal/upgrade-to-4.0
Tell me about your advances.


Best regards,
I will take a look on it and let you know.
Thank you

Installation and Upgrades / Re: Upgrading from 3.4 to 6.0
« on: June 14, 2019, 12:54:51 pm »
I tried to upgrade from zentyal 3.4 to 3.5, but the process stopped with errors.
Now I have not access anymore to admin GUI. I reverted back from trusty to saucy the distro name into
Code: [Select]
I have a strange error if I type:
Code: [Select]
sudo apt-get update && sudo apt-get upgrade
Code: [Select]
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
 haproxy libauthen-krb5-easy-perl libclamav-xs-perl zenbuntu-desktop
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.
10 not completely installed or removed.
After this operation, 0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Configuring zentyal-objects (3.5)...
Perl API version v5.18.0 of 1 does not match v5.14.0 at /usr/lib/perl/5.14/ line 207.
Compilation failed in require at /usr/share/perl5/EBox/ line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/ line 25.
Compilation failed in require at /usr/share/perl5/EBox/Module/ line 28.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Module/ line 28.
Compilation failed in require at (eval 16) line 2.
...propagated at /usr/share/perl/5.14/ line 93.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Module/ line 20.
Compilation failed in require at (eval 15) line 2.
...propagated at /usr/share/perl/5.14/ line 93.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/ line 21.
Compilation failed in require at /usr/share/perl5/EBox/ line 22.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/ line 22.
Compilation failed in require at /usr/share/zentyal/initial-setup line 22.
BEGIN failed--compilation aborted at /usr/share/zentyal/initial-setup line 22.
dpkg: errore nell'elaborare zentyal-objects (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato di errore 2

If you describe your system I could help you in this process.

How many users, groups, machines...?

There's only an AD controller or there are some other additional controllers?




My configuration is quite simple. I have only some Web server installed on it with openVPN and ftp services.

Installation and Upgrades / Re: Upgrading from 3.4 to 6.0
« on: June 14, 2019, 07:37:44 am »
It seems to me that your Zentyal version is too old. I fear your best option is to make a fresh install, but you could try this:,_Single_Domain_Controller

From Zentyal 4 the upgrade process is realized throught a script that configures the new repos, fix some bugs, and run the apt-get upgrade (This script is runned from the button which describes the wiki that you have found). From 4 to 5 version and from 5 to 6 the process seems to me  secure.

However, many things could be failed on a so complex process although you were able to upgrade to Zentyal 4
Is it a huge system?

Best regards.

Actually, the system is quite small. The problem is that I do not know how to use zentyal very well compared to ubuntu server. I already found some different behaviour with configuration files (mySQL, apache, etc.). I will try to make a new install and to import the most of the setting.
Is there something that you can suggest to me?
Thank you

I have an old installation of zentyal 3.4. I'm analysing how to manage it and at the same time I'm testing the latest release 6.0. I would like to know if it is advised and possible to perform several upgrade from 3.4 up to 6.0. Moreover, can I just install the latest release 6.0 and import the backup from 3.4 (I do not think so)?
Thank you


Zentyal webadmin runs on nginx so you can configure Apache at your will. (However take note on that SOGo runs on Apache server and all the Zentyal module configurations use "Stubs". So read this:


Thank you for the fast reply. I know that zentyal run on nginx, but I do not how to setup virtual hosting by using it. I read your link about stubs. I cannot find something related to Web server. I only found nginx.conf.max that is the template for Web administration under core folder:
Code: [Select]
ls /usr/share/zentyal/stubs
antivirus ca core css ftp ips network openvpn software squid
So can I use virtual hosting with apache without caring about overwriting configuration files?

I discovered that starting from Zentyal 4.0, the GUI manager does not provide Web server feature. I know how to setup an apache Web server with virtual hosting in order to have more Web sites. Can I change the apache Web server configuration files without worrying about Zentyal strange behaviour? I mean, could Zentyal change some configuration files by itself? I'm asking this because I found some particular/strange behaviour of Zentyal compared to standard ubuntu server regarding mySQL configuration.
Thank you

I solved by myself.
Zentyal uses a very strange policy for mySQL password.
Zentyal user (limited privileges) password is located at:
Code: [Select]
/var/lib/zentyal/conf/zentyal-mysql.passwdYou can log in as:
Code: [Select]
mysel -u zentyal -pRoot user without any password:
Code: [Select]
sudo mysql

You can find mysql password here:
Code: [Select]
Thank you for the reply. As I wrote in the previous post, I know how to retrieve the mySQL password for the user zentyal. However, by logging into mySQL with such account I have not root privilege. How can I get it?
Moreover, I installed phpMyAdmin and during the installation it prompted me a choice for the Web server (apache or nginx) and for the mySQL password for phpmyadmin user. Then by using phpMyAdmin I'm able to log in only with zentyal and phpmyadmin account. No one has root access.

I recently discovered zentyal. I'm trying it for my main server and I would like to install moodle 3.7 e-learning. I'm having an issue with mySQL root password. I already read about how to find the mySQL zentyal user password. However, I'm not able to create new user nor viewing the current users:
Code: [Select]
select * from mysql.user;How can I add a root user? I tried the standard command but it does not work for insufficient privilege.
Zentyal is based on ubuntu server, however the behaviour in this situation is quite different. Do you have any suggestion?
Thank you

Pages: 1 2 [3]