• Resolved madhumurthy

    (@madhumurthy)


    Hi all!

    Please take a look at the debug log below and help me solve this issue. From the debug log I understand that the plugin is trying to create the archive directory (/app/public/wp-content/plugins/simply-static/static-files/simply-static-1-1627417771/) to store the static files but is unable to create it.

    I am running the site on my local development environment (Local by Flywheel).

    Thank you for your help!
    Madhu

    ===========================================================================

    [2021-07-27 20:29:29] [class-ss-plugin.php:260] Received request to start generating a static archive
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:61] Starting a job; no job is presently running
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:62] Here’s our task list: setup, fetch_urls, create_zip_archive, wrapup
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:76] Pushing first task to queue: setup
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:105] Current task: setup
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:121] Performing task: setup
    [2021-07-27 20:29:31] [class-ss-task.php:44] Status message: [setup] Setting up
    [2021-07-27 20:29:31] [class-ss-setup-task.php:32] Creating archive directory: /app/public/wp-content/plugins/simply-static/static-files/simply-static-1-1627417771/
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:130] We encountered a WP_Error
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:297] An error occurred:
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:298]

    <small>/Users/MADHU/Local Sites/scoot/app/public/wp-content/plugins/simply-static/src/class-ss-util.php:155:</small><b>object</b>(<i>WP_Error</i>)[<i>290</i>]  <i>public</i> 'errors' <font color='#888a85'>=></font>     <b>array</b> <i>(size=1)</i>      'cannot_create_archive_dir' <font color='#888a85'>=></font>         <b>array</b> <i>(size=1)</i>          0 <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>''</font> <i>(length=0)</i>  <i>public</i> 'error_data' <font color='#888a85'>=></font>     <b>array</b> <i>(size=0)</i>      <i><font color='#888a85'>empty</font></i>  <i>protected</i> 'additional_data' <font color='#888a85'>=></font>     <b>array</b> <i>(size=0)</i>      <i><font color='#888a85'>empty</font></i>

    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:269] Status message: [error] An error occurred:
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:105] Current task: cancel
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:121] Performing task: cancel
    [2021-07-27 20:29:31] [class-ss-task.php:44] Status message: [cancel] Cancelling job
    [2021-07-27 20:29:31] [class-ss-wrapup-task.php:22] Deleting temporary files
    [2021-07-27 20:29:31] [class-ss-task.php:44] Status message: [wrapup] Wrapping up
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:136] This task is done and there are no more tasks, time to complete the job
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:159] Completing the job
    [2021-07-27 20:29:31] [class-ss-archive-creation-job.php:269] Status message: [done] Done! Finished in 00:00:00

Viewing 1 replies (of 1 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @madhumurthy,

    thanks for your message and the log.

    Please check in Simply Static -> Diagnostics that there are no outstanding issues.
    It seems that the configured directory is not writable by Simply Static.

    This can happen if the permissions are not set correctly (try it with 755).

    Best regards,
    Patrick

Viewing 1 replies (of 1 total)
  • The topic ‘Error: Unable to create archive directory’ is closed to new replies.