Updating Perl to 5.34

The UPDATING readme for successfully updating all the Perl modules when the default version takes a revision bump is helpful, but could be a damm site more helpful if they just re-posted the original advice, its not as its its pages and pages.

Anyway here is my link to the amended commands to effect the upgrade.

Link to Page

Apple Beta Updates

Back from holiday so have now installed the new iPhone, Watch and AppleTV beta updates, and may have found a killer feature in the WatchOS update which allows the Watch to connect to my bike Bluetooth Cadence sensor, so effectively making the cycle computer redundant as the Apple Health cycle mode will replicate all the functions the cycle computer will do. Interesting to see how this might impact battery life though on the watch given it will be much more active during rides.

Seems to be lots of little changes to iPhone in terms of widgets and messaging integration, but probably more updates for the Instagram generation rather than myself. Early days yet so will probably find more useful features as I delve and others update so the SharePlay functions come into their own.

New Offerings from Apple – Beta launches

Been looking at the new beta previews from Apple of the forthcoming iOS/TvOS/WatchOS coming out later this year.

WatchOS does not appear to have a major new killer functions, least not for me. although current Watch is 3 years old, so will probably update anyway, but the new body temperature sensor is less of a pull for me, but if it can take accurate body temperature rather than just variations in temperature I might be sold.

Of a bigger pull is the addition of FaceTime to AppleTV 4K. Using an iPhone/iPad as the local camera feed putting friends and family on the big screen is a welcome addition. Yet to see the revised controls, but have been getting annoyed with the current controls and the control panel covering the subtitles or screen text I purposely paused it to read is hopefully corrected. watch this space.

Yet to look at the iPhone iOS update changes, but will take a deeper look at when I can.

EDIT – pants – FaceTime is not available on 1st 4K Gen AppleTV boxes and not sure there is an enough change in the tech to warrant splashing out on a new box. just for FaceTime. Also requires Phone to be on iOS17 so really not worth the change today.

Who salutes who?

Always confuses me the different ranks and titles that the UK Military use, so Defence Focus created this handy guide.

Graphic from Defence Focus listing the UK military grades in order of rank, by service.
Who salutes who

GoAccess parsing issues resolved

Since Webalizer fell into disrepair some years ago, I dabbled with GoAccess for website stats and sort of got it working. Several OS or Apache updates later it decided to stop working and I never found the time to fix.

Well, todays persistent rain and nothing better to do, I resolved to fix why GoAccess refused to parse my Apache logs.

The initial fault seemed to stem from GoAccess not being able to decide if I had CLF ( Common Log Format) or Combined Log Format. Apache was insistent that I had set Combined Log Format looking at httpd.conf, but GoAccess complained on start-up that this was not the case.

As this is a hobby server and I had not needed to rotate the logs for several years I can only guess the httpd-access.log had been corrupted or mixed with CLF at some point, so a forced log rotation stopped the error messages on startup and allowed the basic details of the log to be parsed.

However the referrer and user agent still was not parsed. It seems there is a error in the sample goaccess.conf file and the %R and %u fields need double quotes to be parsed fully. A post way back from 2014 seemed to flag this but the MAN page still does not pick this up, maybe its a FreeBSD specific issues

Anyhoo, fixing this is the Combined Log file format parse string now has the file being parsed happily. The OS and Browser detections still seem a bit pants, Safari and Apple iOS and MacOS seemed to be lumped under Linux, but job for another day.

The analytics can be found here

Solved – MYSQL refusing to start

I had upgraded my version of Mysql Server via the ports a few weeks back and usually ports is very good at addressing any compatibility issues bumping up the versions. A quick read of UPDATING had not flagged any real concerns, but on the reboot Mysql was steadfastly refusing to start. No obvious error messages where thrown and it just silently refused to budge.

Googling presented several solutions, but none palpable (wipe config and dbs and start again). However one suggestion was to check the {hostname}.err file contained within /var/db/mysql and lo and behold a quick TAIL {hostname}.err displayed the error that I have been missing. Namely that query_cache_type=0 and query_cache_size=0 had been deprecated starting with v8 and needed to be deleted from my.cnf file.

Fixing the my.cnf file and a quick service mysql-server start restored my Databases and we are back up and running.

Updating Ruby via Ports

Oh I do hate /usr/ports/UPDATING when they refer you to an entry 3 years prior on how to update the current version of a major revision bump and then you need to dig out and correct the numbers to make it work. So I am just going to down my editing here so I can find more easily.

  If you use portmaster, install new ruby, then rebuild all ports that depend on ruby:

cd /usr/ports/lang/ruby31 and Make install

  # portmaster -o lang/ruby31 lang/ruby30

  # portmaster -R -r ruby-3.1

Amazon Echo 4th Gen palaver

Tried to add a second Echo to the bedroom for stereo sound. Original order the new echo dot as the price and picture with the pre-christmas deals looked very similar. Quickly realised my mistake as already caught out trying to pair a standard Echo and a Dot. No harm done as was able to quickly re-gift to a friend that needed another Dot.

I then had a few delivery nightmares with Amazon in the lead up to Christmas where the delivery drivers app had seemed to have forgotten where I lived and get getting failed delivery notifications as they could not find the address, so held off ordering a replacement until post Christmas.

I finally got around to ordering another Echo 4th gen, but now appears not only must they be the same model but same generation as well to stereo pair. The Lounge Studios work a treat with the subwoofer as the main HiFi solution the flat but once again stuck with just mono in the bedroom as I am not going to spring for nearly £180 to have two 4th Gen devices when the 5th Gen are rumoured not to be too far away.