• Hi BackWPup dudes,

    thanks for your great plugin. I run it on several sites with different hosts. Normally without any trouble. Now i have this problem which i cant solve or know how to digg further. It seems total legit for me that / is not allowed.

    [Thu Aug 27 10:08:37 2015] [error] [client xxx] FastCGI: server “/var/www/php-fpm/xxx/xxx/fpm.external” stderr: PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/xxx/:/var/customers/tmp/xxx/:/usr/share/php/:/usr/share/php5/:/tmp/) in /var/www/xxx/wp-includes/functions.php on line 1512, referer: http://xxx/wp-admin/admin.php?page=backwpupjobs

    Did you see anything like that before?

    Thanks!

    https://wordpress.org/plugins/backwpup/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Daniel Hüsken

    (@danielhuesken)

    can you try the version from https://github.com/inpsyde/backwpup

    Thread Starter dc23

    (@datenchef)

    Thx! Its working. Backup jobs are running and zip files are fine (I always split in DB and files seperated). There are three warnings, i just paste the complete log, which may say the most:

    [INFO] BackWPup 3.2.0-rc1; Ein Projekt der Inpsyde GmbH
    [INFO] BackWPup Auftrag: files only
    [INFO] Logfile ist: backwpup_log_d8b387_2015-09-03_10-17-33.html
    [INFO] Backup Datei ist: backwpup_files_2015-09-03_10-17-33.tar.gz
    [03-Sep-2015 10:17:33] 1. Versuche, eine Liste der Ordner für das Backup zu erstellen …
    [03-Sep-2015 10:17:34] WARNUNG: is_readable(): open_basedir restriction in effect. File(/var/www/wp-config.php) is not within the allowed path(s): (/var/www/xxx/:/var/customers/tmp/xxx/:/usr/share/php/:/usr/share/php5/:/tmp/)
    [03-Sep-2015 10:17:34] 841 Ordner für Backup.
    [03-Sep-2015 10:17:34] 1. Versuche eine Manifest-Datei zu generieren …
    [03-Sep-2015 10:17:34] manifest.json mit 4,63 kB wurde zur Backup-Datei-Liste hinzugefügt.
    [03-Sep-2015 10:17:34] 1. Versuche, Backup zu erstellen …
    [03-Sep-2015 10:17:34] Komprimiere Dateien als TarGz. Bitte habe einen Moment Geduld.
    [03-Sep-2015 10:17:34] WARNUNG: Link “/var/www/xxx/awstats/xxx.de/index.html” wird nicht gefolgt
    [03-Sep-2015 10:17:53] Backup wurde erstellt.
    [03-Sep-2015 10:17:53] Archivgröße ist 53,23 MB
    [03-Sep-2015 10:17:53] 5809 Dateien mit 101,43 MB in Archiven.
    [03-Sep-2015 10:17:55] WARNUNG: Job mit Warnungen beendet in 22 Sekunden. Bitte beheben Sie die Warnungen für eine korrekte Ausführung.

    The most interesting is this one, which i dont understand at all

    [03-Sep-2015 10:17:34] WARNUNG: is_readable(): open_basedir restriction in effect. File(/var/www/wp-config.php) is not within the allowed path(s): (/var/www/xxx/:/var/customers/tmp/xxx/:/usr/share/php/:/usr/share/php5/:/tmp/)

    There is no wp-config.php in /var/www – thats for sure and its normal that there is a open_basedir restriction. Maybe you get a clue of it.

    Plugin Contributor Daniel Hüsken

    (@danielhuesken)

    ah ok, i will try to remove this warnings.

    Plugin Contributor Daniel Hüsken

    (@danielhuesken)

    ok i think i have found it and it will be fixed with the release.

    Thread Starter dc23

    (@datenchef)

    $GREAT = 1;

    Hi Daniel,
    i auto-updated your plugin today (V. 3.2.0) and get the same warning as the member dc23 (WARNUNG: is_readable(): open_basedir restriction in effect. File(/var/www/wp-config.php) is not within the allowed path(s): (/var/www/xxx/:/var/customers/tmp/xxx/:/usr/share/php/:/usr/share/php5/:/tmp/)

    Before the update of the plugin everything was ok (last backup yesterday).

    In your post nr. 4 you write, you remove this warning. Why is it not fixed in the auto-update? Which file from https://github.com/inpsyde/backwpup should i copy to my folder to fix it?
    Can you pleas help me to resolve this Prob.
    THX

    Plugin Contributor Daniel Hüsken

    (@danielhuesken)

    no, not copy it from github. The version from github is the same as the release. it will test for this problem again.

    Plugin Contributor Daniel Hüsken

    (@danielhuesken)

    Sorry now i have realy fund that stupid bug. i will made an update asap

    Hey Daniel,
    thanks a lot for your efforts.
    So i wait for the update.

    Greets

    Hi Daniel,

    I’m not using your plugin but I’m getting a very similar error appearing in a few of my sites. Is it possible for you to detail what you updated within the plugin to remove the messages?

    I think it would greatly help me troubleshoot my woes!

    Plugin Contributor Daniel Hüsken

    (@danielhuesken)

    @moniodesign: i have a funtion in the plugin that trys to detect if a file that will be opend in open basedire bvore it runs the php function. But that has a bug and than cames that messages. BUt this function must be implemented by plugin authors itself.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘open_basedir restriction in effect. File(/)’ is closed to new replies.