ads' corner

Can't login into Spotify on Arch Linux or Manjaro: no browser window is opened

Installed the AUR Spotify client on my new Manjaro Linux system, started the app, tried to login - nothing happens. It is supposed to open a browser window where I enter my credentials, but that does not work.

Ansible: debug: invalid or malformed argument: 'your text here'

Ansible raises the error 'invalid or malformed argument', but the problem is in the code.

Avoid empty linebreaks in Daily Notes Lists in Obsidian

In my Daily Notes in ObsidianMD I want to add entries on certain weekdays. However this added empty lines in-between. Figuring out what is going on in the Template takes some time and effort.

Samba: guest login not working for public shares

Our laptops all have a semi-public Samba share which allows us to share files with each other. After upgrading the laptops from Ubuntu to Manjaro, this stopped working. Was no longer able to connect to the share as anonymous user.

badblocks: Value too large for defined data type invalid end block (4394573824): must be 32-bit value

Bought a new large external disk as data sink for my server at home. The disk is 18TB and after the previous purchase had a hardware problem I wanted to make sure that this one is working. Created a partition, formatted it with ext4 and let's run a badblocks check on it. That failed, badblocks can't handle Big Data.

Ansible Handler: respond to multiple different Notifications simultaneously

Ansible has a concept of handlers, which run at the end of a Playbook, when something changed. In certain situations it might be desired or necessary to have a handler listen to more than one signal name. In my example: I'm updating the Samba configuration, and before restarting smbd or nmbd I want to check the configuration. This configuration check handler must listen to both restart signals.

How to determine the mount point for a device on Linux

While reinstalling a server and moving it to Debian, I ran into the problem that I need to sync the EFI partitions. The system is using a RAID on two disks, but the EFI partitions can't be a RAID and need to exist on both disks. Or rather it is useful to have the EFI partition on every disk: if one disk fails, the system can boot from the other disk. grub only installs the necessary files on one partition. However one can use a script as grub hook, and sync all partitions. This script needs to determine if a device is already mounted somewhere, or needs to be mounted. Turns out there is a little and not well-known tool for this.

Install Debian Bookworm on a Software RAID and EFI

Moving my systems away from Ubuntu, I also have to reinstall a server at home. This system has two equal disks for a RAID system, and my plan is to install Debian on it. Turns out, setting up a Software RAID on Debian and booting from EFI is not a straightforward approach. This blog posting describes the steps.

Understanding VACUUM, VACUUM template0, and Transaction ID Wraparound

PostgreSQL uses Multi-Version Concurrency Control (MVCC) to manage concurrent access to the database, and store each version of a tuple in a table. To keep the database efficient, PostgreSQL employs a cleanup process called VACUUM, which removes unnecessary tuples. This not only saves disk space and keeps the database size under control, it also prevents the dreaded 'Transaction ID Wraparound' issue. Regularly running VACUUM is crucial, including on the template0 database, which is normally handled by the Autovacuum daemon. However, sometimes manual intervention is necessary.

Obsidian Snap: version GLIBC_2.33 not found

Obsidian snap version was upgraded on my Ubuntu system - and stopped working. The whole promise of having a snap or containerized version of an app is to avoid dependency problems. That's a broken promise.