Language Selection

English French German Italian Portuguese Spanish

Drupal Upgrade

Filed under
Site News

Well, we have the site updated to 4.6.6. It was rough, but we are just about there. I was planning to upgrade to 4.7.x as soon as the modules and bug fixes caught up a little better, but as rough as upgrading Drupal is, it might be a bit longer. Big Grin

You may have noticed I had to take the site offline for several short periods last night for the upgrade. As I said, we are just about there. In fact, the few things that are still broken might have to remain so. The main annoyance is that cache is still broke. I found two fixes suggested on the Drupal site, but neither fixed it for us. This is quite disheartening as my site is slow enough without having to disable cache. If hits pick back up, we may suffer some severe effects.

Another broken element was the 'statistics' page, with I called "Most Popular." It listed a defined number of 'top' stories here on Tuxmachines with their intros. It was my favorite feature. I found a snippet of php code that allows a bulleted list of the top stories and we will have to get by with that. Not as nice, but it's okay - it'll work. It's certainly better than nothing in this area.

Related to the previous is that the included Drupal search was broken. This was distressing as I could see in the logs that the search function was used quite a bit around here. Fortunately I found another module that does an even better job. The only drawback is I had to put it in its own block instead of occupying space in the header. Oh well, the trade off was worth it.

Perhaps related to the above two problems is that the new "track" tab for the stories don't work. It would be a cool feature if it worked. And it would be nice if I could disable that tab since it don't. For anonymous folks (using full path) it just says 'access denied' in the logs and for logged in visitors they get no output and I get a weird error in the logs. (UPDATE: woohoo, fixed this one all by myself. Big Grin )

Also gone is my Older News block. I'm really heartbroke about that, but that was another snippet of code given to me by a kind gent that no longer works with 4.6.6. I've posted for an update, but we have to rely on the kindness of strangers and as such, we may never see this feature returned. One must not only know php code but also how drupal inserts and reads its entries in the database. Needless to say, all above my head. (UPDATE: ok, got this one squared away! Big Grin )

Some quirks that annoy me are the spaces in the Popular Content block and the page numbers at the bottom of front and concurrent pages. Nothing major, just a "looks" thing.

For now, you might see some choices in themes in your account page. If there are no performance hits on the site, I might leave them up. This is one good thing with the upgrade - the themes work well with my logo, header image and layout. Previously I disabled user theme choice because none rendered well except for bluemarine. Now they look fairly good. I might add a couple others that I think are pretty.

Another broken module is the banner ads. I had to put the PCLinuxOS ad back as a link due to this. The results to the average user is the same, however tracking click results are now gone. There are bug reports of a similar nature, but the developer of that module is a volunteer and this isn't a core component of Drupal. However, it still points to how drupal has to go and change the whole database relationship each major version. It makes it difficult for module developers and maintainers to keep up.

The paypal tipjar is broken as well. There was an update to the actual tipjar itself, but the core module it requires doesn't seem to exist for 4.6.x. ...or I've yet to find it. (UPDATE: woohoo, found the module and got it working again.)

I could talk about the nightmare of updating the database. Drupal has an update script that does 95% of the updating which is nice. However I had many tables or columns that need updating, altering, adding etc. Again, my skills are limited there and fortunately I found hints and even exact syntax for some in Drupal's forums. That one major error causing all the problems with search and loggin mentioned above was only reported by two other people and they did not get an answer. Sad

Another good thing is I think the site is a tad faster under 4.6.6. Adding stories is usually faster, I'm not sure how surfing is going. It's hard to judge that from where I'm sitting inside my lan. But without cache, any improvements will be lost if I ever write a story of interest again.

So, all in all, I hate drupal. Big Grin

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

re: Drupal shakedown must be fun

I might have been a bit adventurous in my youth, but I'd just as soon play it safe these days.

I like drupal, the way it looks and the basic functionality after getting it set up. I just don't get why they have to change the coding so dramatically each release that makes upgrading so chancy and difficult.

