Fatal error on Synology with Docker (Solved!)

Hi guys,

I’m trying to install Webmin with Virtualmin on my Synology. I’ve created a Docker instance with Ubuntu 14.04 and I’m trying to install it on this container.
I got a fatal error during the installation.

Can you help me ?

Here is the log :

INFO - 2016-01-15 22:47:33 - Started installation log in /root/virtualmin-install.log
DEBUG - 2016-01-15 22:47:33 - Install mode: full
DEBUG - 2016-01-15 22:47:33 - Product: Virtualmin GPL
DEBUG - 2016-01-15 22:47:33 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2016-01-15 22:47:33 - install.sh version: 1.1.2
INFO - 2016-01-15 22:47:33 - Checking for fully qualified hostname…
INFO - 2016-01-15 22:47:33 - Hostname Webmin is not fully qualified.
INFO - 2016-01-15 22:47:44 - Hostname OK: fully qualified as test.example.com
INFO - 2016-01-15 22:47:44 - Primary address detected as 172.17.0.10
INFO - 2016-01-15 22:47:44 - Entry for IP 172.17.0.10 exists in /etc/hosts.
INFO - 2016-01-15 22:47:44 - Updating with new hostname.
INFO - 2016-01-15 22:47:44 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2016-01-15 22:47:44 - Loading OS selection library…
INFO - 2016-01-15 22:47:45 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2016-01-15 22:47:45 - Loading OS list…
INFO - 2016-01-15 22:47:45 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2016-01-15 22:47:45 - Operating system name: Ubuntu Linux
INFO - 2016-01-15 22:47:45 - Operating system version: 14.04
INFO - 2016-01-15 22:47:45 - Configuring package manager for Ubuntu Linux 14.04…
INFO - 2016-01-15 22:47:45 - Enabling universe repositories, if not already available…
INFO - 2016-01-15 22:47:46 - Disabling cdrom repositories…
INFO - 2016-01-15 22:47:59 - Cleaning up apt headers and packages, so we can start fresh…
INFO - 2016-01-15 22:47:59 -
INFO - 2016-01-15 22:47:59 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2016-01-15 22:47:59 - Installing Webmin and Virtualmin package signing keys…
INFO - 2016-01-15 22:48:00 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2016-01-15 22:48:00 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2016-01-15 22:48:01 - OK
INFO - 2016-01-15 22:48:01 - OK
INFO - 2016-01-15 22:48:16 - Ign
INFO - 2016-01-15 22:48:16 - Removing Debian standard Webmin package, if they exist…
INFO - 2016-01-15 22:48:16 - Removing Debian apache packages…
DEBUG - 2016-01-15 22:48:33 - Reading
INFO - 2016-01-15 22:48:33 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install bsdutils postfix postfix-pcre webmin usermin ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev bind9 spamassassin spamc procmail procmail-wrapper libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-custom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libapache2-mod-php5 php5-mysql
Reading package lists…
Building dependency tree…
Reading state information…
awstats is already the newest version.
iptables is already the newest version.
libdbd-mysql-perl is already the newest version.
libfcgi-dev is already the newest version.
libnet-ssleay-perl is already the newest version.
libsasl2-2 is already the newest version.
libsasl2-modules is already the newest version.
libxml-simple-perl is already the newest version.
python is already the newest version.
quota is already the newest version.
ruby is already the newest version.
sasl2-bin is already the newest version.
zip is already the newest version.
libapache2-mod-fcgid is already the newest version.
libcrypt-ssleay-perl is already the newest version.
libdbd-pg-perl is already the newest version.
libpg-perl is already the newest version.
proftpd-basic is already the newest version.
ri is already the newest version.
webalizer is already the newest version.
apache2-doc is already the newest version.
bind9 is already the newest version.
bsdutils is already the newest version.
clamav is already the newest version.
clamav-base is already the newest version.
clamav-daemon is already the newest version.
clamav-docs is already the newest version.
clamav-freshclam is already the newest version.
dovecot-core is already the newest version.
dovecot-imapd is already the newest version.
dovecot-pop3d is already the newest version.
mailman is already the newest version.
mysql-client is already the newest version.
mysql-common is already the newest version.
mysql-server is already the newest version.
openssl is already the newest version.
php-pear is already the newest version.
php5 is already the newest version.
php5-cgi is already the newest version.
php5-mysql is already the newest version.
postfix is already the newest version.
postfix-pcre is already the newest version.
postgresql is already the newest version.
postgresql-client is already the newest version.
procmail is already the newest version.
spamassassin is already the newest version.
spamc is already the newest version.
subversion is already the newest version.
unzip is already the newest version.
apache2-suexec-custom is already the newest version.
clamav-testfiles is already the newest version.
libapache2-svn is already the newest version.
procmail-wrapper is already the newest version.
scponly is already the newest version.
webmin is already the newest version.
usermin is already the newest version.
Suggested packages:
www-browser ufw apache2-utils
The following NEW packages will be installed:
apache2 libapache2-mod-php5
0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
3 not fully installed or removed.
Need to get 2298 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.8 [87.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libapache2-mod-php5 amd64 5.5.9+dfsg-1ubuntu4.14 [2210 kB]
Fetched 2298 kB in 2s (1082 kB/s)
Selecting previously unselected package apache2.
(Reading database … 83631 files and directories currently installed.)
Preparing to unpack …/apache2_2.4.7-1ubuntu4.8_amd64.deb …
Unpacking apache2 (2.4.7-1ubuntu4.8) …
Selecting previously unselected package libapache2-mod-php5.
Preparing to unpack …/libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.14_amd64.deb …
Unpacking libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.14) …
Processing triggers for ureadahead (0.100.0-16) …
Setting up apt-show-versions (0.22.3) …
** initializing cache. This may take a while **
Setting up apache2 (2.4.7-1ubuntu4.8) …
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Processing triggers for ureadahead (0.100.0-16) …
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.14) …
Module mpm_event disabled.
Enabling module mpm_prefork.
FATAL - 2016-01-15 22:49:10 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2016-01-15 22:49:10 - Cannot continue installation.
FATAL - 2016-01-15 22:49:10 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2016-01-15 22:49:10 - re-attempted after any problems have been resolved.
FATAL - 2016-01-15 22:49:10 - Removing temporary directory and files.
FATAL - 2016-01-15 22:49:10 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2016-01-15 22:49:10 - in /root/virtualmin-install.log

