Theme update errors

Strange one…

For a reason I haven’t figured out, I stopped getting prompts to update plugins and themes, so I installed GitHub Updater and that seemed to solve the issue with most things. Everything is updating except the following themes: McLuhan, Aldine, and Donham.

When I attempt to update all three themes I get the following message for McLuhan and Aldine only: “Update Failed: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.” Donham indicates that it has updated, but when I refresh or log out and back in, it has not “taken” and prompts me to update again.

I’ve checked with our server maintainer and he says “The permissions are correct. Without auditing their code I cannot resolve the issue.”

Here are the theme versions I am trying to update from:
Aldine: 1.6.0 --> 1.8.0
McLuhan: 2.8.1 --> 2.10.0
Donham: 1.7.0 --> 2.0.0

Is this a GitHub updater issue? Something else?

UPDATE: When attempting to update a theme directly in GitHub Updater in the Install Theme tab, the following error appears: “Destination folder already exists. /var/www/html/wp-content/themes/pressbooks-aldine/. Theme installation failed.”

UPDATE: Our server admin was able to login as me to the Admin pages and update Aldine and McLuhan. Can’t explain that really.

However, still no Donham. Our admin claims that "The Donham theme is broken. The config is wrong. The version on their server is lying about the version.

After update, the version in the control file reads.

Copyright: 2011-2017 Pressbooks (Book Oven Inc. code@pressbooks.com
Version: 1.7.0
Template: pressbooks-book

So you can see the file was updated
-rw-r–r-- 1 www-data www-data 632 Mar 31 17:18 style.css
But it has the wrong version.
/*
Theme Name: Donham
Theme URI: https://pressbooks.com/themes/donham/
Description: This theme is named after Wallace Donham, Dean of Harvard Business School from 1919 to 1942. The Donham theme is a light, modern theme, equally effective for non-fiction and fiction. Body font is Tinos, and Header font is Galdeano. An earlier version of this theme was commissioned by Harvard Business Review Press.
Author: Pressbooks (Book Oven Inc.)
Author URI: https://pressbooks.com
Copyright: 2011-2017 Pressbooks (Book Oven Inc. code@pressbooks.com
Version: 1.7.0
Template: pressbooks-book
GitHub Theme URI: pressbooks/pressbooks-donham
*/

That’s probably an issue on our end. @homanchan I can see that we have a ‘draft’ release for v2.0.0 in GitHub: https://github.com/pressbooks/pressbooks-donham/releases. Related?

It looks like the 1.7.1 release is pointing to 2.0.0. We will address this. Thank you!
@jlsmith

1 Like