Upgrade from 1.1.3 to 1.1.5 stopping on Rebuilding customers files

  • Error while performing step: Rebuilding customer files


    Error was: main: setupRebuildCistomerFiles


    main:_process: Error while processing 6



    - i do not have any "www" subdomains


    Ideas ?


    Need more Info ?

  • In the logs i can see an old wrong set of a .htaccess file pointing to a dir that is not writable.


    virtual/domain/subdomain/.htaccess


    What should i do make the dir wiritable or remove anything from the DB ?


    Edit:


    [ERROR]


    main::setupRebuildCustomerFiles:


    [ERROR]


    main::_process: Error while processing 6, Mk, tochange.
    main::_process: See /var/log/imscp/Htaccess_module_Mk.log for more details.
    iMSCP::Debug::END: Exit code: 1


    [ERROR]


    iMSCP::File::getWFileHandle: Unable to open
    /var/www/virtual/domain/subdomain/.htaccess
    iMSCP::File::save: Unable to save file

  • OK, i found the solution.....


    If you create a "Protected area" with a dir that is protected by chattr you will get an permanent error in the i-mscp backend.
    Thatt error prevents the installer to end its job.


    What about changing that to idiot proof in the future ?


    My solution (Ubuntu)


    - install chattr (its in the e2fsprogs package) = apt-get install e2fsprogs
    - chattr -i /var/www/virtual/domain (or subdir where the error occurs)
    - restart the install script = perl imscp-autoinstall -d
    - DONE

  • Hello;


    I'll check but normally, the engine unprotect the directory before do the job.

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