Error on upgrade from 1.1.18 to 1.1.19: changing permissions of /var/www/virtual: Operation not permitted

  • I have the following error on upgrading 1.1.18 to 1.1.19



    System: Ubuntu Trusty (all Package upgraded to the newest version).
    SQL_SERVER = mariadb_10.0
    PO_SERVER = dovecot
    NAMED_SERVER = bind
    HTTPD_SERVER = apache_fcgid
    FTPD_SERVER = proftpd
    MTA_SERVER = postfix

  • Hello ;


    As root try


    Shell-Script
    1. # chattr -R -i /var/www/virtual


    Once it's done, rerun the i-MSCP installer.

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

  • I performed the command you suggested. But got the same error from i-MSCP installer.


    It seems that the installer sets the immutable flag before chmod the directories

  • Re ;


    Please add my SSH key to your server and give me the IP. Thanks

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

  • So now the update completed.


    I did a

    Code
    1. watch lsattr /var/www


    during the installation and changed the attribute back

    Code
    1. chattr -i /var/www/virtual


    when it was set.


    Then the installation finished.

  • Ok but something is wrong in your setup because the installer (nor the engine) sets the immutable bit on the /var/www/virtual directory normally. I'll check with a new setup to be sure that it's not a bug.

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

  • Bug confirmed. See i-MSCP 1.1.19 released

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