• Resolved cowgod

    (@cowgod)


    When I run the Duplicator system checks, everything is green and appears to be good to go. When I create a package, it seems like it works, and I can download the package. However, when I open the zip file, it’s empty. This is a snippet what is displayed in the log. Please help!

    ZIPARCHIVE OPENED
    DATABASE.SQL ADDED TO ZIP: C:/inetpub/mysite/wp-snapshots/51b0cbf9b00cc6619_20130606_mysite_database.sql
    log:class.zip=>runtime error: exception ‘UnexpectedValueException’ with message ‘DirectoryIterator::__construct(C:/inetpub/mysite,C:/inetpub/mysite): Access is denied. (code: 5)’ in C:\inetpub\mysite\wp-content\plugins\duplicator\classes\class.zip.php:100
    Stack trace:
    #0 C:\inetpub\mysite\wp-content\plugins\duplicator\classes\class.zip.php(100): DirectoryIterator->__construct(‘C:/inetpub/mysi…’)
    #1 C:\inetpub\mysite\wp-content\plugins\duplicator\classes\class.zip.php(59): Duplicator_Zip->resursiveZip(‘C:/inetpub/mysi…’)
    #2 C:\inetpub\mysite\wp-content\plugins\duplicator\inc\actions.php(80): Duplicator_Zip->__construct(‘C:/inetpub/mysi…’, ‘C:/inetpub/mysi…’, ‘C:/inetpub/mysi…’)
    #3 [internal function]: duplicator_create(”)
    #4 C:\inetpub\mysite\wp-includes\plugin.php(406): call_user_func_array(‘duplicator_crea…’, Array)
    #5 C:\inetpub\mysite\wp-admin\admin-ajax.php(72): do_action(‘wp_ajax_duplica…’)
    #6 {main}
    ARCHIVE INFO: ZipArchive Object
    (
    [status] => 0
    [statusSys] => 0
    [numFiles] => 1
    [filename] => C:\inetpub\mysite\wp-snapshots\51b0cbf9b00cc6619_20130606_mysite_package.zip
    [comment] =>
    )

    STATS: Directories= 0 | Files = 0 | Links = 0 | hidden files may not be counted on some servers
    CLOSE RETURNED: ‘1’
    ZIP TOTAL RUNTIME: 0.4212 sec.
    ZIP FILE SIZE: 458.73KB
    RECORDED ARCHIVE ID: 4

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Looks like that may be a bug in the PHP Core.
    see: https://bugs.php.net/bug.php?id=55468

    The issue does look to be permissions related as you are getting this

    Access is denied.

    Because your on your own box I can’t really help you debug. You may try to recursively make sure no files are set to readonly, and try to relax the permissions for the PHP process as much as you possibly can…

    Hey cowgod,

    Any success on getting this going?

    Thread Starter cowgod

    (@cowgod)

    Unfortunately, no. I was pressed for time, so I just dumped the database, tarred up the content, moved everything to the new server, then ran the Search and Replace tool on the database. It got the job done, but it wasn’t nearly as elegant.

    Sounds good! Thanks for the feedback!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘UnexpectedValueException’ is closed to new replies.