I-MSCP Update Error - 1.1.20 to 1.2.2

  • @Nuxwin


    Code
    1. root@srv1 /usr/local/src/imscp-1.2.2 # service nginx startFailed to start nginx.service: Unit nginx.service is masked.


    And netstat -plunt



    Edit: I used Port 6161 for Admin by Installation. Is this a problem?

  • @freedom


    You've systemd installed on wheezy... Your system uses mix of packages from wheezy and jessie which is not really good but ok. Let's try the following:


    Shell-Script
    1. # systemctl unmask nginx
    2. # systemctl enable nginx
    3. # systemctl start nginx


    BTW: I would recommend you to fully upgrade to jessie.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin


    Done.


    Code
    1. root@srv1 /usr/local/src/imscp-1.2.2 # systemctl unmask nginx
    2. Removed symlink /etc/systemd/system/nginx.service.
    3. root@srv1 /usr/local/src/imscp-1.2.2 # systemctl enable nginx
    4. Synchronizing state for nginx.service with sysvinit using update-rc.d...
    5. Executing /usr/sbin/update-rc.d nginx defaults
    6. Executing /usr/sbin/update-rc.d nginx enable
    7. root@srv1 /usr/local/src/imscp-1.2.2 # systemctl start nginx
    8. root@srv1 /usr/local/src/imscp-1.2.2 #


    Now 502 Bad Gateway on Adminpage - http://admin.bluewater-it.de:6161/

  • @freedom


    Yeah.. Now you must rerun the i-MSCP installer perl imscp-autoinstall -das since some services were not started due to nginx problem...


    The 502 Bad Gateway error means that PHP FCGI processes for the panel are not spawned. (eg. the imscp_panel service is not started).

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Thanks. Now it worked all fine.


    I will follow your suggestion and update fully to jessie.


    Thanks again for the great support. As always.