Ubuntu 16.04

Okay, the new Virtualmin version is in place, as is the new install script.

So things should be good to go with Ubuntu 16.04 support!

Please let us know if you run into any issues. Virtualmin didn’t officially support MySQL 5.7 until this release. And Ubuntu 16.04 is also the only distro to ship with PHP 7 by default, we ran into a couple of minor install script problems that were corrected.

Feel free to give that a whirl, and let us know how it works for you.

An official announcement will be coming tomorrow, and I’ll also be working on upgrade instructions at that point.

-Eric

No issue with installer
Webalizer conf has to be tuned
but running my Joomla 3.5.1 websites
in error_logs :
mod_fcgid: stderr: PHP Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct

and display Mysql connect error
Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.

so actually not possible to use

It worked for me, just had to edit /etc/issue (but it’s always the case with this server), and also, the webalizer conf file was not in /etc/webalizer.conf but /etc/webalizer/webalizer.conf

And now it works perfectly, thx guys! :slight_smile:
(Good thing we have the old them first too so it runs the wizard)

edit: but I can’t install roundcube, it says it requires PHP5 (I think it works with PHP7 now), and same for phpmyadmin.

edit2: even after installing php 5.6 with ppa/onderj, and I’ve changed php 7 to php 5.6 in php configuration, I still can’t install roundcube or phpmyadmin, it still says that it requires php 5.

edit3: ok, even if I set PHP version to 5.6 to a virtual server, it still uses php 7 (checked from phpversion()).

Downloaded Ver 1.1.4 of the GPL script and it appears the install failed. This is a fresh install of a Ubuntu 16.04 LTS dreamhost cloud server that was fully upgraded.


Reading package lists…
Building dependency tree…
Reading state information…
The following additional packages will be installed:
webmin-virtual-server webmin-virtual-server-theme
The following NEW packages will be installed:
virtualmin-base webmin-virtual-server webmin-virtual-server-theme
0 upgraded, 3 newly installed, 0 to remove and 13 not upgraded.
Need to get 4668 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Get:1 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server all 5.02.gpl [2326 kB]
Get:2 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server-theme all 9.0-2 [2327 kB]
Err:2 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server-theme all 9.0-2
Hash Sum mismatch
Get:3 http://software.virtualmin.com/gpl/ubuntu virtualmin-xenial/main amd64 virtualmin-base all 1.0-35 [14.1 kB]
Fetched 4668 kB in 0s (6369 kB/s)
WARN - 2016-04-25 06:10:24 - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - 2016-04-25 06:10:24 - http://www.virtualmin.com/os-support
FATAL - 2016-04-25 06:10:24 - Fatal Error Occurred: Installation failed: 0
FATAL - 2016-04-25 06:10:24 - Cannot continue installation.
FATAL - 2016-04-25 06:10:24 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2016-04-25 06:10:24 - re-attempted after any problems have been resolved.
FATAL - 2016-04-25 06:10:24 - Removing temporary directory and files.
FATAL - 2016-04-25 06:10:24 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2016-04-25 06:10:24 - in /root/virtualmin-install.log


Contents of these files:
/etc/issue: “Ubuntu 16.04 LTS \n \l”
/etc/issue.net: “Ubuntu 16.04 LTS”

cat /etc/lsb-release:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=“Ubuntu 16.04 LTS”

EDIT-1:
INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
…in progress, please wait…
…W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Failed to fetch http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/main/binary-amd64/webmin-virtual-server-theme_9.0-2_all.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base failed. Error (if any): 0

Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:

EDIT-2:
Now when I run apt-get upgrade I get this:

apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
byobu isc-dhcp-client librados2 librbd1 linux-headers-generic linux-headers-virtual linux-image-virtual linux-virtual lvm2 qemu-block-extra qemu-utils
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

Install went flawless now. Many thanks again for the professional work!
I am up and running.

Howdy,

Thanks to everyone for trying it out, and letting us know the issues you’re seeing!

It looks like we goofed, and forget that the webalizer issue (which we fixed) we actually fixed in Webmin, not Virtualmin. So we should have released a new Webmin version too. Nuts! The workaround in the meantime is to run this command:

ln -s /etc/webalizer/webalizer.conf /etc/webalizer.conf

As far as the RoundCube Install Script goes – I’m going to ask Jamie about that, we saw a similar problem in another script that we corrected. Apparently we didn’t get them all. We’ll get the scripts corrected so that they install properly, but as soon as I figure out what the problem is I’ll post a patch or workaround that can be used to get those installed.

-Eric

thank you
installing it as we speak :slight_smile:

Great :slight_smile:

Also after installing php 5.6 with the ondrej ppa, even if it’s in the list, and I select php version 5.6, it uses php 7.

yeh it need bit of a touch and would be perfect :slight_smile:

I just wanted to let everyone know that we’re working hard to sort out what’s going on with all that… we fixed what we thought was the problem, only to run into some issues we didn’t realize were going on.

We’ll have all that sorted out here soon though!

-Eric

virtualmin installation failed

