Some problem while upgrading

  • Edit:


    The last update has been done on Wheezy? It's strange because on my Wheezy, I do not get same exit status when running the command:


    Code
    1. skill -KILL -vu vu2000; /usr/sbin/usermod -c 'iMSCP master virtual user' -d '/var/www/imscp/gui' -m -s '/bin/false' vu2000


    I get:

    Code
    1. root@wheezy:~# skill -KILL -vu vu2000; /usr/sbin/usermod -c 'iMSCP master virtual user' -d '/var/www/imscp/gui' -m -s '/bin/false' vu2000
    2. usermod : aucun changement
    3. root@wheezy:~# echo $?
    4. 0


    When you, you get 12 as exit code. On my system, the /var/www/imscp/gu also exists.

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

    Edited once, last by Nuxwin ().

  • The first update was a distupgrade from squeeze to wheezy and then i upgrade i-MSCP.
    And the error was the same

  • Ok, I'm able to reproduce the problem now.


    The problem occurs only when the home directory of the vu2000 user was set to another directory before the update attempt..


    To reproduce the problem, I've edited the /etc/passwd file and changed the home path manually to something else (un-existent directory) and, I've run the command.


    Result:

    Code
    1. root@wheezy:/var/www/imscp# skill -KILL -vu vu2000; /usr/sbin/usermod -c 'iMSCP master virtual user' -d '/var/www/imscp/gui' -m -s '/bin/false' vu2000
    2. usermod : le répertoire /var/www/imscp/gui existe
    3. root@wheezy:/var/www/imscp# echo $?
    4. 12
    5. root@wheezy:/var/www/imscp#


    Seem that in previous versions, the home path was set to something else than /var/www/imscp/gui.


    I'll fix now.


    Thanks for your report.

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

    Edited once, last by Nuxwin ().

  • Re;


    Should be fixed in last master. See https://github.com/i-MSCP/imsc…41c4d0084056ccc0736be909b


    Thank you for your report.

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

  • Edit: PHP warnings, if any, are now show at end of setup. See https://github.com/i-MSCP/imsc…a1abb3bbd7df61775b8844820

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