• Resolved bepoostrava

    (@bepoostrava)


    Hi, I use UpdraftPlus to backup my website. After converting PHP from version 7.4.28 to version 8.1.3, UpdraftPlus reports these warnings. Although the backup will be done, but with these caveats. I tried splitting the archive into every 50MB, but this didn’t help.
    I also tried setting “open_basedir” to “none” in PHPMyAdmin, but that didn’t help either.
    Thanks in advance for your help!

    I am posting an extract from the backup log below:

    0000.000 (0) Opened log file at time: Sun, 24 Mar 2024 09:52:30 +0000 on https://www.bozp-consult.cz 0000.001 (0) UpdraftPlus WordPress backup plugin (https://updraftplus.com): 2.24.1.26 WP: 6.4.3 PHP: 8.1.3 (fpm-fcgi, FreeBSD gump.miniserver.cz 13.2-STABLE FreeBSD 13.2-STABLE stable/13-df5bb849a GENERIC amd64) MySQL: 10.3.34-MariaDB-log (max packet size=33554432) WPLANG: cs_CZ Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 512M (used: 59.7M | 122M) multisite: N openssl: OpenSSL 1.1.1l-freebsd 24 Aug 2021 mcrypt: N LANG: ZipArchive::addFile: Y 0000.003 (0) Free space on disk containing Updraft’s temporary directory: 127939.8 MB 0000.005 (0) Tasks: Backup files: 1 (schedule: manual) Backup DB: 1 (schedule: manual) 0000.007 (0) Requesting semaphore lock (fd) (apparently not via scheduler) 0000.011 (0) Set semaphore last lock (fd) time to 2024-03-24 09:52:30 0000.012 (0) Semaphore lock (fd) complete 0000.016 (0) Backup run: resumption=0, nonce=8a8839780aff, file_nonce=8a8839780aff begun at=1711273950 (0s ago), job type=backup 0000.021 (0) Scheduling a resumption (1) after 300 seconds (1711274250) in case this run gets aborted 0000.026 (0) PHP event: code E_WARNING: file_exists(): open_basedir restriction in effect. File(/proc/user_beancounters) is not within the allowed path(s): (/data/www/bozp-consult_cz/www) (line 190, wp-content/plugins/updraftplus/backup.php) 0000.028 (0) Checking if we have a zip executable available 0000.030 (0) PHP event: code E_WARNING: is_executable(): open_basedir restriction in effect. File(/usr/bin/zip) is not within the allowed path(s): (/data/www/bozp-consult_cz/www) (line 1811, wp-content/plugins/updraftplus/class-updraftplus.php) 0000.032 (0) PHP event: code E_WARNING: is_executable(): open_basedir restriction in effect. File(/bin/zip) is not within the allowed path(s): (/data/www/bozp-consult_cz/www) (line 1811, wp-content/plugins/updraftplus/class-updraftplus.php) 0000.034 (0) PHP event: code E_WARNING: is_executable(): open_basedir restriction in effect. File(/usr/local/bin/zip) is not within the allowed path(s): (/data/www/bozp-consult_cz/www) (line 1811, wp-content/plugins/updraftplus/class-updraftplus.php) 0000.036 (0) PHP event: code E_WARNING: is_executable(): open_basedir restriction in effect. File(/usr/sfw/bin/zip) is not within the allowed path(s): (/data/www/bozp-consult_cz/www) (line 1811, wp-content/plugins/updraftplus/class-updraftplus.php) 0000.038 (0) PHP event: code E_WARNING: is_executable(): open_basedir restriction in effect. File(/usr/xdg4/bin/zip) is not within the allowed path(s): (/data/www/bozp-consult_cz/www) (line 1811, wp-content/plugins/updraftplus/class-updraftplus.php) 0000.040 (0) PHP event: code E_WARNING: is_executable(): open_basedir restriction in effect. File(/opt/bin/zip) is not within the allowed path(s): (/data/www/bozp-consult_cz/www) (line 1811, wp-content/plugins/updraftplus/class-updraftplus.php) 0000.045 (0) Creation of backups of directories: beginning 0000.054 (0) Beginning creation of dump of plugins (split every: 400 MB) 0000.063 (0) PHP event: code E_WARNING: is_dir(): open_basedir restriction in effect. File(/usr/local/cpanel) is not within the allowed path(s): (/data/www/bozp-consult_cz/www) (line 419, wp-content/plugins/updraftplus/class-updraftplus.php) 0003.177 (0) Total entities for the zip file: 7204 directories, 45670 files (0 skipped as non-modified), 518.7 MB 0003.187 (0) Adding batch to zip file (UpdraftPlus_ZipArchive): over 2.0 seconds have passed since the last write (0 MB, 1 (1) files added so far); re-opening (prior size: 0 KB) 0003.324 (0) Zip: backup_2024-03-24-1052_BEPO_Ostrava_8a8839780aff-plugins.zip.tmp: 100 files added (on-disk size: 1388.2 KB)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Hi,

    These are just warnings and nothing to be worried about. They will no stop your backup completing. They relate to a restriction imposed by your hosting.

Viewing 1 replies (of 1 total)

The topic ‘PHP event: code E_WARNING: is_dir(): open_basedir restriction’ is closed to new replies.