Category: Technology

  • Fixing the “check your internet” error when updating macOS

    “An error occurred while downloading the selected updated. Please check your internet connection and try again.”

    I was trying to update to Big Sur 11.5.1 to patch a zero day vulnerability.

    I clicked System Preferences -> Software Update -> Update, it had some Terms & Conditions I needed to accept, and then told me it would take up n Gigabytes of space. I had enough space, so went ahead, and then got the dreaded error message above.

    Whilst it looks like an internet connection issue, apparently the error message is totally misleading and is nothing to do with your internet connection at all. There are loads of suggestions on the web around restarting in Recovery Mode and reinstalling macOS, which sounded very… intense.

    Then I read somewhere that you can try installing the update via the App Store. Sure enough, I clicked on the App Store, searched for “Big Sur”, then clicked on “Get”, which opened the same “Software Update” window I had already opened, but it triggered a “Searching for updates” animation and then found an update that was multiple times larger than the one I was initially trying to download. I didn’t have enough space, so the update failed.

    I deleted a few GBs of files and tried the update again. This time, it worked! 🎉

    I’m not sure if going via the App Store worked, or whether in the initial update attempt I didn’t have enough space (and it was perhaps just under-reporting the amount of space it needed). If you’re facing this issue, try making loads of room, and try updating via the App Store. Good luck!

  • How to play Left 4 Dead 2 on macOS Catalina

    In a hurry? Jump straight to the solution.

    I love Left 4 Dead 2 (L4D2). I played it a lot in my uni days with my nerdy housemates, and we still try to meet up a few times a year to relive the good old times. Here’s one of those meet-ups, when we hooked a laptop up to my 50″ TV:

    The fans got so loud.

    So when one day I upgraded my macOS to Catalina (10.15), I was gutted to find that I couldn’t play Left 4 Dead 2 (L4D2) anymore:

    “Your current macOS (Catalina) is unable to run 32-bit games. This game may not run.”
    And yes, I have clocked up an embarrassingly high 134 hours…!

    It turned out that Apple had dropped support for 32 bit apps. I remember reading about that before upgrading, and made sure I backed up my old Word & Excel files as my ancient Office 2011 would no longer run, but I hadn’t considered the impact it would have on my games.

    I tried to install L4D2 via Wine, which I had previously used to play classic games like Railroad Tycoon 3. But I found that my Wine setup wasn’t working anymore either, and didn’t look like it was ever going to be.

    The official suggestion from Steam was to partition your Mac and dual-boot multiple versions of macOS. PC Mag instead recommended buying Parallels Desktop, installing an older version from a recovery partition then installing Parallels Tools and transferring your 32 bit apps into the virtual system. The former requires a big hard drive and a lot of work, and the latter would mean a degradation in performance, so wouldn’t be great for gaming – and I eventually spotted that it was also dependant on you having NOT upgraded to Catalina yet, which was too late for me!

    I ended up giving up, and wasn’t able to play any of these games for months.


    The solution

    Recently I had another go at finding a solution, and discovered PlayOnMac, which is based on Wine but with a nice usable UI. It claimed to offer Steam support and could run 32 bit applications, so looked perfect.

    I downloaded the PlayOnMac .dmg and dragged the app into my Applications folder, but when I tried to run it I faced this error: “PlayOnMac.app can’t be opened because Apple cannot check it for malicious software.”

    Install Spotify" can't be opened because Apple cannot check it for malicious  software - Ask Different
    The error looked a bit like this, but with “PlayOnMac.app” instead of “Install Spotify”.

    I had to open System Preferences -> Security & Privacy, and in the General tab there was an option to “Open anyway”. macOS has not blocked me from opening this app ever since.

    PlayOnMac supports a large number of applications, including Steam:

    Search for ‘Steam’ on the PlayOnMac install menu, select it then click ‘Install’

    When I first attempted to install Steam, I did have a popup from within PlayOnMac which asked what my graphic memory was. I clicked the Apple logo on my Mac, clicked “About This Mac” and saw that I had “Graphics: Intel Iris Pro 1536 MB”, so selected the “1536 MB” option, but the greyed out “Next” button remained greyed out for some reason. I eventually clicked “Cancel” – which was my only option – and was taken back to the screenshot above. I clicked “Install” again and this time I wasn’t asked about my graphic card and it all seemed to install successfully.

    Steam appeared in my PlayOnMac library

    If you double-click the Steam icon, or click ‘Run’, it runs Steam. But there was an issue – the games library wouldn’t load:

    The Library tab was just a black box. The same happened if I switched to Store or Community.

    Eventually I found the answer on Reddit – you have to configure Steam to open the ‘mini list’ game launcher, which doesn’t use a browser:

    -no-browser +open steam://open/minigameslist

    I clicked ‘Configure’ in the PlayOnMac UI and added these arguments to the ‘Arguments’ section.

    The next time I started Steam, I saw my games library!

    Left 4 Dead 2 appeared in my ‘mini list’ view of games

    I right-clicked Left 4 Dead 2 and clicked ‘Install’, which started the process. But then my Avast! Antivirus threw a wobbly, claiming to have spotted a WIN32 BogEnt [Susp] Virus, but apparently this is a common issue and thankfully the installation process wasn’t affected.

    I double-clicked the game to launch it, and the game opened full screen and seemed to work! I launched a quick single-player game and found the audio and IO quite laggy, but tweaked the graphical settings down slightly, which seemed to improve it a little.

    I don’t know how well it will hold up to prolonged gaming, or if there might be connection issues for local server gaming – I’ll find out in a few months when me and my friends meet up for our semi-regular L4D sessions! But so far, it’s looking fairly promising 🤞. I’ll keep this post updated with any problems and solutions I come across. In the meantime, if you have any suggestions for gaming on Catalina, leave me a message in the comments!

  • Fix 503 Unavailable Error in JIRA

    Assuming you’ve set up JIRA and it had been working fine until recently, but you’re now seeing a random 503 error, try the following:

    Restart the server

    sudo service httpd stop
    sudo service httpd start

    Sometimes Apache just needs a kick.

    Restart JIRA

    sudo /etc/init.d/jira stop
    sudo /etc/init.d/jira start

    Sometimes you’ll get an error to do with a catalina.pid and associated process not found – this means Tomcat has failed.

    You may need to run this, then try restarting JIRA again:

    sudo mv /opt/atlassian/jira/work/catalina.pid ~/catalina-backup.id

    Restart Tomcat

    sudo /opt/atlassian/jira/bin/shutdown.sh
    sudo /opt/atlassian/jira/bin/startup.sh

    Reboot VPS

    If you’re running this on a VPS (such as EC2 instance) one of your last options it to reboot the server. Log into your VPS provider and reboot the instance, then run some of these jira start commands again.


    All of these options might give JIRA the kick it needs. Sometimes things fall over and they just need a prompt.

    But you also have to ask, why did the 503 error start appearing? The answer is likely because your system ran out of memory.

    I was trying to do things on the cheap, running JIRA on a single AWS EC2 nano instance, running some commands on my instance to increase swap space in place of RAM.

    But every now and again, JIRA will fall over. And, in this case, despite all the rebooting, I couldn’t get JIRA back to life. I got rid of the 503 error but I would start seeing other errors on JIRA startup, all to do with a lack of memory. I’d already maxed out the swap space, so I was out of options.

    My final fix was to ‘stop’ the instance in AWS, change the instance size to ‘micro’ rather than ‘nano’ – which doubles its memory capacity – and then start the instance again.

    Ran my jira start commands and it all started working. Worth spending a few extra pounds per month to keep JIRA happy!