backup with Updraftplus not working
-
Hi,
I can’t backup my site with Updraftplus when Matomo is installed. It’s there some known issue with Updraftplus?
The page I need help with: [log in to see the link]
-
When Matomo is installed, the backup to Google Drive never gets completed.
If I only backup local in my hosting account, there is no problem.
Any ideas?
@davinchy We are not aware of any incompatibility with UpdraftPlus. Can you try doing the following:
- In wp-config.php, add
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);before the line that says to stop editing.
- Try running creating a backup with Matomo for WordPress activated.
- After you’re certain it failed, check the
/path/to/wordpress/wp-content/debug.logfile for any errors (or alternatively email me at dizzy (at) innocraft (dot) com).
?
@davinchy Just had a thought, Matomo for WordPress has a lot of files which may be causing problems. You could also try excluding the
/path/to/wordpress/wp-content/plugins/matomofrom the backup (assuming UpdraftPlus allows this). As long as the database tables and other WordPress files are backed up, you wouldn’t need to backup the Matomo for WordPress plugin files.This is the error in debug.log
[08-Jan-2025 22:21:47 UTC] PHP Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function ‘curl_setopt’, because its argument ‘$value’ content (%A8%00%8C%E8%5C%9E%8E%2F%EEeI_%2BV%3E%7C%CB%8D%0F%B3%3CU%C8%BB%E2%7B%EFI%DCK%8D%27%B5o%10~u%DAve%EFU%B7%9F%87%7B%EC%11%E1%F3%E5v%F8%EF%0D%FA%F9%98w%FD%7B%D4%EE%16Z%04v%A7v%D0%05tc%FB%86%C6%EAv%88%AB4a%FB%C6%BF%60%BB%9A%B5%EBh%7BD%3A%C7%16%83O%DA%24ao%E9%8) matched the rule ‘file:// protocol is disabled’ in /home/c1652178/public_html/wp-content/plugins/updraftplus/includes/Google/IO/Curl.php on line 58
@davinchy Thanks for checking. I’m not sure why Matomo would cause an error here, though… Can you provide your system report? https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/
And were you able to try creating a backup while excluding the/path/to/wordpress/wp-content/plugins/matomofolder?I have send the diagnostic to your email.
Updraft does not have an option to exclude a specific plugin but when Matomo is uninstalled the backup runs without problems
@davinchy I found this article on updraftplus.com: https://updraftplus.com/faqs/how-can-i-exclude-particular-filesdirectories-from-the-backup/ that describes ways to exclude specific directories from backups. Can you try to use one of them to exclude the
/path/to/wordpress/wp-content/plugins/matomofolder?Hello @davinchy, were you able to exclude the folder from the backup?
next week I will be back to the office and will try it.
@davinchy were you able to try it? Do you still need help with this?
yes, the backup its ok now excluding the Matomo folder.
Thanks
Great, I’ll mark this issue as resolved. Let us know in the future if there’s anything else you need help with.
The topic ‘backup with Updraftplus not working’ is closed to new replies.