softpol
Forum Replies Created
-
OK, let’s close this topic. Thanks for your time and effort.
I cannot remember why I installed a 32-bit OS on this machine. I am considering to move the website to another machine with a 64-bit OS (if I ever have time…). That will most probably solve the problem.
FYI: this website is running on a Raspberry Pi-4. The CPU is of the type aarch64, but the OS is 32-bit Debian. I am afraid that you store the file size in an “int” type variable, with PHP_INT_MAX = 2147483647, while the size of the backup is 4269676524.
That’s why I pointed you already two weeks ago to another bug report, where casting on an int variable returned a negative free space value.
I did a backup with “file list analysis”, as you suggested. The filelist.log does not show any anomalies.
The file size in the backup overview is -25290772 B.
The archive.log mentions: “[2024-05-15 07:06:01 UTC] Archive filepath / size: /var/www/html/wp-content/boldgrid_backup_O8iL9XKdK2mT/boldgrid-backup-www.softpol.net-a5b7ba1e-20240515-060732.zip / -25290772 ()“
Linux sees the file as: “-rw——- 1 www-data www-data 4,0G 15 mei 09:06 boldgrid-backup-www.softpol.net-a5b7ba1e-20240515-060732.zip”
The mail, I received after completion, says “Total size: 4.33 GB”.
and this is the content of the mail, I received after completion:
Backup details:
Estimated Pause: 0.03 seconds
Duration: 17.35 seconds
Total size: 1.99 MB
Archive file path: /var/www/html/wp-content/boldgrid_backup_O8iL9XKdK2mT/boldgrid-backup-www.softpol.net-a5b7ba1e-20240512-182126.zip
Archive file size: 789.60 KB
Compressor used: system_zip
Backup triggered by: xxx ([email protected])FILE AND FOLDER SETTINGS
Included: *.txt
Excluded:DATABASE SETTINGS
Tables Excluded:?<a lot of stuff follows>
The FTP server is configured with a number of “shares”. A new FTP session is shown the shares that are accessible for that account, so the first thing to do is to “cd” in the wanted share or to target a <share>/folder. That’s not possible with this plugin, because it literally says “A folder in your FTP/SFTP server to store your backups, will be created if it doesn’t exist. Please only use letters, numbers, dashes, and underscores.”.
Anyway, not a big problem as I can transfer local copy of the backup manually from the web server to the FTP server.
This is the log of the “sanity check backup”:
[2024-05-12 18:21:10 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2024-05-12 18:21:10 UTC] Backup process initialized. [2024-05-12 18:21:10 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2024-05-12 18:21:10 UTC] Backup process initialized. [2024-05-12 18:21:10 UTC] Process id: 9402 [2024-05-12 18:21:10 UTC] Backup triggered by: xxx ([email protected]) [2024-05-12 18:21:10 UTC] -------------------------------------------------------------------------------- [2024-05-12 18:21:10 UTC] Starting dump of database… [2024-05-12 18:21:10 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7163984 (6,83 MB) / 8664864 (8 MB) [2024-05-12 18:21:10 UTC] No database tables selected to backup. A database export will not be in this backup. [2024-05-12 18:21:10 UTC] Dump of database complete! $status = 1 [2024-05-12 18:21:10 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7324192 (6,98 MB) / 8664864 (8 MB) [2024-05-12 18:21:10 UTC] -------------------------------------------------------------------------------- [2024-05-12 18:21:10 UTC] Retrieving file list. [2024-05-12 18:21:23 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2024-05-12 18:21:23 UTC] Backup process running: Yes (pgid = 521) [2024-05-12 18:21:26 UTC] Retrieving backup directory. [2024-05-12 18:21:26 UTC] Adding Database to file list. [2024-05-12 18:21:26 UTC] Starting archiving of files. Chosen compressor: system_zip [2024-05-12 18:21:26 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7440936 (7,10 MB) / 20208456 (19 MB) [2024-05-12 18:21:27 UTC] Starting to create list of files to include in zip. [2024-05-12 18:21:27 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7267048 (6,93 MB) / 20208456 (19 MB) [2024-05-12 18:21:27 UTC] Finished creating list of files to include in zip. 245 files in zip. [2024-05-12 18:21:27 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7304976 (6,97 MB) / 20208456 (19 MB) [2024-05-12 18:21:27 UTC] Starting to close the zip file. [2024-05-12 18:21:27 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7267480 (6,93 MB) / 20208456 (19 MB) [2024-05-12 18:21:28 UTC] Chunk closed in 0.91224098205566 seconds. 100% complete closing [2024-05-12 18:21:28 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7275928 (6,94 MB) / 20208456 (19 MB) [2024-05-12 18:21:28 UTC] Finished closing the zip file. [2024-05-12 18:21:28 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7267400 (6,93 MB) / 20208456 (19 MB) [2024-05-12 18:21:28 UTC] Starting to add db dump to the zip file. [2024-05-12 18:21:28 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7267400 (6,93 MB) / 20208456 (19 MB) [2024-05-12 18:21:28 UTC] Finished adding db dump to the zip file. [2024-05-12 18:21:28 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7267400 (6,93 MB) / 20208456 (19 MB) [2024-05-12 18:21:28 UTC] Archiving of files complete! [2024-05-12 18:21:28 UTC] Archive filepath / size: /var/www/html/wp-content/boldgrid_backup_O8iL9XKdK2mT/boldgrid-backup-www.softpol.net-a5b7ba1e-20240512-182126.zip / 808553 (789,60 KB) [2024-05-12 18:21:28 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7267400 (6,93 MB) / 20208456 (19 MB) [2024-05-12 18:21:28 UTC] Starting sending of email… [2024-05-12 18:21:28 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2024-05-12 18:21:28 UTC] Backup process running: Yes (pgid = 521) [2024-05-12 18:21:28 UTC] Sending of email complete! Status: 1 [2024-05-12 18:21:28 UTC] Backup complete! [2024-05-12 18:21:28 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7398072 (7,06 MB) / 20208456 (19 MB) [2024-05-12 18:21:28 UTC] Backup complete! [2024-05-12 18:21:28 UTC] Memory usage - limit / current / peak memory usage: 1073741824 / 7264688 (6,93 MB) / 20208456 (19 MB) [2024-05-12 18:21:33 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist. [2024-05-12 18:21:33 UTC] Backup process running: Yes (pgid = 521)
Meanwhile, I discovered that FTP fails, because the user enters at the top folder, where he has no access rights. It is however not possible to define a path to the folder with write rights, because only letters, numbers, dashes, and underscores are allowed.
My web server runs on Debian-bookworm and I am pretty sure that the installed php-version supports proces control (as shown in my first message).
Did you check this bug report, concerning the negative file size? It may be helpful…
Thanks for the prompt feedback. I am actually not restoring a backup. The reported issues popped up during the backup process.
FTP “passive” mode is enabled in the settings. I changed it to “auto”, but it reverts automatically to “passive”. And now, there is even no attempt anymore to start an FTP session (nor is there an https://ftp.log). The option to store backups locally (on my web server) is unchecked and FTP/SFTP is checked.
The “preflight check” shows PASS.
I changed the retention to 1 and I now have exactly one backup on the web server (the web server suffered from “disk full” yesterday, because every backup attempt consumed 4GB…).
PHP is installed from the sury.org repository (Debian flavour) and I am pretty sure that it supports process control.
Any ideas about the negative file size of the backup?
About the negative file size (on Raspberry Pi-4): this bug report may be helpful.
I confirm that the proposed fix works here (on Raspberry Pi-4 with 32G SD-card, running php-8.2.8).
Hi Jesse,
so far, I always tried a “network activate” for the complete multi-site.I now tried an “activate” for one subsite and this indeed throws no error.
But if I then try to do a “network activate”, I again bump upon the error:TypeError thrown
call_user_func_array(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object
and my admin access is again broken.
I suspect an conflict between W3 Total Cache and Total Upkeep. The file “…/wp-content/db.php”, where the failing function call happens, is put by W3 Total Cache and is rewritten with every activation of this plugin.
Hi Jesse,
I mostly backup the complete multi-site as a whole, so Total Upkeep may be useful anyway.There is indeed a lot of “depreacted” warnings. I saw this also with phpmyadmin, untill I upgraded this tool to 5.2.0 (as discussed here)..
my php version:
pi@pi4:/var/www/html $ php -v PHP 8.1.11 (cli) (built: Sep 29 2022 22:12:52) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.11, Copyright (c) Zend Technologies with Zend OPcache v8.1.11, Copyright (c), by Zend Technologies
Hi Jesse,
the debug file is quite long. You can find the content here.The plugin itself is possibly OK, but there is a problem with the installation of the plugin (other plugins install without any problem). I also see that the file db.php (with the failing function call) is always rewritten.
And yes, this is a multisite, running on a Raspberry PI-4 at home.
Hi Jesse,
Thanks for your prompt reaction.My site was automatically updated to version 6.0.3 on october 18th. Two days later, I replaced “updraftplus” by “Total upkeep” and that broke the admin access (while the website was still in the air).
I already did a complete reinstall of the WordPress core (via FTP as explained in https://kinsta.com/blog/reinstall-wordpress/) without any effect. The file kses.php now has the timestamp of the re-install (oct 20 22:17).
Checksum verification gave this result:
pi@pi4:/var/www/html/wp-content $ wp core verify-checksums
Success: WordPress installation verifies against checksums.FYI: I get a warning about PCRE when I restart apache2:
[Fri Oct 21 22:38:00.163687 2022] [:notice] [pid 6423:tid 3069502016] ModSecurity for Apache/2.9.3 (https://www.modsecurity.org/) configured. [Fri Oct 21 22:38:00.163812 2022] [:notice] [pid 6423:tid 3069502016] ModSecurity: APR compiled version="1.6.5"; loaded version="1.6.5" [Fri Oct 21 22:38:00.163829 2022] [:notice] [pid 6423:tid 3069502016] ModSecurity: PCRE compiled version="8.39 "; loaded version="8.44 2020-02-12" [Fri Oct 21 22:38:00.163844 2022] [:warn] [pid 6423:tid 3069502016] ModSecurity: Loaded PCRE do not match with compiled! [Fri Oct 21 22:38:00.163857 2022] [:notice] [pid 6423:tid 3069502016] ModSecurity: LUA compiled version="Lua 5.1" [Fri Oct 21 22:38:00.163869 2022] [:notice] [pid 6423:tid 3069502016] ModSecurity: YAJL compiled version="2.1.0" [Fri Oct 21 22:38:00.163882 2022] [:notice] [pid 6423:tid 3069502016] ModSecurity: LIBXML compiled version="2.9.4" [Fri Oct 21 22:38:00.163894 2022] [:notice] [pid 6423:tid 3069502016] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On. [Fri Oct 21 22:38:00.327449 2022] [mpm_worker:notice] [pid 6424:tid 3069502016] AH00292: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1n configured -- resuming normal operations [Fri Oct 21 22:38:00.327567 2022] [core:notice] [pid 6424:tid 3069502016] AH00094: Command line: '/usr/sbin/apache2'
Wondering if this may be related to the problem…
Forum: Plugins
In reply to: [WordPress Auction Plugin] “add auction” fails on a multi-siteNot much activity here … did I post this issue on the wrong place?