LXC container - iMSCP::Mount::mount: Error while calling mount on update (i-MSCP 1.3.10)

  • Hi,


    I am trying to update a 1.2.16 to 1.3.10 and read the errata file.


    Whenever I try to run the installer I get this error, always on different domains...


    Debian 7.11



    Code
    1. [ERROR] main::setupDbTasks: iMSCP::Mount::mount: Error while calling mount(/var/log/apache2/domain1.com, /var/www/virtual/domain1.com/logs/domain1.com, none, 3236761632, 0): Permission denied at /usr/local/src/imscp-1.3.10/engine/PerlLib/iMSCP/DbTasksProcessor.pm line 446.
    2. autoinstaller::Functions::install: An error occurred while performing installation steps

    Any help is welcome!


    Best regards

  • iMSCP::Mount::mount: Error while calling mount(/var/log/apache2/domain1.com, /var/www/virtual/domain1.com/logs/domain1.com, none, 3236761632, 0): Permission denied


    We need more information about your environment because here the error clearly say that there is a permissions problem.

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

  • Thanks!


    So there *should* be some kind of permisson error.
    The log files and all directories have the same permissions and groups and owners like any other imscp installation on my servers.


    It is a vServer on proxmox (LXC) like most of my servers.
    RAM 2 GB
    HDD 10 GB


    Regards

  • @ciscllc


    Ok, you surely missed requirements part for newest i-MSCP versions:

    The last link will give you the hints to make your LXC container ready for i-MSCP.


    Note: If you cannot access the host to give the required permissions inside your container regarding mount operations, you can always deactivate mount of customer HTTP logs. How to process?

    • Edit your current /etc/imscp/apache/apache.data file and change the value of the MOUNT_CUSTOMER_LOGS parameter to no
    • Do same for the /etc/imscp/apache/apache.old.data file
    • Rerun the i-MSCP installer as usually

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

  • @ciscllc


    I've edited my previous answer. Please read it again ;)

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