Howdy,

Hmm, it looks like it was doing pretty well there, and just oddly failed there at the end. I’m curious what output you receive if you try to manually install these packages:

apt-get install bsdutils postfix postfix-pcre ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev bind9 spamassassin spamc procmail procmail-wrapper libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-custom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libapache2-mod-php5 php5-mysql

First of all thx for your time !

Here is the response of the command :
The code is inverted (I can only have it like that)

webmin usermin apt-show-versions Errors were encountered while processing: dependency problems - leaving unconfigured dpkg: error processing package webmin (--configure):

Package apt-show-versions is not configured yet.
webmin depends on apt-show-versions; however:
dpkg: dependency problems prevent configuration of webmin:
dependency problems - leaving unconfigured
dpkg: error processing package usermin (–configure):

Package apt-show-versions is not configured yet.
usermin depends on apt-show-versions; however:
dpkg: dependency problems prevent configuration of usermin:
subprocess installed post-installation script returned error exit status 255
dpkg: error processing package apt-show-versions (–configure):
Error: No information about packages! (Maybe no deb entries?)
** initializing cache. This may take a while **

I resolved my error doing this :

sudo rm /etc/apt.conf.d/docker-gzip-indexes sudo apt-get update sudo apt-get -f install

Thank you. It’s work for me!

p.s.
Your comment has mistake in path of docker-gzip-indexes.
That’s right path: /etc/apt/apt.conf.d/

This is slightly confusing. Are you actually installing Virtualmin on a Synology file server? i didn’t think it could be done.