No such file or directory in …/ArchiveProcessor.php
-
Hello, I’m checking how this plugin works.
I have problem with generating static files from admin panel. I got result after 3 minutes like it is finished, and ZIP download button, but file is missing.
Then I tried with wp-cli and I got this errorPHP Warning: rename(/var/www/html/wp-content/uploads/wp-static-html-output-1558903598.tmp,/var/www/html/wp-content/uploads/wp-static-html-output-1558903598.zip): No such file or directory in /var/www/html/wp-content/plugins/static-html-output-plugin/plugin/WP2Static/ArchiveProcessor.php on line 2
Warning: rename(/var/www/html/wp-content/uploads/wp-static-html-output-1558903598.tmp,/var/www/html/wp-content/uploads/wp-static-html-output-1558903598.zip): No such file or directory in /var/www/html/wp-content/plugins/static-html-output-plugin/plugin/WP2Static/ArchiveProcessor.php on line 2
Success: Generated static site archive in 165.781543 secondsI need to mention that this WordPress site is installed in my local in official WordPress docker.
What I’m missing?This is list of options. Other values are empty
www-data@f465c4834e1e:~/html$ wp wp2static options list
+——————————-+—————————-+
| Option name | Value |
+——————————-+—————————-+
| baseUrl | https://test.mysite.cc |
| baseUrl-folder | html://www.mysite.cc |
| baseUrl-zip | https://test.mysite.cc |
| baseUrl-zip | https://test.mysite.cc |
| basicAuthPassword | ******************* |
| bbToken | ******************* |
| bunnycdnStorageZoneAccessKey | ******************* |
| bunnycdnPullZoneAccessKey | ******************* |
| crawl_delay | 0 |
| crawl_increment | 1 |
| detection_level | everything |
| delayBetweenAPICalls | 0 |
| deployBatchSize | 1 |
| ftpPassword | ******************* |
| ftpUsername | myusername |
| ghToken | ******************* |
| glToken | ******************* |
| netlifyPersonalAccessToken | ******************* |
| removeConditionalHeadComments | 1 |
| removeHTMLComments | 1 |
| removeWPLinks | 1 |
| removeWPMeta | 1 |
| s3Secret | ******************* |
| selected_deployment_option | zip |
| targetFolder | /var/www/html/mystaticsite |
| useRelativeURLs | 1 |
+——————————-+—————————-+
- The topic ‘No such file or directory in …/ArchiveProcessor.php’ is closed to new replies.