Closed leonstafford closed 4 years ago
Steps to repro
Failed during "Analyzing site... this may take a few minutes (but it's worth it!)", please check your Export Log from Logs tab or email support.
root@example.com:/var/log/nginx# tail -f error.log
2020/05/24 03:20:58 [error] 1397#1397: *9 FastCGI sent in stderr: "PHP message: PHP Warning: rmdir(/var/www/html/wp-content/uploads/wp-static-html-output-1590242843/wp-content/plugins/gp-premium/backgrounds): Directory not empty in /var/www/html/wp-content/plugins/static-html-output-plugin/src/FilesHelper.php on line 34PHP message: PHP Warning: rmdir(/var/www/html/wp-content/uploads/wp-static-html-output-1590242843/wp-content/plugns/gp-premium/secondary-nav): Directory not empty in /var/www/html/wp-content/plugins/static-html-output-plugin/src/FilesHelper.php on line 34PHP message: PHP Warning: rmdir(/var/www/html/wp-content/uploads/wp-static-html-output-1590242843/wp-content/plugins/gp-premium): Directory not empty in /var/www/html/wp-content/plugins/static-html-output-plugin/src/FilesHelper.php on line 34PHP message: PHP Warning: rmdir(/var/www/html/wp-content/uploads/wp-static-html-output-1590242843/wp-content/plugins/tablepress/admin): Directory not empty in /var/www/html/wp-content/plugins/static-html-output-plugin/src/FilesHelper.php on line 34PHP message: PHP Wa rning: rmdir(/var/www/html/wp-content/uploads/wp-static-html-output-1590242843/wp-content/plugins/tablepress): Directory not empty in /var/www/html/wp-content/plugins/static-html-output-plugin/src/FilesHelper.php on line 34PHP message: PHP Warning: rmdir(/var/www/html/wp-content/uploads/wp-static-html-output-1590242843/wp-content/plugins/wp-last-modified-info/admin/assets/lib/selectize): Directory not empty in /var/www/html/wp-content/plugins/static-html-output-plugin/src/FilesHelper.php on line 34PHP message: PHP Warning: rmdir(/var/www/html/wp-content/uploads/wp-static-html-output-1590242843/wp-content/plugins/wp-last-modified-info/admin/assets/lib): Directory not empty in /var/www/html/wp-content/plugins/static-html-output-plugin/src/FilesHelper.php on line 34PHP message: PHP Warning: rmdir(/var/www/html/wp-content/uploads/wp-static-html-output-1590242843/wp-content/plugins/wp-last-modified-info/admin/assets): Directory not empty in /va
2020/05/24 03:20:58 [error] 1397#1397: *9 upstream sent too big header while reading response header from upstream, client: 103.74.109.129, server: example.com.org, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "www.example.com.org", referrer: "https://www.example.com.org/wp-admin/admin.php?page=statichtmloutput"
^C
root@example.com:/var/log/nginx# cd /var/www/html/wp-content/uploads/wp-static-html-output-1590242843/
root@example.com:/var/www/html/wp-content/uploads/wp-static-html-output-1590242843# ls
wp-content
root@example.com:/var/www/html/wp-content/uploads/wp-static-html-output-1590242843# cd ..
root@example.com:/var/www/html/wp-content/uploads# ls
2019 wp-static-html-output-1590242843 wp-static-html-output-1590246619 wp-static-html-output-1590281738 wp-static-html-output-1590288791 wp-static-html-output-1590290230
2020 wp-static-html-output-1590246419 wp-static-html-output-1590246654 wp-static-html-output-1590287887 wp-static-html-output-1590288886 wp-static-html-output-1590290255
WP2STATIC-CURRENT-ARCHIVE.txt wp-static-html-output-1590246421 wp-static-html-output-1590246755 wp-static-html-output-1590288167 wp-static-html-output-1590289031 wp-static-html-output-1590290458
WP-STATIC-CRAWLED-LINKS.txt wp-static-html-output-1590246468 wp-static-html-output-1590246756 wp-static-html-output-1590288281 wp-static-html-output-1590289465 WP-STATIC-INITIAL-CRAWL-LIST.txt
WP-STATIC-DISCOVERED-URLS-TOTAL.txt wp-static-html-output-1590246489 wp-static-html-output-1590246757 wp-static-html-output-1590288473 wp-static-html-output-1590289931 WP-STATIC-INITIAL-CRAWL-TOTAL.txt
WP-STATIC-EXPORT-LOG.txt wp-static-html-output-1590246512 wp-static-html-output-1590250454 wp-static-html-output-1590288543 wp-static-html-output-1590290121 WP-STATIC-MODIFIED-CRAWL-LIST.txt
WP-STATIC-FINAL-CRAWL-LIST.txt wp-static-html-output-1590246555 wp-static-html-output-1590250615 wp-static-html-output-1590288653 wp-static-html-output-1590290127 WP-STATIC-PROGRESS.txt
wp-static-html-output-1590237127 wp-static-html-output-1590246562 wp-static-html-output-1590281737 wp-static-html-output-1590288689 wp-static-html-output-1590290165 WP-STATIC-TOTAL-FILES-TO-DEPLOY.txt
root@example.com:/var/www/html/wp-content/uploads# rm -rf wp-static*
root@example.com:/var/www/html/wp-content/uploads# ls
2019 WP2STATIC-CURRENT-ARCHIVE.txt WP-STATIC-DISCOVERED-URLS-TOTAL.txt WP-STATIC-FINAL-CRAWL-LIST.txt WP-STATIC-INITIAL-CRAWL-TOTAL.txt WP-STATIC-PROGRESS.txt
2020 WP-STATIC-CRAWLED-LINKS.txt WP-STATIC-EXPORT-LOG.txt WP-STATIC-INITIAL-CRAWL-LIST.txt WP-STATIC-MODIFIED-CRAWL-LIST.txt WP-STATIC-TOTAL-FILES-TO-DEPLOY.txt
root@example.com:/var/www/html/wp-content/uploads# rm -rf WP-STATIC*
root@example.com:/var/www/html/wp-content/uploads# ls
2019 2020 WP2STATIC-CURRENT-ARCHIVE.txt
on a 2nd run (at least one existing archive dir), getting warning that archive dir isn't empty:
but nothing in the
inc
dir.maybe environment specific