here is last part log message
" INFO - Succeeded.
INFO - Installing Virtualmin and all related packages now using the command:
INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
…in progress, please wait…
…W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Failed to fetch http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/main/binary-amd64/webmin-virtual-server-theme_9.0-2_all.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base failed. Error (if any): 0

Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
Building dependency tree…
Reading state information…
The following additional packages will be installed:
webmin-virtual-server webmin-virtual-server-theme
The following NEW packages will be installed:
virtualmin-base webmin-virtual-server webmin-virtual-server-theme
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 4668 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Get:1 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server all 5.02.gpl [2326 kB]
Get:2 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server-theme all 9.0-2 [2327 kB]
Err:2 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server-theme all 9.0-2
Hash Sum mismatch
Get:3 http://software.virtualmin.com/gpl/ubuntu virtualmin-xenial/main amd64 virtualmin-base all 1.0-35 [14.1 kB]
Fetched 4668 kB in 2s (1828 kB/s)
WARN - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - http://www.virtualmin.com/os-support

FATAL - Fatal Error Occurred: Installation failed: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log
"

thats something with ur server cuz it installs okay

Someone above mentioned that they had received that error during an installation attempt. If I understood correctly, what they do is run “apt-get update” and “apt-get upgrade”… and after doing that I believe they were able to complete the installation.

Could you see what happens if you try running those two commands?

-Eric

So, I’ve tried this three different ways.

  1. 16.04 server downloaded iso in VirtualBox (works)
  2. Vagrant ubuntu/xenial64 package (breaks)
  3. AWS ubuntu 16.04 (breaks)

The last two break very similarly:
Building dependency tree…
Reading state information…
The following additional packages will be installed:
webmin-virtual-server webmin-virtual-server-theme
The following NEW packages will be installed:
virtualmin-base webmin-virtual-server webmin-virtual-server-theme
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 4668 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Get:1 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server all 5.02.gpl [2326 kB]
Get:2 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server-theme all 9.0-2 [2327 kB]
Err:2 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server-theme all 9.0-2
Hash Sum mismatch
Get:3 http://software.virtualmin.com/gpl/ubuntu virtualmin-xenial/main amd64 virtualmin-base all 1.0-35 [14.1 kB]
Fetched 4668 kB in 1s (3073 kB/s)
WARN - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - http://www.virtualmin.com/os-support

FATAL - Fatal Error Occurred: Installation failed: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log

It looks to be an error in the hash for webmin-virtual-server-theme which breaks. I’ve done an apt-get update and upgrade afterwards, but upgrade finds nothing.

Thanks for your work on this!

Howdy,

Those who are seeing that hash mismatch problem – are you all using Virtualmin GPL with a 64 bit OS?

-Eric

for me, the one that worked was xenial-server-amd64.iso downloaded from ubuntu.

The two that failed were ubuntu/xenial64 for vagrant (here) and the amd64 version of xenial for AWS (here)

Thanks for your help on this. Any idea when the upgrade instructions will be out? I tried an upgrade on my own but it gets stuck at the MySQL 5.7 portion. Apparently there’s a ‘bug’ of sorts when upgrading from an old MySQL version to a new one: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1571865

It would be great if you could cover this in the upgrade instruction :slight_smile:

Meanwhile, fervently praying that my upgrade will go flawlessly. Heh.

Are you using Virtualmin Pro or GPL on your server there? Thanks!

-Eric

Yes, Virtualmin GPL and a 64-bit OS. Tried numerous installs and still get a failure each time…

That’s all very odd! I’m struggling to reproduce that issue, even though I’m also testing with 64 bit Virtualmin GPL.

And there’s a number of folks who were able to install on that platform.

But there’s also multiple reports of this hashsum issue.

Could I perhaps log into someone’s system who’s experiencing this problem?

If you’re receiving a hash sum mismatch when performing an install, and you wouldn’t mind me logging in to take a look, can you email me login credentials at eric@virtualmin.com? You can email me a password if you want, or just add my SSH key at the bottom to an account with admin permissions.

If you could, make the subject something like “Ubuntu hash sum problem” to help me keep track of who’s emailing me :slight_smile:

Thanks!

-Eric

SSH key is below:

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0xsh0K9ZFzSV5JpdZ16OnwVg0uNVbebW6vBnZ8T+UYKpvLac0xx5QQRPdyBWO9dahFrFwbKbMFjZ+01RfbBi0SpJesL4LN9H7sqKYnatqFTVQek0IvJqHicHcySOjWjZMEX1ovc63cYIXEYNoS3CVMcYhWMFhig1ANuUQwoG7fFcjy2It9XeaP+AmIb7LvUEZr5zqeUV03sXoV2CmtpkpbQ8Gn5KyyNKjI/AwZpAZdkkJLCvvhKZz15W8bdK27Q89HW3g6IGwS604p8aLGszYH6e9eAfFzZ8hVa6hHEe7cJE6I14GhDiByYwNsLblv9A+zb/HdO19Miokj9kTgemew== eric@virtualmin.com