Update:
1) to access to the dashboard I’ve used filezilla and I’ve changed name of “backup” directory (under plugin, under wp-content) in “backup_disattivata”.
2) accessed to the dashboard
3) changed name from “backup_disattivata” to “backup”
4) in dashboard the backup plugin is now not active
5) the site is again on
6) tried to activate the backup plugin, but the following message appeared: “Plugin could not be activated because it triggered a fatal error. SGExceptionForbidden: Permission denied. Directory is not writable: /var/www/clients/client13/web36/web/foodsystems/wp-content/uploads/backup-guard/
7) updated the backup plugin to Version 1.1.34 (in order to update I needed to insert username and password of ftp space!! I didn’t remember previously it was necessary)
8) tried again to activate: again the error message as above
I’m not deleting backup plugin (and then installing again it) because I’m afraid to lose the backup files: where they are?
How may I activate again backup plugin without having the error message?
WP version is 4.5.7
Hello,
Are you sure it’s a correct uploads path was set in your database: /var/www/clients/client13/web36/web/foodsystems/wp-content/uploads/backup-guard/? BackupGuard loads this path from your database and it fails because either this path doesn’t exist at all or exists but isn’t writable.
I’d recommend you to set an empty string or correct upload_path in wp_options table.
Also, if you have a define in wp-config.php, I’d recommend to check that path too.
P.S. I can’t tell you what’s the cause of this issue? Might be WordPress automatic updates or one of your plugins has been updated this configuration.
Please check them out and keep me posted about your progress.
Regards,
Lisa Breen
BackupGuard, Support Team
Dear Lisa,
thank you for your answer.
I’ve found now that the problem was due to server that have changed permission rules.
Now backup-guard is active without error messages and I can do new backups.
There Is still a problem when I try to download the backup file by the plugin dashboard, the following message appears:
Warning: mkdir(): Permission denied in /var/www/clients/client13/web36/web/foodsystems/wp-content/plugins/backup/com/core/functions.php on line 398
Symlink / shortcut creation failed! Seems your server configurations don’t allow symlink creation, so we’re unable to provide you the direct download url. You can download your backup using any FTP client. All backups and related stuff we locate “/wp-content/uploads/backup-guard” directory. If you need this functionality, you should check out your server configurations and make sure you don’t have any limitation related to symlink creation.
I can download via ftp (filezilla) the same backup file and I can download via dashboard the log backup file that is in the same directory.
I’m managing the problem with the server people because I’m suspecting something still regarding permissions.
Is that right?
Best regards
Fabio
-
This reply was modified 9 years, 2 months ago by
forlanif.
Hello,
For resolving the issue, please make sure that your server configurations allow symlink creation. You can contact your hosting provider and ask them to enable that feature for you.
FYI: I’d like to highlight, why symlinks are so important in this case. We don’t open direct access to backup archives, but dynamically create one time usable temporary symlinks over them. This is done for security reasons. Nobody shouldn’t be able to download your archives externally without your permission. Also, we serve log files using PHP, because the logs aren’t as large as the archives. If you have a large website and the download could take a while, the download could fail if we provide it using PHP (e.g. server max execution timeout limitation could stop the script responsible for download). That’s why the download logic is different for log and archive files.
Regards,
Lisa Breen
BackupGuard, Support Team