Drupal9 Upgrade – Forgot to uninstall incompatible modules?

While upgrading from Drupal 8 to Drupal 9, I forgot to uninstall 2 modules that were incompatible. So, when I ran update.php, I was stopped by the errors. Here’s an easy fix to get it to a place where you can uninstall the modules:

Go to the module’s folder and open the [modulename].info.yml file, take out the core: 8.x line (or comment it out with a #), and put in:

core_version_requirement: ^8.8 || ^9

save, then run the update again. This allowed me to get to the backend, and uninstall the modules.

Earth Is Ghetto I Wanna Leave – Nikkialiah

I am in love with Nikkialiah!!! She made me cry! I am not sure if she goes by Nikki or Aliah, but she has caught my attention in a big way!

This song showed up in my youtube recommendations, and you know me, I love songs with odd lyrics, and this title alone spoke to me.

So… click.

Played it on a loop for a while, an underlying sadness mixed with joy over the lyrics, then wanted to see if she had any others that would speak to me. This next one had me actually crying. Not with laughter, but with joy of hearing not only her voice, but my own thoughts coming through her.

I immediately wanted to help her, so I went and bought one of the T Shirts that read “Earth is ghetto, I wanna leave” from her shop.

I will buy both of these songs when they come out. She reminds me of a time when I was writing music with only two tape recorders and a tiny casio keyboard. Get that idea down on tape before it leaves!

Erased.

I read a quote that said, “If you don’t show it, it can be erased.”

Immediately, that struck a chord with me. I have been holding on to invention ideas, game ideas and songs, poetry and philosophies for years, thinking that I didn’t want them to get “stolen” on the internet. A few years back, I released some of the songs and tried to get some of the inventions started on kickstarter-type sites. But I am not really a social media-type individual, so they didn’t go anywhere.

I have been considering posting the stuff here to at least have the waybackmachine index them for posterity, since we never know when the end is going to come. Covid has changed how a lot of people view life in general. I guess it has changed my perception as well.

So, I am going to trot down memory lane through my ideas and “stuff” and try to put them here as posts. Some of these things are inventions that I want to see made because I *want* them, myself, and couldn’t find them on the market.

Posts to come soon, hopefully.

Role Models – How To Answer

During an interview recently, someone asked if anyone ever approached and said “you are a role model”, and if you should feel any pressure with that kind of responsibility thrust upon you.

Here’s the answer that should be given.

People should not look to one person as a role model and mimick them. They should take the best from all people and emulate each of those things that someone got “right” and blend them into a new role “representation”. In other words, your role model shouldn’t be a person, it should be only certain best actions from everyone. That way, you can become the best of everyone, and that will inspire others to also take the best of you and keep blending.

People are not perfect, so you might end up being disappointed when the one role model you chose fails at something.

CocoRosie – Put The Shine On

I have been a fan of CocoRosie for quite some time. The minute I heard Gravediggress, I was hooked. I am always up for finding something unusual, and they fit that niche. When I found out that they used children’s toys and odd items for instruments, I appreciated their music even more.

They haven’t released much in the past couple of years, and now that Put The Shine On is out, I think it was well worth the wait.

To all my fellow Neneh Cherry fans, this album feels like it belongs right in between Raw Like Sushi and Homebrew. It has the raw rappy feel in spots like RLS, and the melancholy haunting music of Homebrew. For that Homebrew feel, listen to Slow Down Sun Down.

In Lamb and the Wolf, you can hear the gravel knocking around in her throat in the “always the same” repeats. It invokes a Kim Carnes overtone.

There are only a few albums that can be listened to intently for message and nuance, while still being able to be put on in the background for ambiance. This is one of them.

VIRUS CAUSING THE RISE OF VR?

So, last week, I was doing my usual rounds of checking on the prices and availability of the Oculus Quest, as I had one right after they came out and it was not completely ready for my needs. Now they have added Linq (sp?) and finger tracking and it seems like a nice toy to have to watch movies with friends with BigScreenVR. I can do this on my Rift S, but want the freedom to move around my entire home for this activity.

So, while deciding on whether to buy one again last week, I noticed that some places were selling out. Then the news of China manufacturing shutting down made everyone go crazy with purchasing VR headsets. I saw the price go from the normal $399 to now hovering around $550. No large chain has any of them available.

The link between these has to be indoor-stay-at-home entertainment. If you are not going to movies or bars or even starbuxks, you need at-home entertainment. Immersive entertainment. I spend a lot of time in VRCHAT. This gives me a chance to have almost human interaction and quite a few laughs. I foresee this crisis leading to more and more people interacting online. Remember when you told your kids that they spend too much time on their cryPad or cryPhone? Now you are eating those words with schools shutting down.

So, I highly recommend getting a VR headset and joining the rest of the world in VRCHAT… if you can find one.

Drupal 8.8 upgrade SOLVED path_alias update error

Error message:
The website encountered an unexpected error. Please try again later. Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘xxxxx_xxxxx.path_alias’ doesn’t exist: SELECT base_table.id AS id, base_table.path AS path, base_table.alias AS alias, base_table.langcode AS langcode FROM {path_alias} base_table WHERE

When attempting to upgrade from Drupal 8.7 to 8.8 *without* Drush/Composer (can’t get Drush to work), I was not able to run the update.php file without getting a path_alias error. This all came down to Drupal 8.8 not adding the tables to the database before attempting to access them. Here’s how I solved this, and ran into some issues with a fresh install of 8.8 that I will document here as well.

Server running PHP 7.2

I installed a fresh directory and database to house a brand-new instance of Drupal 8.8 to attempt to get the tables to empty and move over to my current installation. This was after trying several things, like uninstalling pathauto, and other methods that never worked.

Only thing is, when I attempted to install a fresh 8.8, I was getting stopped at initializing 0%. It appeared to add “some” of the tables needed in the database, but would never finish. And, of course, it didn’t add the tables I needed.

I thought “maybe 8.8 doesn’t work on php 7.2”, so I changed it back to 7.1. This made all the stylizing break on the install, but I started it anyway. This time I chose the demo site. It stopped again after Initializing 0%, so I switched the php back to 7.2, refreshed the page and it finished the install!!!! Minor feat.

I was able to go to the fresh install 8.8 database, truncate the path_alias and path_alias_revision tables, export them into a file by themselves (export – custom), then import them into my 8.7 database. Once I did that, I followed my usual upgrade process and was able to access the update.php page (was logged in before starting all this) and was able to update the db, run cron, clear cache, and fully upgraded.

When everything was done, I had lost all my css/images (paths were off), so I took php back down to 7.1 and then immediately back up to 7.2 and everything worked again.

Filed under Web