Export to github doesn’t work after 3.0 update
-
I have a very simple website, about 50 pages total. It used to take under a minute to export to github. I could push generate and less than 5 minutes later see the newly deployed version on github pages or cloudflare pages. After updating to v3 this morning, and changing nothing else, it’s taking hours to generate.
Edit: I just looked through the log, and it’s looping over the same files over and over, each time hitting the github api.
For example, one of the files in the log is /wp-content/uploads/simply-static/temp-files/simply-static-1-1689778164/404.html
When I search for that in the debug log, I see the same line over 800 times and growing.
[2023-07-19 15:46:40] [class-ssp-github-database.php:129] Trying to convert the following file to a blob: /docroot/wp-content/uploads/simply-static/temp-files/simply-static-1-1689778164/404.html
[2023-07-19 15:46:40] [class-ssp-github-database.php:130] We will encode that as utf-8 because it’s a html
[2023-07-19 15:46:40] [class-ssp-github-database.php:149] Git Repository is empty.it then moves on to the next file, but 80 lines later in the log, about a minute later, the exact same file is iterated over again.
[2023-07-19 15:47:10] [class-ssp-github-database.php:129] Trying to convert the following file to a blob: /docroot/wp-content/uploads/simply-static/temp-files/simply-static-1-1689778164/404.html
[2023-07-19 15:47:10] [class-ssp-github-database.php:130] We will encode that as utf-8 because it’s a html
[2023-07-19 15:47:10] [class-ssp-github-database.php:149] Git Repository is empty.Seeing as how it used to take about a minute to export the whole site, and it’s repeating the same files about a minute apart, it seems like it’s stuck on a loop, doing the whole site over and over, hitting the github API each time. Over the last 8 hours this plugin has made thousands of API requests to github.
For now I’ve disabled the github token and stopped the export. Exports are completely broken in the new version.
What can I do to get it working? Just rollback to an older version of the plugin?
- The topic ‘Export to github doesn’t work after 3.0 update’ is closed to new replies.