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: OSS and Sharing

  • Making your OpenStack monitoring stack highly available using Open Source tools
    Operators tasked with maintaining production environments are relying on monitoring stacks to provide insight to resource usage and a heads-up to threats of downtime. Perhaps the most critical function of a monitoring stack is providing alerts which trigger mitigation steps to ensure an environment stays up and running. Downtime of services can be business-critical, and often has extremely high cost ramifications. Operators working in cloud environments are especially reliant on monitoring stacks due to the increase in potential inefficiency and downtime that comes with greater resource usage. The constant visibility of resources and alerts that a monitoring stack provides, makes it a fundamental component of any cloud.
  • InfraRed: Deploying and Testing Openstack just made easier!
  • The journey of a new OpenStack service in RDO
    When new contributors join RDO, they ask for recommendations about how to add new services and help RDO users to adopt it. This post is not a official policy document nor a detailed description about how to carry out some activities, but provides some high level recommendations to newcomers based on what I have learned and observed in the last year working in RDO.
  • Getting to know the essential OpenStack components better
  • Getting to know core components, speed mentoring, and more OpenStack news
  • Testing LibreOffice 5.3 Notebookbar
    I teach an online CSCI class about usability. The course is "The Usability of Open Source Software" and provides a background on free software and open source software, and uses that as a basis to teach usability. The rest of the class is a pretty standard CSCI usability class. We explore a few interesting cases in open source software as part of our discussion. And using open source software makes it really easy for the students to pick a program to study for their usability test final project.
  • [Older] Drupal member sent out after BDSM lifestyle revealed

    Drupal, like many other open source projects, has a stated goal of welcoming and accepting all people, no matter their heritage, culture, sexual orientation, gender identity or other factors.

  • Controversy Erupts in Open-Source Community After Developer's Sex Life Made Public
    Drupal is a popular open-source content-management system, used to build websites. Like many other open-source projects, Drupal is guided by several committees that are supposed to be accountable to the community and its code of conduct, which enshrines values like "be considerate" and "be respectful." Also like many other open-source projects, Drupal attracts all sorts of people, some of whom are eclectic. Last week, under murky circumstances, Drupal creator Dries Buytaert banned one of the project's technical and community leaders, Larry Garfield. Buytaert attributed the decision to aspects of Garfield's private sex life. Many Drupal users and developers are up in arms about the perceived injustice of the move, exacerbated by what they see as a lack of transparency.
  • HospitalRun: Open Source Software for the Developing World
    When open source software is used for global health and global relief work, its benefits shine bright. The benefits of open source become very clear when human health and human lives are on the line. In this YouTube video, hear Harrisburg, Pennsylvania software developer Joel Worrall explain about HospitalRun software – open source cloud-based software used at developing world healthcare facilities.
  • Scotland emphasises sharing and reuse of ICT
    Scotland’s public administrations should focus on common, shared technology platforms, according to the new digital strategy, published on 22 March. The government says it wants to develop “shared infrastructure, services and standards in collaboration with our public sector partners, to reduce costs and enable resources to be focused on front-line services.”
  • [Older] OpenSSL Re-licensing to Apache License v. 2.0 To Encourage Broader Use with Other FOSS Projects and Products

    OpenSSL Launches New Website to Organize Process, Seeks to Contact All Contributors

  • Austria state secretary promotes open data
    The State Secretary at Austria’s Federal Chancellery, Muna Duzdar, is encouraging the making available of government data as open data. “The administration must set an example and support the open data culture by giving society its data back”, the State Secretary for Digitalisation said in a statement.
  • Study: Hungary should redouble open data initiatives
    The government of Hungary should redouble its efforts to make public sector information available as open data, and actively help to create market opportunities, a government white paper recommends. The ‘White Paper on National Data Policy’ was approved by the government in December.
  • Williamson School Board OKs developing open source science curriculum
    Science textbooks may be a thing of the past in Williamson County Schools. The Williamson County school board approved a proposal Monday night to use open source science resources instead of science textbooks. The switch will require a team of nine teachers to spend a year developing an open source curriculum.
  • How Elsevier plans to sabotage Open Access
    It was a long and difficult road to get the major publishing houses to open up to open access, but in the end the Dutch universities got their much awaited ‘gold deal’ for open access. A recently revealed contract between Elsevier and the Dutch research institutes lays bare the retardant tactics the publishing giant employs to stifle the growth of open access.
  • #0: Introducing R^4
  • RcppTOML 0.1.2

Security Leftovers

  • Security updates for Monday
  • FedEx Will Pay You $5 to Install Flash on Your Machine
    FedEx is making you an offer you can’t afford to accept. It’s offering to give you $5 (actually, it’s a discount on orders over $30) if you’ll just install Adobe Flash on your machine. Nobody who knows anything about online security uses Flash anymore, except when it’s absolutely necessary. Why? Because Flash is the poster child for the “security-vulnerability-of-the-hour” club — a group that includes another Adobe product, Acrobat. How unsafe is Flash? Let’s put it this way: seven years ago, Steve Jobs announced that Flash was to be forever banned from Apple’s mobile products. One of the reasons he cited was a report from Symantec that “highlighted Flash for having one of the worst security records in 2009.” Flash security hasn’t gotten any better since.
  • Every once in a while someone suggests to me that curl and libcurl would do better if rewritten in a “safe language”
  • An insecure dishwasher has entered the IoT war against humanity

    Regel says that he has contacted Miele on a number of occasions about the issue, but had failed to get a response to his missives, and this has no updated information on the vulnerability.

    He added, bleakly that "we are not aware of an actual fix."

  • Monday Witness: It's Time to Reconize a Civil Right Not to be Connected
    Along with death and taxes, two things appear inevitable. The first is that Internet of Things devices will not only be built into everything we can imagine, but into everything we can't as well. The second is that IoT devices will have wholly inadequate security, if they have any security at all. Even with strong defenses, there is the likelihood that governmental agencies will gain covert access to IoT devices anyway. What this says to me is that we need a law that guarantees consumers the right to buy versions of products that are not wirelessly enabled at all.
  • Remember kids, if you're going to disclose, disclose responsibly!
    If you pay any attention to the security universe, you're aware that Tavis Ormandy is basically on fire right now with his security research. He found the Cloudflare data leak issue a few weeks back, and is currently going to town on LastPass. The LastPass crew seems to be dealing with this pretty well, I'm not seeing a lot of complaining, mostly just info and fixes which is the right way to do these things.

Lightroom and Darktable: the verdict two years after switching

In summer 2015, I posted a detailed account of my tentative switch from Windows7 and Lightroom to Linux and Darktable. This was sparked by sudden crashes that were afflicting my system, but in a deeper sense grew from frustration with Windows and, to a lesser degree, with Lightroom. Once I headed for Linux, I decided to plunge in fully and commit to using Ubuntu and free, open-source photo software for several months – at least until the end of that year. That would give me a chance to see whether I could actually run my photography business on the new system. Read more

7 Linux Mainstream Distros Alternatives

Linux Mainstream Distros are quite popular as they have a large number of developers working on them as well as a large number of users using them. In addition, these distros also have strong support system. People often search alternatives for Linux Mainstream Distros but often get confused about which is the best one for them. So listed below are 7 best Linux mainstream distros alternative choices for you. Read more