Category: fix

  • Fix: /var/lib/docker/aufs/diff is consuming entire drive

    Some of my docker containers were complaining that they didn’t have enough drive space. This looked odd – so i logged in to the host and checked around: All space used up. Huh. Wonder why? I did a quick check to see what’s using most space: clearly /var/lib/docker/aufs/diff is what’s causing it. Let’s clean that up:…

  • Fix: Flashing an M1015 – Error code = 64 Failed to flash the image. Please retry recovery

    I purchased an IBM M1015 to use as an HBA in my server. As part of that, I wanted to flash it with the IT firmware, however, I was getting errors, even when I used the original IBM firmware from their website (my mirror copy): I’d never seen an M1015 before, at least not close…

  • Fix: Emby Docker fails to start when config on mounted share – SQLite “database is locked”

    I have a clean VM running Ubuntu 16.04 on VWare ESXi 6.5. I have a CIFS share mounted at /mnt/appdata with the noperm flag. The share is writeable. I installed Docker using the instructions here: https://hub.docker.c…mby/embyserver/ then the next command, sudo systemctl enable emby-server.service, didnt work. Instead I had to do: then I ran emby-server and configured…

  • HP Gen8 Microserver error “Embedded media manager failed initialization” – how to get HPQLOCFG

    During the process of installing VMWare on to my Gen8 Microserver, I had trouble writing data to the internal SD card – in fact, I couldn’t even see it. Looking in the ILO Event Logs I saw this: Embedded Flash/SD-CARD: Embedded media manager failed initialization. googling this didn’t get me much – just forum posts with people…

  • error processing package apt-show-versions on Ubuntu 14.04 or Ubuntu 16.04

    When installing Webmin, I’ve sometimes come across an error installing a dependency package, apt-show-versions: This is caused by the fact that apt-show-versions can’t read compressed index files. Thankfully, the solution is quite simple: First, we need to tell APT not to compress the index. To do this we create an entry in a file called /etc/apt/apt.conf.d/02compress-indexes: If the file is…

  • How to ensure you can revert changes to function apps

    As I’ve been playing around with Azure Functions I’ve slowly outgrown the web-based editor. It’s not that it’s not useful, it’s just that I miss intellisense (I’ll come back to this in a later post), and I accidentally deployed a change which broke one of my functions. I’d made dozens of tiny changes, but I simply could not…

  • When Function App updates won’t save…

    I accidentally deployed a dodgy bit of code to one of my function apps. Then, even when I tried to revert to a “known good” version of my code via the GUI, it still didn’t work. No matter what I did, I kept getting the dreaded “Compilation Failed” error – but there was no more information. No…

  • missing dependencies Microsoft.CodeAnalysis.CSharp.Scripting

    While trying to install the C# scripting package Microsoft.CodeAnalysis.CSharp.Scripting from nuget, but was getting odd messages about missing dependencies. I spent ages trying to figure it out as all the dependency versions appeared to match (e.g. however, eventually I discovered that you neeed .NET 4.6. Doh!

  • Logic Apps are so expensive!!

    I started writing EnfieldTownBot using Azure Logic Apps. It’s pretty easy, but i soon hit a challenge – it’s so expensive! My app was pretty simple – a trigger, a “for…each”, a condition and a http callout to my Twitter Poster Function App: So – if there are no delays, that’s (recurrence + httprequest + foreach + 3 x…

  • BMW API now requires location, no bypass available

    Earlier this year, we got a new car, a BMW 3 series. It came subscribed to the BMW ConnectedDrive service, and that comes with an iPhone or Android app. So, of course, I immediately set about deconstructing the traffic to figure out what was going on, inspired by the work of Terence Eden. Unfortunately, BMW appears…