Ubuntu 12.04 support -- coming soon!

I just wanted to post a quick note to say that we’re hard at work on support for Ubuntu 12.04 – it will be available soon!

During our testing, there were some DNS issues that we wanted to get fixed up before we push out formal support.

You’re welcome to beta test it if you like – the latest install.sh script available in the Download area will perform a Virtualmin install on Ubuntu 12.04. Remember that it’s still beta, and we’re still testing things.

If you’re using a live server, we’d highly encourage you to wait a few more days for us to get all the kinks worked out.

For you brave beta-testers – a known issue is that, at the moment, you may need to fix a blank dns-domain line added to /etc/network/interfaces. You can fix it by commenting it out, and then restarting networking by running “/etc/init.d/networking restart”.

If you notice any other issues during your testing, let us know.

We hope to announce the finalized support within the next few days… thanks!

-Eric

Yay!

I am a very brave beta-tester and have an Ubuntu 12 test VM already prepared, just waiting for install.sh to be available. :slight_smile:

I’ll report back with any problems soon.

First problem occurred. :slight_smile: Installer aborts with FATAL ERROR.

The error seems to be triggered by this:

[code]INFO - Cleaning up apt headers and packages, so we can start fresh…
INFO -
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Installing Webmin and Virtualmin package signing keys…
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
INFO - Ign
INFO - Removing Debian standard Webmin package, if they exist…
INFO - Removing Debian apache packages…
E: Unable to locate package webmin-core
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota
…in progress, please wait…
.E: Unable to locate package webmin
E: Unable to locate package usermin

/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota failed. Error (if any): 0[/code]

Is it possible that the Virtualmin software repository is down? I get a long delay when it’s trying to download package lists.

Install.log contents:

INFO - 2012-05-07 10:49:07 - Started installation log in /root/virtualmin-install.log DEBUG - 2012-05-07 10:49:07 - Install mode: full DEBUG - 2012-05-07 10:49:07 - Product: Virtualmin GPL DEBUG - 2012-05-07 10:49:07 - Virtualmin Meta-Package list: virtualmin-base DEBUG - 2012-05-07 10:49:07 - install.sh version: 1.0.6 INFO - 2012-05-07 10:49:07 - Checking for fully qualified hostname... INFO - 2012-05-07 10:49:07 - Hostname OK: fully qualified as mira.tianet.de INFO - 2012-05-07 10:49:07 - Installing serial number and license key into /etc/virtualmin-license INFO - 2012-05-07 10:49:07 - Loading OS selection library... INFO - 2012-05-07 10:49:08 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - 2012-05-07 10:49:08 - Loading OS list... INFO - 2012-05-07 10:49:08 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded. INFO - 2012-05-07 10:49:08 - Operating system name: Ubuntu Linux INFO - 2012-05-07 10:49:08 - Operating system version: 12.04 INFO - 2012-05-07 10:49:08 - Configuring package manager for Ubuntu Linux 12.04... INFO - 2012-05-07 10:49:08 - Enabling universe repositories, if not already available... INFO - 2012-05-07 10:49:08 - Disabling cdrom repositories... INFO - 2012-05-07 10:49:16 - Cleaning up apt headers and packages, so we can start fresh... INFO - 2012-05-07 10:49:16 - INFO - 2012-05-07 10:49:16 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded. INFO - 2012-05-07 10:49:16 - Installing Webmin and Virtualmin package signing keys... INFO - 2012-05-07 10:49:16 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded. INFO - 2012-05-07 10:49:17 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded. INFO - 2012-05-07 10:49:17 - OK INFO - 2012-05-07 10:49:17 - OK INFO - 2012-05-07 10:49:23 - Ign INFO - 2012-05-07 10:49:23 - Removing Debian standard Webmin package, if they exist... INFO - 2012-05-07 10:49:23 - Removing Debian apache packages... DEBUG - 2012-05-07 10:49:23 - Reading INFO - 2012-05-07 10:49:23 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin userm in ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota Reading package lists... Building dependency tree... Reading state information... FATAL - 2012-05-07 10:49:25 - Fatal Error Occurred: Something went wrong during installation: 0 FATAL - 2012-05-07 10:49:25 - Cannot continue installation. FATAL - 2012-05-07 10:49:25 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2012-05-07 10:49:25 - re-attempted after any problems have been resolved. FATAL - 2012-05-07 10:49:25 - Removing temporary directory and files. FATAL - 2012-05-07 10:49:25 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2012-05-07 10:49:25 - in /root/virtualmin-install.log

I checked /etc/apt/sources.list and /etc/apt/sources.list.d/, during the installation, when apt-get is updating its stuff, and it does not seem that the installer added its repository lines to either of those.

The GPG key seems to have been installed though, just the repository lines are missing.

EDIT:

I guess I found the problem. Are you sure you updated the URL http://software.virtualmin.com/gpl/scripts/install.sh with the proper installer script? :slight_smile:

I find this bit of code in the installer I just downloaded:

if [ $os_type = "ubuntu" ]; then deps=$ubudeps case $os_version in 6.06*) repos="virtualmin-dapper" ;; 8.04*) repos="virtualmin-hardy" ;; 10.04*) repos="virtualmin-lucid virtualmin-universal" ;; esac

No mention of Ubuntu 12.04. :smiley: No wonder there’s no repository lines added.

