Posts by tilicar

    I'm affraid I will stop here till I-MSCP version 1.2.9 maybe.


    Why ? Because some software like phpbb, wordpress, bla bla bla, get stuck on permission in "cache" or "upload" directory.


    I wait to resolve this problem.


    Permission or Owner mode for files.


    For example.
    I install my phpbb and get this:

    Code
    1. [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/di/container_builder.php on line 292: file_put_contents(./cache/container_dotslash.php): failed to open stream: Permission denied
    2. Fatal: ./cache/ is NOT writable.

    if i change permission to 775 (not recomanded i guess) the forum work.

    I look trough my email and i get this email:

    Code
    1. Dear admin,This is an automatic email sent by your myserver.tld(xx.xx.xx.xx) server.A critical error has been encountered while executing function main::runin /var/www/imscp/engine/backup/imscp-backup-all.Error was:==========================================================================iMSCP::Database::mysql::dumpdb: mysqldump: Got error: 1045: Access deniedfor user 'root'@'localhost' (using password: NO) when trying to connectiMSCP::Database::mysql::dumpdb: mysqldump: Got error: 1045: Access deniedfor user 'root'@'localhost' (using password: NO) when trying to connectiMSCP::Database::mysql::dumpdb: mysqldump: Got error: 1045: Access deniedfor user 'root'@'localhost' (using password: NO) when trying to connect==========================================================================


    any ideea ?


    I run command: tail /var/log/imscp/imscp-backup-all.log
    and i get :


    Code
    1. [Wed Jun 24 23:41:22 2015] [debug] iMSCP::File::owner: Changing owner and group for /var/www/virtual/site/backups/site-backup-2015.06.24-23-41.tar.bz2 to 1006:1006
    2. [Wed Jun 24 23:41:22 2015] [debug] iMSCP::Database::mysql::dumpdb: Dump 6_wp into /var/www/virtual/site/backups/6_wp.sql
    3. [Wed Jun 24 23:41:22 2015] [debug] iMSCP::Execute::execute: Executing command: nice -n 15 ionice -c2 -n5 mysqldump --opt --complete-insert --add-drop-database --allow-keywords --compress --default-character-set=utf8 --quote-names --result-file='/var/www/virtual/site/backups/6_wp.sql' 6_wp
    4. [Wed Jun 24 23:41:22 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 2
    5. [Wed Jun 24 23:41:22 2015] [error] iMSCP::Database::mysql::dumpdb: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) when trying to connect
    6. [Wed Jun 24 23:41:22 2015] [debug] iMSCP::Execute::execute: Executing command: nice -n 15 ionice -c2 -n5 tar --create --directory=/var/mail/virtual/site --use-compress-program=pbzip2 --file=/var/www/virtual/site/backups/mail-site-backup-2015.06.24-23-41.tar.bz2 .
    7. [Wed Jun 24 23:41:22 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
    8. [Wed Jun 24 23:41:22 2015] [debug] iMSCP::File::mode: Changing mode for /var/www/virtual/site/backups/mail-site-backup-2015.06.24-23-41.tar.bz2 to 644
    9. [Wed Jun 24 23:41:22 2015] [debug] iMSCP::File::owner: Changing owner and group for /var/www/virtual/site/backups/mail-site-backup-2015.06.24-23-41.tar.bz2 to 1006:1006
    10. [Wed Jun 24 23:41:23 2015] [debug] iMSCP::Bootstrapper::unlock: Release exclusive lock on /tmp/imscp-backup-all.lock