I get some ERRORS after upgrading to ISPConfig 3.2

Discussion in 'General' started by johnymas, Oct 20, 2020.

Thread Status:
Not open for further replies.
  1. johnymas

    johnymas Member

    Definitely a bug. Even on pages that backup works, MySQL databases wouldn't be deleted at all :(
    See settings 2 daily..
     

    Attached Files:

  2. johnymas

    johnymas Member

    Anybody?
    Since I've updated ISPconfig into 3.2 version mysql database backups would not be deleted at all. How can I manually delete them on all web pages at once? It is really a big problem, see the result in attachment of one page for example.
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  5. johnymas

    johnymas Member

    Great, thanks....;)
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    But for your first issue we still have to figure out what's wrong exactly... Can you spot a difference between the working and non working sites in the config / names? Maybe a special character in the domain name? Different compression formats?
     
  7. johnymas

    johnymas Member

    I changed four websites into a different compression format (tar GZIP) and it works (see attachment). All other sites use (default zip deflate or tar gzip)
    I still didn't find any difference between the working and non-working sites.
     

    Attached Files:

  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Alright, and if you try switching back to the default format, does it work then?
     
  9. johnymas

    johnymas Member

    No, it doesn't work. See attachment.
    look at the lines 215 and 264
     

    Attached Files:

  10. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    This is the interesting part:
    Code:
    25.10.2020-12:10 - DEBUG - Triggered backup routine for domain id 67, action name backup_web_files
    25.10.2020-12:10 - DEBUG - Performing web files backup of /var/www/clients/client20/web67 in format zip, mode userzip
    25.10.2020-12:10 - DEBUG - safe_exec cmd: cd '/var/www/clients/client20/web67' && zip  -b '/tmp' --exclude='./backup\*' --exclude=./bin --exclude=./dev --exclude=./etc --exclude=./lib --exclude=./lib32 --exclude=./lib64 --exclude=./opt --exclude=./sys --exclude=./usr --exclude=./var --exclude=./proc --exclude=./run --exclude=./tmp --exclude=./log --symlinks -r '/media/mybackupdrive/backup_all_webs/web67/manual-web67_2020-10-25_12-10.zip' * .* -x "../*" - return code: 18
    25.10.2020-12:10 - ERROR - Backup of web files for domain drgordi.com failed using path /var/www/clients/client20/web67 failed.
    25.10.2020-12:10 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    Could it be that there is something wrong with the permissions of these webs? run
    Code:
    ls -l /var/www/example.com/web
    to view the permissions of the web folder
     
  11. johnymas

    johnymas Member

    It seems that permissions are ok
     

    Attached Files:

  12. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    My bad, missed adding -a to the command so hidden files are listed aswell. Can you run it again just for sure?
    Code:
    ls -la /var/www/example.com/web
     
  13. johnymas

    johnymas Member

    see images
     

    Attached Files:

  14. clamp2x

    clamp2x New Member

    Still unknown to the cause?
    It is inconvenient to have problems with daily backups.
     
  15. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  16. clamp2x

    clamp2x New Member

    The situation with me seems a little different.
    My database backup files are well deleted.
    I'll change the backup setting to No Backup and set the backup again after cron is running.
     
  17. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Weird, and you are updated to 3.2? Every 3.2 system should have bug #5866, only systems with the db on a different server than the web should have #5867
     
  18. clamp2x

    clamp2x New Member

    Yes. I also have #5866 problem after upgrading to 3.2.
    as Johnymas said, there is no problem with deleting the database.
    However, the bigger problem is that web files are not backed up.
     
    Last edited: Oct 27, 2020
  19. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I made a issue on our GitLab for this now: https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5878

    Could you all share your OS, PHP version (that's used for the CLI), and backup settings for the domain(s) that fail in one comment here or directly on GitLab?

    Find your OS version:
    Code:
    cat /etc/os-release
    Find your PHP version:
    Code:
    php --version
     
  20. clamp2x

    clamp2x New Member


    The result of os-release
    Code:
    NAME="Ubuntu"
    VERSION="16.04.7 LTS (Xenial Xerus)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 16.04.7 LTS"
    VERSION_ID="16.04"
    HOME_URL="http://www.ubuntu.com/"
    SUPPORT_URL="http://help.ubuntu.com/"
    BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
    VERSION_CODENAME=xenial
    UBUNTU_CODENAME=xenial
    
    This is the php cli version
    Code:
    PHP 7.4.11 (cli) (built: Oct 18 2020 19:39:05) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
        with Zend OPcache v7.4.11, Copyright (c), by Zend Technologies
    
    I tried to backup the PHP version to version 7.0 or 7.2, but the backup did not work, so I changed it to version 7.4.
    Still, there is no backup.

    Thanks.
     
Thread Status:
Not open for further replies.

Share This Page