Another error in i-mscp upgrade from git 1.1.x

  • I don't know why, but my previous post was deleted from other thread...


    In another installation i've found this error when upgrade:


    [ERROR]


    autoinstaller::Functions::_installFiles: rsync: failed to set times on "/var/www/virtual": Operation not permitted (1)
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
    autoinstaller::Functions::install: An error occured while performing installation steps
    iMSCP::Debug::END: Exit code: 23


    I've see that during installation the folders gui and engine change owner to root and show this error


    Thanks

    Files

    • Cattura.PNG

      (11.08 kB, downloaded 55 times, last: )
  • Hello ;


    ls -la /var/www/virtual ?

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

  • what do you need?


    in /var/www/virtual seems to be all correctly... there are all the virtual domains with the correct owners..

  • Re;


    I wanted know permissions and owner/group for the virtual directory. Please edit the autoinstaller/Functions.pm file inside the archive and replace the line https://github.com/i-MSCP/imsc…staller/Functions.pm#L813 by the following line:


    Perl
    1. $rs = execute("$main::imscpConfig{'CMD_RSYNC'} -O -K -a $main::{'INST_PREF'}/* /", \$stdout, \$stderr);


    Once done, save the file and rerun the installer.

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

  • Hi,


    I've modified the file as you described and now it seems to works all correctly. Only one thing, after finished the installer, i've received this error reported on the screenshot, and when I confirmed, i've received the message that imscp is installed correctly...


    Thank you very much :thumbsup:

    Files

    • Cattura2.PNG

      (7.45 kB, downloaded 58 times, last: )