“Why isn’t my Docker bind mounted file updating from host to container when I make changes with vim?”

The inodes have it When setting up the TIG stack, I saw that Telegraf has an option to reload its configuration from telegraf.conf, which it does on receiving a SIGHUP signal. Since in Docker, it gets pid 1, reloading config is easy: docker exec -it telegraf /bin/kill -HUP 1 Which worked well. At least until […]

Continue Reading

[workaround] ImportError: libffi.so.7: cannot open shared object file: No such file or directory

Too advanced tl;dr: if you have issues and can’t update, you can install the libffi7 package as a temporary workaround After a recent Arch update, python packages / applications using ctypes, such as yt-dlp, were throwing an error: ImportError: libffi.so.7: cannot open shared object file: No such file or directory or more fully: (you may […]

Continue Reading

PSA: apt / gpg issue – The following signatures couldn’t be verified because the public key is not available

Not a key?! Context Bob from Root Access ran into this annoyance while installing pixiecore by Dave Anderson, a tool for making PXE (network) booting a cinch. Problem He grabbed the pubkey via curl -L https://packagecloud.io/danderson/pixiecore/gpgkey, saved the output to a file at /usr/share/keyrings/pixiecore-archive-keyring.gpg, and told apt about both the repo and the pubkey: deb […]

Continue Reading

“Unsupported sample-rate”: Logitech Media Server Won’t Play Some Files with SB Player

Muh musics! tl;dr: If you’ve got a music file that you (say) downloaded from YouTube via youtube-dl (for example) and it won’t play in Logitech Media Server, check the sample rate- you may need to convert it to 44.1kHz. This only happens with some players! (eg SB Player) Background I use Logitech Media Server (aka […]

Continue Reading

Transcribing A Video’s Audio Using Google Cloud Text-to-Speech

Navigating a series of pitfalls Background: I created a highlights video recently for the monthly subscriber crown that I run. I figured the highlights video itself was worth posting, but I like to have the speech captioned. I’ve previously written a small script to generate the appropriate transparent PNGs for overlaying, but that was for […]

Continue Reading

ffmpeg: error while loading shared libraries: libavdevice.so.59: cannot open shared object file: No such file or directory

tl;dr: read the compile guide, and set a PREFIX and / or LD_LIBRARY_PATH I did something I don’t normally do and compiled ffmpeg today, since the ffmpeg-user mailing list requires/strongly prefers/only supports current git head. I was doing this as I had some broken AVI files and wondered if they were salvageable: Since it’s been […]

Continue Reading

Proxmox snapshots: “The current guest configuration does not support taking new snapshots”

Let me snapshot tl;dr: This can happen if you use a storage mechanism that doesn’t support snapshots (see here for more information). However, it seems it can *also* happen if you use external mountpoints. I ran into the issue when trying out a script that backs up proxmox to a borg repository. I checked that […]

Continue Reading