I don't really hate it, I was just mad at it for a while. Big Grin

----
You talk the talk, but do you waddle the waddle?

More in Tux Machines

GitLab Web IDE

  • GitLab Web IDE Goes GA and Open-Source in GitLab 10.7
    GitLab Web IDE, aimed to simplify the workflow of accepting merge requests, is generally available in GitLab 10.7, along with other features aimed to improve C++ and Go code security and improve Kubernets integration. The GitLab Web IDE was initially released as a beta in GitLab 10.4 Ultimate with the goal of streamlining the workflow to contribute small fixes and to resolve merge requests without requiring the developer to stash their changes and switch to a new branch locally, then back. This could be of particular interest to developers who have a significant number of PRs to review, as well as to developers starting their journey with Git.
  • GitLab open sources its Web IDE
    GitLab has announced its Web IDE is now generally available and open sourced as part of the GitLab 10.7 release. The Web IDE was first introduced in GitLab Ultimate 10.4. It is designed to enable developers to change multiple files, preview Markdown, review changes and commit directly within a browser. “At GitLab, we want everyone to be able to contribute, whether you are working on your first commit and getting familiar with git, or an experienced developer reviewing a stack of changes. Setting up a local development environment, or needing to stash changes and switch branches locally, can add friction to the development process,” Joshua Lambert, senior product manager of monitoring and distribution at GitLab, wrote in a post.

Record Terminal Activity For Ubuntu 16.04 LTS Server

At times system administrators and developers need to use many, complex and lengthy commands in order to perform a critical task. Most of the users will copy those commands and output generated by those respective commands in a text file for review or future reference. Of course, “history” feature of the shell will help you in getting the list of commands used in the past but it won’t help in getting the output generated for those commands. Read
more

Linux Kernel Maintainer Statistics

As part of preparing my last two talks at LCA on the kernel community, “Burning Down the Castle” and “Maintainers Don’t Scale”, I have looked into how the Kernel’s maintainer structure can be measured. One very interesting approach is looking at the pull request flows, for example done in the LWN article “How 4.4’s patches got to the mainline”. Note that in the linux kernel process, pull requests are only used to submit development from entire subsystems, not individual contributions. What I’m trying to work out here isn’t so much the overall patch flow, but focusing on how maintainers work, and how that’s different in different subsystems. Read more

Security: Updates, Trustjacking, Breach Detection

  • Security updates for Monday
  • iOS Trustjacking – A Dangerous New iOS Vulnerability
    An iPhone user's worst nightmare is to have someone gain persistent control over his/her device, including the ability to record and control all activity without even needing to be in the same room. In this blog post, we present a new vulnerability called “Trustjacking”, which allows an attacker to do exactly that. This vulnerability exploits an iOS feature called iTunes Wi-Fi sync, which allows a user to manage their iOS device without physically connecting it to their computer. A single tap by the iOS device owner when the two are connected to the same network allows an attacker to gain permanent control over the device. In addition, we will walk through past related vulnerabilities and show the changes that Apple has made in order to mitigate them, and why these are not enough to prevent similar attacks.
  • What Is ‘Trustjacking’? How This New iOS Vulnerability Allows Remote Hacking?
    This new vulnerability called trustjacking exploits a convenient WiFi feature, which allows iOS device owners to manage their devices and access data, even when they are not in the same location anymore.
  • Breach detection with Linux filesystem forensics
    Forensic analysis of a Linux disk image is often part of incident response to determine if a breach has occurred. Linux forensics is a different and fascinating world compared to Microsoft Windows forensics. In this article, I will analyze a disk image from a potentially compromised Linux system in order to determine the who, what, when, where, why, and how of the incident and create event and filesystem timelines. Finally, I will extract artifacts of interest from the disk image. In this tutorial, we will use some new tools and some old tools in creative, new ways to perform a forensic analysis of a disk image.