Upgrading solr server from 6.6.0 to 7.3.1

I use Apache’s Solr to provide a global search facility on Moodle. Now that my courses have ended for the summer, it’s time to bite the bullet and upgrade the Solr server software from version 6.6.0 which I installed last year, to the current 7.3.1. This turned out to be more straightforward than I feared, and did not require me to touch the PHP solr module that I had to compile from source when I installed it the first time. Here are the steps:

# cd /opt
# wget http://apache.mirrors.nublue.co.uk/lucene/solr/7.3.1/solr-7.3.1.tgz
# tar zxvf solr-7.3.1.tgz
# cp solr-7.3.1/bin/install_solr_service.sh .
# rm -rf solr-7.3.1
# ./install_solr_service.sh solr-7.3.1.tgz -f

Notice the -f flag which tells the script to upgrade an existing installation. The script stops the currently running instance, extracts the new code and starts the instance. A quick check of the admin interface on port 8983 shows the new code running OK, the cores intact, and the client service on Moodle nominal.

EDIT: At present (June 2018) Solr 7 is not supported on Moodle 35. The latest version of the Solr server that works with Moodle 35 is 6.6.4: the instructions above will install Solr 7.

If you want global search to work with Moodle 35, replace “7.3.1” with “6.6.4” and fetch the code using wget from the Apache archive at http://archive.apache.org/dist/lucene/solr/6.6.4/solr-6.6.4.tgz.

TV On Demand

So, we thought we’d catch up on Channel 4’s Humans with some popcorn. On with the Sky box and the telly and press the TV guide. Catch up. Here we go. Microwave is on. Sounds of corn popping.

Sky says we have to contact them because that channel isn’t free to view on demand on the downstairs telly. Weird. We can watch Channel 4 for free on the internet-connected upstairs telly OK, but we wanted to sit with our popcorn, now ready to eat, downstairs.

OK, no problem. XBox. There’s an app.

XBox says it won’t connect to the internet because it wants to do an update first. Sake.

Update eventually installed and restarted and we can sign in and find the app. It needs installed. No problem. Popcorn almost finished now. App installs, but Channel 4 wants us to sign in. Why?

We can’t sign in, we don’t have an account. Why would we have an account for a free-to-air TV channel? It seems we have to visit their website first to create one. Uckfay offhay. Have you people never heard of GDPR?

Popcorn finished. The moment has gone. Casualty it is.

Bring on the AI revolution! Technology is no threat to us.

Science Ceilidh to end PGDE Science 2017-18

What better way to finish #PGDE #science at #MorayHouse than with a @science_ceilidh
via Instagram

At the ROE #scifest talk “Generation Webb”

via Instagram https://ift.tt/2HquXIS

The library at the @ROE, with the Crawford collection and #pgde students

via Instagram https://ift.tt/2GwM5Qj

The Crawford collection. That’s a first edition *Principia* there on the table

via Instagram https://ift.tt/2JgLWhy