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

Leftovers: Software

  • HandBrake 1.0.2 Open-Source Video Transcoder Released for Linux, Mac and Windows
    After more than 13 years of development, the HandBrake open-source video transcoding app reached 1.0 milestone on Christmas Eve last year, and the second bugfix release is already available. HandBrake 1.0.2 is full of improvements and bug fixes enhancing the out-of-the-box video, audio, and subtitles support, but also adds various platform specific changes for all supported operating systems, including GNU/Linux, macOS, and Microsoft Windows.
  • SMPlayer 17.1 Open-Source Video Player Introduces Chromecast Support, More
    It's been two and a half months since you last updated your SMPlayer open-source video player, and a new stable release is now available, versioned 17.1, with some exciting features. Sporting initial Chromecast support, SMPlayer 17.1 will let you send video files from your personal computer to your Chromecast device to watch them on your big-screen TV, or your friends for that matter. The feature supports both online and local sources, including those from popular video hosting services like YouTube and Vimeo.
  • Firefox 51 Released with FLAC Support, Better CPU Usage
    A new month means a new release of the venerable Mozilla Firefox web browser. Firefox 51 ships with FLAC support, WebGL 2, and a whole heap more — come see!
  • Mozilla Firefox 51.0 Now Available for Download, Supports FLAC Playback, WebGL 2
    It's not yet official, but the binary and source packages of the Firefox 51.0 web browser are now available for download on your GNU/Linux, macOS, or Microsoft Windows operating system. Mozilla will have the pleasure of unveiling the Firefox 51.0 release tomorrow, January 24, according to the official schedule, but you can already get your hands on the final version of the web browser by downloading the installers for your favorite OS right now from our website (links are at the end of the article).

OSS Leftovers

  • Berkeley launches RISELab, enabling computers to make intelligent real-time decisions
  • Amazon, Google, Huawei, and Microsoft sponsor UC Berkeley RISELab, AMPLab's successor
  • Brotli: A new compression algorithm for faster Internet
    Brotli is a new open source compression algorithm designed to enable an Internet that's faster for users. Modern web pages can often be made up of dozens of megabytes of HTML, CSS, and JavaScript, and that's before accounting for images, videos, or other large file content, which all makes for hefty downloads. Such loads are why pages are transferred in compressed formats; they significantly reduce the time required between a website visitor requesting a web page and that page appearing fully loaded on the screen and ready for use. While the Brotli algorithm was announced by Google in September 2015, only recently have the majority of web browsers have adopted it. The HTTP servers Apache and nginx now offer Brotli compression as an option. Besides Google, other commercial vendors (such as Cloudflare and DreamHost) have begun to deploy support for Brotli as well.
  • New Year’s resolution: Donate to 1 free software project every month
    Free and open source software is an absolutely critical part of our world—and the future of technology and computing. One problem that consistently plagues many free software projects, though, is the challenge of funding ongoing development (and support and documentation). With that in mind, I have finally settled on a New Year’s resolution for 2017: to donate to one free software project (or group) every month—or the whole year. After all, these projects are saving me a boatload of money because I don’t need to buy expensive, proprietary packages to accomplish the same things.
  • Toyota and Ford Promote Open Source Smartphone Interfaces
    Ford and Toyota have formed a four-automaker consortium to speed up the deployment of open source software for connected in-car systems, according to a report by Bloomberg. The SmartDeviceLink Consortium, which includes Mazda, PSA Group, Fuji, and Suzuki, aims to prevent Apple and Google from controlling how drivers connect smartphones to their vehicles. Suppliers Elektrobit, Harma, Luxoft, QNX, and Xevo have also joined the organization, which is named after an open source version of Ford’s AppLink connectivity interface, a system used in over 5 million vehicles globally.
  • What your code repository says about you
    "You only get one chance to make a first impression," the old saying goes. It's cliche, but nevertheless sound, practical advice. In the realm of open source, it can make the difference between a project that succeeds and a project that fails. That's why making a positive first impression when you release a repo to the world is essential—at least if your motivations involve gaining users, building a community of contributors, and attracting valuable feedback.
  • The Open Source Way of Reaching Across Languages
    I don’t speak Spanish, but that doesn’t mean I can’t learn some important things from this video. The visuals alone are quite instructive. At my public library job, I mentor a number of wonderful Latino youth. One of them might ask me about open source CAD software — and I’ll direct them right to this FOSS Force article. Of course, I subscribed to the YouTube channel of the creator of this video, and also clicked on its like button. If the screencast creator comes back to look at this video in February, they’ll find that they have a number of new subscribers, a number of likes for the video and the video view count might be more than 100. All those indicators will be encouragement for them to make their next open source screencast. And so it goes. That’s how we support each other in the open source world.
  • School systems desperate for standards-aligned curricula find hope
    Open Up Resources is a nonprofit collaborative formed by 13 U.S. states that creates high-quality, standards-aligned open educational resources (OERs) that are openly licensed under CC BY-SA 4.0. Unlike other providers, Open Up Resources provides curriculum-scale OER options; they believe that while many people seem to know where to find supplemental materials, most curriculum directors would not know where to look if they were planning a textbook adoption next year.
  • Visual Studio Test joins Microsoft's open source push [Ed: More openwashing of proprietary software from Microsoft, which interjects surveillance into compiled code]
  • Microsoft Open-Sources DirectX Shader Compiler [Ed: Windows lock-in.]

Red Hat's Survey in India

From Raspberry Pi to Supercomputers to the Cloud: The Linux Operating System

Linux is widely used in corporations now as the basis for everything from file servers to web servers to network security servers. The no-cost as well as commercial availability of distributions makes it an obvious choice in many scenarios. Distributions of Linux now power machines as small as the tiny Raspberry Pi to the largest supercomputers in the world. There is a wide variety of minimal and security hardened distributions, some of them designed for GPU workloads. Read more