So, before I continue testing, I’ll wait till this is resolved, since I assume the non-Ubuntu-12 version of the script is still on your server.

Durnit, I didn’t think to check the GPL script, I had only been testing with the Pro one (available in /serial/) as of yet.

I’ve done several test installs with it, so it should definitely work. But I’ll go bump Joe about that GPL script, we’ll have that setup here shortly :slight_smile:

-Eric

I’d gladly beta-test the Pro version, but my two pro allowances are already in use for my production and experimental Ubuntu 10 install. :slight_smile:

EDIT:

Actually I just noticed that my experimental Ubuntu 10 currently uses VM GPL. Wheee. :slight_smile: So I’ll get the Pro version for 12 now to test it.

Is BETA available for the GPL Version or only the PRO?

Installing onto 12.04 only works in the Pro version at the moment, it will be available to GPL soon though.

-Eric

Do you know a rought time frame? I know new features often come to Pro first, but as this is OS support, it would be great to get GPL supported.

Are we looking at months or days for soon? I’d really like to setup a new Virtualmin server with 12.04.

Thanks.

It’s not a Pro vs GPL issue… it’s an issue with it being beta, and the one script isn’t working properly :slight_smile:

Both scripts should be working properly in the near future, and we’ll post when that’s the case.

-Eric

Ah I see, thanks.

I just didn’t want to be waiting around if its not going to be released for GPL any time soon :slight_smile:

I look forward to the release.

Okay, I think the issues preventing the GPL installer from working have been corrected.

Feel free to give it a shot!

Again, this is a beta version of the script, and there are known issues with both the Pro and GPL versions (as described above).

But feel free to try it, preferably on non-production systems, and let us know how it works for you :slight_smile:

-Eric

Was trying to upgrade my server to Ubuntu 12.04, unfortunately after installing I was unable to boot into the operating system. Tried several times and with different partitions but to no avail. At this point I am forced to reinstall 10.04 until I can figure out what is wrong. I was not able to test the Virtualmin script at this time.

@JoeEarl: You’d need to elaborate “unable to boot” if you wish some advice from us; i.e. what exactly happens when you try to boot.

Also, if I’m understanding you correctly, you have a server which already had Virtualmin installed on an earlier Ubuntu, and planned to run the installer script after upgrading it to 12.04? You shouldn’t do that… The installer script is meant to be used only on a fresh system.

Generally, I’d not yet use the upgrading function from Ubuntu 10 to 12. It’s advisable to only install fresh systems with U.12 for now and wait a bit until the first fixpacks are ready before trying upgrades. (I personally never upgrade OSes between major versions, but install them freshly. I like to avoid the hassle of potential complications from upgrades and non-matching stuff. :slight_smile: )

Do I assume that the known issue only affects people who have not already setup static networking before running the script?

That known issue can happen whether it’s a static or dynamic IP, unfortunately.

The issue is that Ubuntu 12.04 uses a new system for managing the nameservers – nameservers can no longer be added to /etc/resolv.conf, they need to be set in /etc/network/interfaces.

The installer is trying to do that – but there’s a bug in how that works, which Jamie will have fixed up shortly :slight_smile:

I found a hiccup during my tests with Ubuntu 12:

(Unfortunately I can’t reproduce it right now, and I forgot to copy away the exact error messages, so I’m writing this down from memory.)

When I tried to restore a backup containing just the Virtualmin configuration which I created on another VM installation, there was a problem with greylisting.

On the new VM, greylisting was not yet installed. The restore process tried to do that, but the corresponding apt-get calls failed with different problems. Once it said that it “cannot access the requested /var/lib/postgrey”, later it said that it “cannot lock /etc/group”.

When I then manually installed postgrey via SSH before restoring the backup, there were no issues like that. Even after purging postgrey and doing the restore thing again, there were no more errors.

I suppose to reproduce that I’d have to reinstall the OS again, which I currently don’t feel like doing. :wink:

Thanks for the heads up, I’ll do some testing with greylisting!

Error - Perl execution failed

Number with no digits in regex; marked by <-- HERE in m/-\o{} <-- HERE / at /usr/share/webmin/postfix/postfinger.cgi line 199.

I received this message when trying to run Configuration Check with Postfix Mail Server. I am not able send email with my email client when using my username/password in my SMTP settings. I can send email using Usermin from my server. I have set up SSL Certificates also.

Hello,

In following this procedure, found the new virtualmin script (GPL) for Ubuntu server 12.04 worked as designed. However, there is one flaw in the latest version dated May 9, 2012. No where in the script does it ask for the mysql ‘root’ password, which I thought was odd at the time, but continued with rebooting server after script install.

Didn’t discover the problem until post-install I went to set up phpmyadmin and it asked if I wanted to have it set up the database ‘yes’ or ‘no’. Selected “Yes” and install bombed because I didn’t have the correct password information.

Searching for a solution found I had to ‘apt-get autoremove phpmyadmin’ to purge the server. Then I had to run ‘dpkg-reconfigure mysql-server-5.5’ (which by the way is the latest version downloaded from the repositories). This gave me the ‘Configure mysql-server-5.5’ 'New password for the MySQL “root” user:" prompt.

After setting up the new password I reinstalled phpmyadmin and dbconfig-common, chose ‘yes’ to let the installer set up the new database. Was able to log onto phpmyadmin from associated network IP successfully after setting up the mysql-server password.

Hope this helps others, as well as help correct a minor issue with the script.