Posts by jackstone

    Ok so, after the upgrade from Ubuntu 16.04 to Ubuntu 18.04, I reinstalled i-MSCP and now the panel (or anything else) doesn't work on apache 443, before the upgrade I had the PanelRedirect plugin installed which would enable customers to access the panel on a normal URL without :8443 at the end, now the panel works properly if I add :8443 at the end, but on the normal URL Chrome gives the following error :

    1. This site can’t provide a secure connection website sent an invalid response.
    2. Try running Windows Network Diagnostics.

    If I try to curl https://localhost I get this : (If I try to curl any https site which is NOT on this server, it works fine)

    1. # curl -I https://localhost
    2. curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

    I checked all Apache modules, I check OpenSSL version, everything *seems* fine, I also compared settings between this server and another recently updated server which works fine and couldn't find any difference in configs.

    The only thing I can think of is that i-MSCP was recently upgraded from a very old version (1.1.21) to the latest 1.5.3-2018 and maybe some old config file was left behind which is interfering with Apache. I tried to run the installer again with --reconfigure and nothing changed.

    The only logs I get in Apache are :

    Quote - - [09/Feb/2019:14:15:12 +0200] "\x16\x03\x01\x02" 400 226 "-" "-" - - [09/Feb/2019:14:15:19 +0200] "\x16\x03\x01\x02" 400 226 "-" "-" - - [09/Feb/2019:14:15:25 +0200] "\x16\x03\x01\x02" 400 226 "-" "-"

    It's like Apache doesn't know anymore how to handle a SSL connection.

    ANY IDEAS ?! :idea:

    Ubuntu 18.04 - i-MSCP 1.5.3 Build: 2018120800

    P.S. When I finished the reconfigure of the panel after it said I can login into the panel the following error appeared below for 3 different sites :

    [ERROR] Servers::named::bind::_compileZone: Couldn't compile the zone: Unknown error

    Thank you for your reply Nuxwin but Bulli managed to help me out before you posted the reply, big thanks to him for the support.


    Please next time, ask us before doing anything... Asking us after playing with something you don't understand is not really the right way. A customer that is processing such way would lose free support.

    You have to understand that I didn't have much choices, it is a production server which could only be upgraded during the night because during the day there is intense traffic. So when I updated from Ubuntu 16.04 to 18.04, rebooted, ran the imscp-autoinstall with the same version which was installed on 16.04 and the installer would quit spitting errors I panicked, the server cannot be offline for a very long period of time and services must be running, with the installer failing and everything offline at 2 AM I didn't have much choice but to try to fix the errors which were displayed in the setup dialog in order to successfully install i-MSCP and resume the services, thinking that after everything is running I can correct the errors manually. I don't see any other way I could have played this. I'm not really sure what the exact problem was, Bulli knows better, he fixed it, but I suspect something went wrong with the secondary IP of the server during the upgrade, which I also had to remove manually from the sql database before being able to successfully install i-MSCP, but by removing the IP manually after your reply I realize that most likely that was the cause why the subdomains kept failing and giving the error because they were assigned to the secondary IP and the secondary IP was deleted. At least now I have a better understanding of some things. :rolleyes:

    Hello everyone,

    I'm having trouble after a recent upgrade from Ubuntu 16.04 to Ubuntu 18.04, after the upgrade I re-ran the i-MSCP installer and it wouldn't install giving out an error about Data not found for subdomain, so I manually deleted the conflicting subdomains from the mysql database thinking that after a successful install I can just re-add them back, the problem is that now they are stuck in Addition in progress... and when i try to run perl /var/www/imscp/engine/imscp-rqst-mngr -v it gives out the following error :

    1. [FATAL] iMSCP::DbTasksProcessor::_processModuleDbTasks: Modules::Subdomain::_loadData: Data not found for subdomain (ID 4) at /var/www/imscp/engine/PerlLib/Modules/ line 156, <$fh> line 408.
    2. ...propagated at /var/www/imscp/engine/PerlLib/iMSCP/ line 496, <$fh> line 408.

    I tried to edit the database and change de subdomain status from toadd to -> ok, now the addition in progress disappeared but the subdomains still don't work, when I try to dig @localhost they won't resolve.

    Any ideas how to fix this ?!

    Forgot to mention, i-MSCP version 1.5.3 Build: 2018120800 running on Ubuntu 18.04

    Tried both ways, but by deleting /var/www/imscp i found out that in most cases the installer progresses much further before it spits out an error, if I leave the original /var/www/imscp i get maybe 4-5 steps before it crashes, if i delete it i go 10-11 steps :D

    So, i tried first the upgrade directly to 1.5.3 on the VM, resulted in the following error :

    1. Error was: │
    2. iMSCP::SystemUser::addSystemUser: usermod: directory /var/www/imscp/gui exists
    3. Error was: │
    4. iMSCP::SystemUser::addToGroup: Invalid group or username

    The, i tried to upgrade from 1.3.9, resulting in the following error :

    1. │ Error was:
    2. │ main::setupDatabase: [ERROR] An i-MSCP downgrade attempt has been detected. Downgrade is not supported.
    3. │ Stack trace:
    4. │ #0 {main}

    Next i'm going to delete the entire installation, dump again the sql backup of version 1.1.21 and try again to upgrade directly to 1.3.9 first.


    The problem is, I already tried that, I have a free virtual machine which I can play around with in a safe environment, i basically copied the i-mscp database, config files and /var/www/imscp folders to re-create the original server on a fresh VM with Ubuntu 16.04. i-MSCP was working properly, than I downloaded version 1.5.3 and tried to upgrade and got a bunch of sql errors which I had no idea how to fix. I even tried to upgrade to an earlier version first (1.3.x), this time there were different errors and the daemon still won't compile, it's a real mess, that's why I thought maybe somebody else went through this and has a better idea on how I could upgrade / migrate successfully.

    As a side note, I never would have allowed i-MSCP to get this old without updating it regularly (i'm an update freak) I took over administration a few months ago from a previous admin who left all the servers in terrible mess with no updates for years. Now i'm playing catch-up with all of them.

    Hello everybody,

    I have a rented server which is going offline at the end of the month and i need to migrate it to a new server, I've searched the forums but at the moment it doesn't seem to be an easy way to upgrade / migrate a version this old of i-MSCP.

    My system is an Ubuntu 16.04 with i-MSCP version 1.1.21 Build: 20141230 Codename: Eagle and I want to migrate it to a brand new Ubuntu 18.04 with the latest i-MSCP 1.5.3.

    The problem is that i currently have 46 Domains, 8 Subdomains, 3045 e-mail accounts =O, 38 FTP accounts, 45 sql databases, migrating them manually like I did on a previous server this old which only had 6 domains would be a nightmare. (took me 4/5 hours to manually move the previous one)

    My question is : Does anyone know an easier way to make the upgrade ? Maybe a script to update the SQL databases to the latest format ? From what I could tell, if the SQL is ok, i could just install from scratch the latest version.

    The server is a production server so a larger than 1h downtime would be a problem.

    I would like to be able to upgrade the current server to Ubuntu 18.04, than upgrade the i-MSCP to 1.5.3 so when it's time to move I won't have any surprises.

    Any ideas are welcomed.