WordPress Debian Update Today

I use a version of WordPress to host my blog, which is very similar to the versions offered by WordPress.org, but which have been tweaked by Debian Developers, to add security, as well as to increase compatibility with Debian Linux.

But, it’s my personal habit to operate this platform with the ability to install plugins and Themes from the WordPress.org site. Making this available involves some trickery with symlinks and with directory ownership. Yet, WordPress itself is designed with flexibility in mind, when it comes to local configurations. So it tolerates this as a platform.

But from time to time, Debian Maintainers push through an update to their core version of WordPress – which I am using. I happen to have my core files installed in ‘/usr/share/wordpress‘, while I have my extensions installed in ‘/var/lib/wordpress/wp-content‘. The permissions and ownership for these two directories, as well as their subdirectories, involves two different settings in my configuration. One directory, with all its subdirectories, is not writable by the Web-server, while the other is.

When Debian Team pushes through one of these updates, it can break how my personal localization works, because Debian Team is inherently unaware of how any systems may be configured, which are not Debian. This is a bit like how Microsoft programmers inherently don’t understand anything which is not Microsoft.

Sometimes I have installed the update to the core files, without any issues, but sometimes, some additional, manual work is required on my part, to ease the update.

This afternoon, the core files installed fine, and left me with a working blog. But there exist some Themes and plugins which need to be installed from the package manager, to ensure a working site, but of which I usually have the latest versions, from WordPress.org instead. The packaged versions of these Themes and plugins generally tend to lag behind, the most up-to-date versions from WordPress.org.

This means that after one of the core updates, I typically need to reinstall the update, to whatever Themes and plugins the package-manager update has rolled back.

This morning, that added step in my procedure ran into some trouble. But, I was able to resolve the issue in little time, and my blog seems to be at 100% again.

Now, I do have a plugin which puts up a Maintenance Mode page, for as long as I like. But generally, I find that this plugin only hinders me. For one thing, if some type of mess results on my hard drive, having this page enabled could prevent me from disabling it again, and from fixing the issue. Secondly, whatever maintenance I do, is generally finished within 15 minutes or so. So I generally don’t use this plugin.

This afternoon, I began by allowing the core update to take place around 13h30, at which point the blog was still displaying fine. But I ran into issues getting the “TwentyFifteen” Theme back up-to-date, which would have caused any readers to see artifacts when trying to view my page, which were all gone and repaired by 13h45.

So for 15 minutes, readers might have seen some artifacts. If you did, I truly apologize. If I had used the Maintenance Mode plug-in, then doing so would have made my manual procedure more complicated, so that you might have seen the Maintenance Mode page instead, all the way until 14h00. In other words, the task could have taken twice as long to complete than it did.

My official WordPress version is now ‘4.1+dfsg-1+deb8u14‘. And it works again.

Dirk

(Edit: There exists a phenomenon in Human Psychology, with a name I forget. Essentially it amounts to stubbing one’s toe on a table-leg, and due to the unexpected or even inconvenient timing of the pain, blaming the table-leg for the accident. In retrospect, now that this pain is gone, I’d say this SNAFU was entirely my own fault.

Continue reading WordPress Debian Update Today

Routine WordPress update this morning went smoothly.

I host this blog on my own server, thereby maintaining a version of WordPress which is a combination of the Debian / Jessie packaged version, and of plug-ins from WordPress.org . It is therefore often a source of stress for me when Debian pushes-through an update, but rather than for the reason a previous update was botched, because such an update might not be compatible with my localization of the software.

This afternoon starting from 12h04, such an update took place, putting my WordPress version at ‘4.1+dfsg-1+deb8u13‘ officially.

Thankfully, the update went smoothly, and did not appear to break anything.

Dirk

 

WordPress Update Went Smoothly Today.

I run a localized version of WordPress, that partially comes from my Linux package manager, but that has been modified by me, to allow me to install the plug-ins and extensions from WordPress.org .

Therefore, whenever an update to the core files is available from Debian Team – from the package manager – I am a little apprehensive, that the way this update is carried out might not be compatible with my customizations.

Most of the time, updates are good, but on occasion, they may break things.

Today an update to the core package came through the package manager, which technically puts my version at ‘4.1+dfsg-1+deb8u12′. I am sure that there are benefits to users like me. But most importantly, it seems that this update did not break anything. Yay!

Also, I am not recording any down-time, because as far as I can tell, I was able to display a Maintenance Mode page, while the update took place, which would have told readers that the site is undergoing maintenance, for a few minutes.

Dirk

P.S. I also had to restart my ‘memcached’ daemon after that, the purpose of which is to introduce caching on my side – on the server – to speed up retrieval of whatever readers are interested in most often. Because this cache has therefore been flushed, some of the pages and postings may load a little slowly for the next day or two.

(Edit 02/03/2017 : ) I have begun to notice some functional changes in the behavior of WordPress, that I believe stem from this update. In short, the new version seems to use my caching daemon more consistently, than the previous build did.

Continue reading WordPress Update Went Smoothly Today.

Routine Theme Update Today

Any reader of my blog will notice, that I did not code this HTML by hand. I use bundled software named “WordPress”, and I use a version of it similar to what is offered at WordPress.org. This blogging tool is very sophisticated – in my opinion – and extensible through plug-ins and other extensions. I can install WordPress.org updates and extensions, even though my version of the core engine is a Debian / Linux -packaged, localized version.

One of the features of any one blog is its Theme. Though not a plug-in, the Theme plays an important role. It defines the general ‘look and feel’ of any one blog, thereby defining the general layout in the browser of the reader. It is also the Theme, which will determine how easy or difficult it may be, to read a blog on a mobile device – given that many people no longer connect to the Internet as much as they used to, using a PC or even a laptop.

I use the TwentyFifteen theme. Just today, it received an Update, from version 1.6 to 1.7 . As far as I can tell, this update took place without incident, and should not affect your reading experience in any way.

Yet, there was one step which I needed to take during this update. I needed to flush the cache I provide with ‘memcached’. This was to prevent readers from receiving any HTML fragments, which would still have belonged to Theme version 1.6 . Therefore, because of this cache restart – on my server, not on your browser – the response to some of the queries of the reader will be a tad slower for several days, since it is the cache on my server, which accelerates the output of specific HTML, which was already formed the last time the same article was requested from my server.

Dirk