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

Optimised authentication methods for Ubuntu Desktop

Still counting on passwords to protect your workstation? When set up properly, alternatives to passwords provide a streamlined user experience while significantly improving security. These alternative authentication methods can also easily be combined to create a custom and adaptive authentication profile. This whitepaper introduces three popular authentication methods that provide a solid alternative to passwords. Perhaps you’d like to configure your laptop for login using a YubiKey hardware token connected to a dock. Another option could be to login with a Duo push notification when not connected to the dock, but use a Google Authenticator one-time password when no network is available. Maybe you need a separate hardware token just for ssh authentication, and you always need to keep a long, complex password for emergency authentication should all other methods fail. All of these scenarios can be easily configured within Ubuntu. Read more

Open Hardware: Arduino, RISC-V and 96Boards

  • Arduino-controlled robot arm is ready to play you in a game of chess

    If you’re tired of playing chess on a screen, then perhaps you could create a robotic opponent like Instructables user Michalsky. The augmented board runs micro-Max source code, enabling chess logic to be executed on an Arduino Mega with room for control functions for a 6DOF robotic arm. The setup uses magnetic pieces, allowing it to pick up human moves via an array of 64 reed switches underneath, along with a couple shift registers. The Mega powers the robot arm accordingly, lifting the appropriate piece and placing it on the correct square.

  • New RISC-V CTO On Open Source Chip Architecture’s Global Data Center Momentum

    With more big international players on board, the foundation's new head of technology sees signs of "state of the art moving forward."

  • Snapdragon 410 based 96Boards CE SBC gets an upgrade

    Geniatech has launched a Linux-ready, $109 “Developer Board 4 V3” compliant with 96Boards CE that offers a Snapdragon 410E, GbE, 3x USB, 802.11ac, GPS, and-25 to 70°C support. Geniatech has released a V3 edition of its 96Boards CE form-factor Developer Board 4 SBC, the third update of the Development Board IV we covered back in 2016. Starting at $109, the Developer Board 4 V3 still runs Linux, Android, and Windows 10 IoT Core on Qualcomm’s 1.2GHz, quad -A53 Snapdragon 410m, although it has been upgraded to the 10-year availability Snapdragon 410E. Geniatech also sells a line of Rockchip based SBCs, among other embedded products.

Audiocasts/Shows: Linux in the Ham Shack and Linux Headlines

  • LHS Episode #360: Zapped

    Welcome to the 360th episode of Linux in the Ham Shack. In this short-topic show, the hosts discuss 1.2GHz distance records, a hybrid antenna for geosynchronous satellite operation, data mode identification for your smart phone, being pwned, Ubuntu 20.04.1, LibreOffice, HamClock and much more. Thanks for listening and hope you have a great week.

  • LHS Episode #361: The Weekender LIV

    It's time once again for The Weekender. This is our bi-weekly departure into the world of amateur radio contests, open source conventions, special events, listener challenges, hedonism and just plain fun. Thanks for listening and, if you happen to get a chance, feel free to call us or e-mail and send us some feedback. Tell us how we're doing. We'd love to hear from you.

  • 2020-08-14 | Linux Headlines

    Google could be extending its Firefox search royalty deal, PyPy leaves the Software Freedom Conservancy, Ubuntu puts out a call for testing, Linspire removes snapd support, Microsoft showcases its open source contributions, and Facebook joins The Linux Foundation.

Python Programming

  • Django Weblog: DjangoCon Australia 2020: Schedule live and tickets on sale

    The 8th DjangoCon AU was scheduled to be run in Adelaide, South Australia this year. It's been moved to an online event and will take place on September 4th. DjangoCon AU is organized as a specialist track as part of PyConline AU. The schedule — though shorter than in previous years — is packed with talks about best practices, communities, contributions, and the present and future of Django. Since the event was due to run in Adelaide, the event is running in Australian Central Standard Time, UTC+9:30, and DjangoCon AU will start at 3:45pm ACST. This link shows when the DjangoCon AU Opening address starts for all the DjangoCon timezones..

  • Return how many times each letter shows up in the string by using an asterisk (*)

    Hello people, in this article we will solve the below python problem. You receive the name of a city as a string, and you need to return a string that shows how many times each letter shows up in the string by using an asterisk (*).

  • The Real Python Podcast – Episode #22: Create Cross-Platform Python GUI Apps With BeeWare

    Do you want to distribute your Python applications to other users who don't have or even use Python? Maybe you're interested in seeing your Python application run on iOS or Android mobile devices. This week on the show we have Russell Keith-Magee, the founder and maintainer of the BeeWare project. Russell talks about Briefcase, a tool that converts a Python application into native installers on macOS, Windows, Linux, and mobile devices.

  • Python vs R: Which is Good for Machine Learning?

    If you want to build a machine learning project and are stuck between choosing the right programming language to build it, you know you have come to the right place. This blog will not only help you understand the difference between the two languages namely: Python and R; but also help you know which language has an edge over one another in multiple aspects. So without wasting a single moment, let’s dive into it!

  • Freezegun - Real Joy for Fake Dates in Python

    If you've ever tested code involving dates and times in Python you've probably had to mock the datetime module. And if you've mocked the datetime module, at some point it probably mocked you back when your tests failed.

  • Mastering the SQLite Database in Python

    In this tutorial, we shall see some advanced tasks associated with the SQLite database from Python. We shall see topics such as inserting images, Listing the tables, Backup a database, Dumping Rollback in SQLite, Deleting records from a table, Dropping a table, SQLite database exceptions, and more.

  • PSF GSoC students blogs: Week 6 Blog Post
  • Top 10 Important Uses cases of Python in the Real World

    These top 10 Python uses cases in the real world prove how effective the programming language is. Read the real life uses of Python and implement it in your organization.