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

KDE Leftovers

  • Integrate Your Android Device With Ubuntu Using KDE Connect Indicator Fork
    KDE Connect is a tool which allows your Android device to integrate with your Linux desktop. With KDE Connect Indicator, you can use KDE Connect on desktop that support AppIndicators, like Unity, Xfce (Xubuntu), and so on.
  • FirstAid – PDF Help Viewer
    in the recent months, I didn’t find much time to spend on Kate/KTextEditor development. But at least I was now able to spend a bit more time on OpenSource & Qt things even during work time in our company. Normally I am stuck there with low level binary or source analysis work. [...] Therefore, as our GUIs are developed with Qt anyways, we did take a look at libpoppler (and its Qt 5 bindings), which is the base of Okular, too.
  • KBibTeX 0.6.1-rc2 released
    After quite some delay, I finally assembled a second release candidate for KBibTeX 0.6.1. Version 0.6.1 will be the last release in the 0.6.x series.
  • Meet KDE at FOSDEM Next Month
    Next month is FOSDEM, the largest gathering of free software developers anywhere in Europe. FOSDEM 2017 is being held at the ULB Campus Solbosch on Saturday 4th and Sunday 5th of February. Thousands of coders, designers, maintainers and managers from projects as popular as Linux and as obscure as Tcl/Tk will descend on the European capital Brussels to talk, present, show off and drink beer.

Leftovers: OSS

  • D-Wave Unveils Open-Source Software for Quantum Computing
    Canada-based D-Wave Systems has released an open-source software tool designed to help developers program quantum computers, Wired reported Wednesday.
  • D-Wave builds open quantum computing software development ecosystem
    D-Wave Systems has released an open source quantum computing chunk of software. Quantum computing, as we know, moves us on from the world of mere 1’s and 0’s in binary to the new level of ‘superposition’ qubits that can represent many more values and therefore more computing power — read this accessible piece for a simple explanation of quantum computing.
  • FOSS Compositing With Natron
    Anyone who likes to work with graphics will at one time or another find compositing software useful. Luckily, FOSS has several of the best in Blender and Natron.
  • Hadoop Creator Doug Cutting: 5 Ways to Be Successful with Open Source in 2017
    Because of my long-standing association with the Apache Software Foundation, I’m often asked the question, “What’s next for open source technology?” My typical response is variations of “I don’t know” to “the possibilities are endless.” Over the past year, we’ve seen open source technology make strong inroads into the mainstream of enterprise technology. Who would have thought that my work on Hadoop ten years ago would impact so many industries – from manufacturing to telecom to finance. They have all taken hold of the powers of the open source ecosystem not only to improve the customer experience, become more innovative and grow the bottom line, but also to support work toward the greater good of society through genomic research, precision medicine and programs to stop human trafficking, as just a few examples. Below I’ve listed five tips for folks who are curious about how to begin working with open source and what to expect from the ever-changing ecosystem.
  • Radio Free HPC Looks at New Open Source Software for Quantum Computing
    In this podcast, the Radio Free HPC team looks at D-Wave’s new open source software for quantum computing. The software is available on github along with a whitepaper written by Cray Research alums Mike Booth and Steve Reinhardt.
  • Why events matter and how to do them right
    Marina Paych was a newcomer to open source software when she left a non-governmental organization for a new start in the IT sector—on her birthday, no less. But the real surprise turned out to be open source. Fast forward two years and this head of organizational development runs an entire department, complete with a promotional staff that strategically markets her employer's open source web development services on a worldwide scale.
  • Exploring OpenStack's Trove DBaaS Cloud Servic
    You can install databases such as MySQL, PostgreSQL, or even MongoDB very quickly thanks to package management, but the installation is not even half the battle. A functioning database also needs user accounts and several configuration steps for better performance and security. This need for additional configuration poses challenges in cloud environments. You can always manually install a virtual machine in traditional settings, but cloud users want to generate an entire virtual environment from a template. Manual intervention is difficult or sometimes even impossible.
  • Mobile Edge Computing Creates ‘Tiny Data Centers’ at the Edge
    “Usually access networks include all kinds of encryption and tunneling protocols,” says Fite. “It’s not a standard, native-IP environment.” Saguna’s platform creates a bridge between the access network to a small OpenStack cloud, which works in a standard IP environment. It provides APIs about such things as location, registration for services, traffic direction, radio network services, and available bandwidth.

Leftovers: Ubuntu and Debian

  • Debian Creeps Closer To The Next Release
    I’ve been alarmed by the slow progress of Debian towards the next release. They’ve had several weird gyrations in numbers of “release-critical” bugs and still many packages fail to build from source. Last time this stage, they had only a few hundred bugs to go. Now they are over 600. I guess some of that comes from increasing the number of included packages. There are bound to be more bad interactions, like changing the C compiler. I hate that language which seems to be a moving target… Systemd seems to be smoother but it still gives me problems.
  • Mir: 2016 end of year review
    2016 was a good year for Mir – it is being used in more places, it has more and better upstream support and it is easier to use by downstream projects. 2017 will be even better and will see version 1.0 released.
  • Ubuntu Still Planning For Mir 1.0 In 2017
    Alan Griffiths of Canonical today posted a year-in-review for Mir during 2016 and a look ahead to this year.
  • Linux Mint 18.1 “Serena” KDE – BETA Release

GNU Gimp Development

  • Community-supported development of GEGL now live
    Almost every new major feature people have been asking us for, be it high bit depth support, or full CMYK support, or layer effects, would be impossible without having a robust, capable image processing core. Øyvind Kolås picked up GEGL in mid-2000s and has been working on it in his spare time ever since. He is the author of 42% of commits in GEGL and 50% of commits in babl (pixel data conversion library).
  • 2016 in review
    When we released GIMP 2.9.2 in late 2015 and stepped over into 2016, we already knew that we’d be doing mostly polishing. This turned out to be true to a larger extent, and most of the work we did was under-the-hood changes. But quite a few new features slipped in. So, what are the big user-visible changes for GIMP in 2016?