• Resolved a13x

    (@a13x)


    Hi, I’m experimenting with Simply Static on Local WP, but the export is either stuck or is taking an unreasonably long time.

    I have a pretty light site, it’s just a few articles and maybe a couple dozen images. For the last 14 hours, it’s been loading my (admittedly weak) laptop while showing the following log:

    [2024-10-13 09:56:11] Setting up

    [2024-10-13 09:56:17] Fetched 129 of 295 pages/files

    That’s after entering the login and password in basic auth settings (it fetched 0 of 1 before that).

    I’ve checked the temp folder, and it has 78 Mb in 151 file and 49 folders, which may or may not be everything my website is supposed to have. Maybe I can just zip it up and call it a day, but I’d like to troubleshoot this issue and prevent it from happening again. Probably the export keeps getting stuck somewhere, but I don’t really know how to figure out the source of this issue.

    So I’d be thankful for any advice/support anyone can provide.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @a13x,

    it should not take that long to get your website exported.

    Is there a specific reason you have Basic Auth activated on your locally running website (you don’t really need that in this scenario), and without it, it would speed up the process.

    I would also enable the debugging mode to get some more details on which page/file the export got stuck: https://docs.simplystatic.com/article/72-how-to-use-the-debugging-mode

    Thread Starter a13x

    (@a13x)

    Thanks @patrickposner,

    Here are the final lines, the full log can be accessed here:

    [2024-10-13 03:13:38] [class-ss-fetch-urls-task.php:72] URL: https://alexwasashrimpspace.local/wp-content/uploads/2023/02/image-21.png
    [2024-10-13 03:13:38] [class-ss-task.php:58] [PAGES STATUS] Remaining:1; Total: 295
    [2024-10-13 03:13:38] [class-ss-fetch-urls-task.php:83] URL is not being excluded
    [2024-10-13 03:13:38] [class-ss-url-fetcher.php:94] Fetching URL and saving it to: C:\Windows\TEMP/670b3ae2a8798-nkCtbH.tmp
    [2024-10-13 03:13:38] [class-ss-page-handler.php:38] URL Prepared:https://alexwasashrimpspace.local/wp-content/uploads/2023/02/image-21.png?simply_static_page=468
    [2024-10-13 03:13:38] [class-ss-url-fetcher.php:251] Fetching URL: https://alexwasashrimpspace.local/wp-content/uploads/2023/02/image-21.png?simply_static_page=468
    [2024-10-13 03:13:40] [class-ss-url-fetcher.php:103] Filesize: 1259475 bytes
    [2024-10-13 03:13:40] [class-ss-url-fetcher.php:119] http_status_code: 200 | content_type: image/png
    [2024-10-13 03:13:40] [class-ss-url-fetcher.php:233] New filename for static page: /wp-content/uploads/2023/02/image-21.png
    [2024-10-13 03:13:40] [class-ss-url-fetcher.php:143] Renaming temp file from C:\Windows\TEMP/670b3ae2a8798-nkCtbH.tmp to C:\Users\sumur\Local Sites\alexwasashrimpspace\app\public/wp-content/uploads\simply-static\temp-files/simply-static-1-1728788168/wp-content/uploads/2023/02/image-21.png
    [2024-10-13 03:13:40] [class-ss-fetch-urls-task.php:152] Extracting URLs and replacing URLs in the static file
    [2024-10-13 03:13:40] [class-ss-fetch-urls-task.php:159] Adding 0 URLs to the queue
    [2024-10-13 03:13:40] [class-ss-fetch-urls-task.php:170] We're saving this URL; keeping the static file
    [2024-10-13 03:13:40] [class-ss-page.php:119] Checking Content Identical:64950325c1f42b64fcf2c9c69dc60c8269404645===. Value: FALSE
    [2024-10-13 03:13:40] [class-ss-task.php:44] Status message: [fetch_urls] Fetched 129 of 295 pages/files
    [2024-10-13 03:13:40] [class-ss-archive-creation-job.php:181] We're not done with the fetch_urls task yet
    [2024-10-13 17:18:14] [class-ss-admin-settings.php:693] Received request to cancel static archive generation
    [2024-10-13 17:18:14] [class-ss-archive-creation-job.php:221] Cancelling job; job is not done
    [2024-10-13 17:18:14] [class-ss-archive-creation-job.php:232] The queue isn't empty; overwriting current task with a cancel task
    [2024-10-13 17:18:20] [class-ss-archive-creation-job.php:136] Current task: cancel
    [2024-10-13 17:18:20] [class-ss-archive-creation-job.php:153] Performing task: cancel
    [2024-10-13 17:18:20] [class-ss-task.php:44] Status message: [cancel] Cancelling job
    [2024-10-13 17:18:20] [class-ss-wrapup-task.php:22] Deleting temporary files
    [2024-10-13 17:18:20] [class-ss-task.php:44] Status message: [wrapup] Wrapping up
    [2024-10-13 17:18:20] [class-ss-archive-creation-job.php:170] This task is done and there are no more tasks, time to complete the job
    [2024-10-13 17:18:20] [class-ss-archive-creation-job.php:197] Completing the job
    [2024-10-13 17:18:20] [class-ss-archive-creation-job.php:324] Status message: [done] Done! Finished in 14:22:12

    Basic auth was required by the hosting service I was using previously, I will try deleting .htaccess and running static generation again.

    Thread Starter a13x

    (@a13x)

    Well, looks like deleting .htaccess helped, thank you!

    [2024-10-14 16:25:34] Setting up
    [2024-10-14 16:25:39] Fetched 185 of 185 pages/files
    [2024-10-14 16:43:52] ZIP archive created: Click here to download
    [2024-10-14 16:43:52] Wrapping up
    [2024-10-14 16:43:52] Done! Finished in 00:18:20
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.