Pressbooks 4.3.1 and Pressbooks Book 1.10.3

Originally published at: https://pressbooks.org/blog/2017/09/18/pressbooks-4-3-1-and-pressbooks-book-1-10-3/

We tagged Pressbooks 4.3.1 and Pressbooks Book 1.10.3 on GitHub today and deployed them across our hosted networks. Here’s what’s changed: Pressbooks 4.3.1 NOTICE: Pressbooks 4.3.1 requires WordPress 4.8.1. NOTICE: Users of the Pressbooks Custom CSS theme must upgrade to Pressbooks Custom CSS 1.0 for compatibility with Pressbooks 4.3.1. [CORE ENHANCEMENT] Added a debugging switch to Custom Styles (see #946).…

Manually updated PB plugin and themes via FTP. System appears to be stable.

Github-updater 7.3.0 caused a white screen of death, so had to return to version 7.2.0

Sidenote:
Never have been able to automatically update PB since moving to github, as I continue to get the same error:
Updating Plugin Pressbooks (1/1)
Downloading update from https://github-production-release-asset-2e65be.s3.amazonaws.com/9209369/354ccd44-9caa-11e7-9a3f-d9d948a86576?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170920%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170920T060905Z&X-Amz-Expires=300&X-Amz-Signature=7cc15b3ed554cff525e8e0427124e441b0c9307795e9344f8ed8b6dc74458e94&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpressbooks-4.3.2.zip&response-content-type=application%2Foctet-stream…

An error occurred while updating Pressbooks: Download failed. Forbidden

Disabling Maintenance mode…

From GitHub Updater’s issues:

The Download failed. Forbidden happens when you’ve been pounding the GitHub API :wink: What happens is that you have reached GitHub’s 60 unauthenticated check sper hour against the API.

As per their documentation:

[T]he GitHub API … only allows 60 unauthenticated calls per hour. Please set a Personal GitHub Access Token to avoid these timeouts.

You can do that in GitHub Updater’s settings.

You can generate a Personal Access Token for your GitHub account here: Sign in to GitHub · GitHub

It needs public_repo access.

If you are having issues with GitHub Updater itself, you should visit their GitHub account and open an issue.

Configured token as per your instructions but still get the following error:
Enabling Maintenance mode…
Updating Plugin Pressbooks (1/1)

Downloading update from https://github-production-release-asset-2e65be.s3.amazonaws.com/9209369/354ccd44-9caa-11e7-9a3f-d9d948a86576?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170921%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170921T060107Z&X-Amz-Expires=300&X-Amz-Signature=77b79a4212d9025715439c4920c1133940cb272d6005f58939d7ad3b2be892f1&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpressbooks-4.3.2.zip&response-content-type=application%2Foctet-stream…

An error occurred while updating Pressbooks: Download failed. Forbidden

Disabling Maintenance mode…

All updates have been completed.

Back to the past of FTP manual updates as this github is too frustrating for me.
Thanks,

Did the update to Pressbooks 4.3.4 work for you without issue using the new built-in updater?

Had to install via FTP unzip (method is to place a period in front of foldername to hide plugin, then expand new file - this operation is done when no users are accessing the server). PB server 4.3.4 now operating with PB theme 1.10.4

When I tried WordPress update, I had the following error:

Updating Plugin Pressbooks (1/1)

Downloading update from https://github.com/pressbooks/pressbooks/releases/download/4.3.4/pressbooks-4.3.4.zip…
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Plugin update failed.

An error occurred while updating Pressbooks: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. vendor, pressbooks.php, compatibility.php, services.php, assets, inc, hooks-admin.php, codecov.yml, hooks.php, LICENSE.md, templates, composer.json, languages, README.md, composer.lock, symbionts, hm-autoloader.php, functions.php, package.json, vendor/leafo, vendor/jenssegers, vendor/pimple, …

It sounds like the permissions in your wp-content/plugins/pressbooks/ folder are incorrect. See: