• Resolved Flowrian

    (@flowrian)


    Hi,

    up-front – great plugin – always enjoyed working with it.

    However, recently I have problems with several wordpress installations (version 3.9.2) to create the packages. Scan looks fine >> all “Good”. However files are displayed as “0B” (?)

    Afterwards, database, installer and archive can be created, but within archive there are no files.

    In log it says >>
    STATS: Dirs 596 | Files 0 | Links 0

    Further info >>
    VERSION: 0.5.6
    WORDPRESS: 3.9.2
    PHP INFO: 5.3.28 | SAPI: cgi-fcgi
    SERVER: Apache/2.2.27 (Unix)
    PHP TIME LIMIT: (0) no time limit imposed
    PHP MAX MEMORY: 5000M (256M default)

    Please advise.

    Thanks a lot in advance.

    Greetings,
    Flowrian

    https://www.ads-software.com/plugins/duplicator/

Viewing 15 replies - 16 through 30 (of 34 total)
  • Did all of the requirements check pass on step 1 of package creation? If so then you may have to submit a support ticket because I’m out of ideas for that hosting providers setup…

    Thread Starter Flowrian

    (@flowrian)

    Yes, all passed >>
    PHP Support, Server Support, Permissions and Reserved Files

    In step 2 there is a “Warn” in “WordPress Settings”, but further info is all “green” >>

    WordPress Settings
    Warn

    WordPress Version: [4.0]

    It is recommended to have a version of WordPress that is greater that 3.7.0
    ——————————————————————————–

    Core Files: [Found]

    If the scanner is unable to locate the wp-config.php file in the root directory, then you will need to manually copy it to its new location.
    ——————————————————————————–

    Cache Path: —-removed— (1.77MB)

    Cached data will lead to issues at install time and increases your archive size. It is recommended to empty your cache directory at build time. Use caution when removing data from the cache directory. If you have a cache plugin review the documentation for how to empty it; simply removing files might cause errors on your site. The cache size minimum threshold is currently set at 512KB.

    Yeah, I’m not really sure why its not working on that particular host, something is preventing the files from being read… Feel free to submit a support ticket if you want..

    Just to let you know…
    I am still listening to you guys. ??

    Cory, thanks for your efforts in helping us.
    And for your interest – Strato is quite a big provider in Germany. So i would reckon that there are many more who experience this behavior.

    Thanks again,
    Christoph

    Someone will have to volunteer access to a Stato server. I can’t seem to reproduce it on all my hosts…

    Thread Starter Flowrian

    (@flowrian)

    Sure, please let me know what specifically you need (ftp user / wordpress admin access?)

    Go ahead and submit a support ticket. Just click on the Help > Get Support > Look for “Basic Help”

    Thread Starter Flowrian

    (@flowrian)

    (x) done

    Please keep us updated…

    Cheers

    Strato is also pretty big in The Netherlands. Same issues here. Thanks for your effort!

    Hey Guys,

    If you can give the developer version a try it may have your fixes for the issue your seeing. The very latest version (0.5.9) can be found by following these instructions:

    -> Browse to https://www.ads-software.com/extend/plugins/duplicator/developers/
    -> Look for the section “Other Versions”
    -> Click on “Development Version” and download the zip plugin file
    -> Uninstall your current version and install this one
    -> Note: This is a development line version so please test in your sandbox first to make sure you have no issues…

    Let me know if this solves your issue…

    Thanks

    Hey Cory,

    excellent work!! A huge Thank you!

    Where has the rub been?? Let us know…

    Cheers, Christoqh

    The issue was with the PHP glob function. On Strato servers it didn’t support GLOB_BRACE parameter…

    Had the same problem with a Strato site, 0.5.8 file scan showed 0B and log showed “WARNING: Unable to zip directory: …”

    With version 0.5.9 file scan at Step 2 now shows 25.44MB, so the scan obviously works.

    Step 3 also seems to work, the GUI shows success and a compressed size of 12.36MB and an entry shows up in “Archive” page with the same size.

    But .zip and installer download links are 404, log shows “WARNING: Unable to zip directory: …”, anonymized log at pastebin.

    The _scan.json, _installer.php, _database.sql and _archive.zip are created fine but they stay in wp-snapshots/tmp/ folder.

    database.sql and installer-backup.php are inside the _archive.zip

    WordPress debug.log is empty, server error.log shows many sh: which: not found entries for /wp-admin/admin.php?page=duplicator(&tab=new1|&tab=new3|-settings|-settings&tab=general)

    Any idea why the final step of copying/moving the ready .zip could fail?

    Edit: Found the use of GLOB_BRACE in task.php/moveFromTmp() and package.php/buildCleanup() in 0.5.9, probably that’s the reason for the remaining problems with Strato.

    Hey Ov3rfly,

    Thanks for finding that! I just now updated the 0.5.9 (currently labeled Development) line to check for the GLOB_BRACE globally. Can you test again?

    Cheers~

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘Step Create package >> no files in archive’ is closed to new replies.