ads' corner

Remove files from a restic backup (using resticprofile)

Sometimes files end up in a backup where they don't belong. It happens. While I'm a big advocate of having backups, sometimes entries need to be removed from a backup. This is easy to do in Restic, using resticprofile.

Arch Linux: mount: unknown filesystem type 'exfat'

A short while ago I moved a couple of laptops from Ubuntu to Manjaro. It's all going well, except today the kid came to me and told me: 'Can't open the SDcard from my camera. It's not working.' Don't you like it when all you get is 'it doesn't work'? Usually such a message by itself is not helpful, but in this case that was all he was able to tell me. Checked and indeed, when the card reader is attached, KDE pops up a notification, and the 'mount and open' option does nothing when clicked on the drive.

warning: btree:/var/lib/postfix/smtp_scache is unavailable. unsupported dictionary type: btree

Upgraded a server, and along the way the Postfix version was also upgraded. Suddenly there is a warning in the logfile: 'warning: btree:/var/lib/postfix/smtp_scache is unavailable. unsupported dictionary type: btree'. Turns out that is easy to fix.

DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)

One of my older Python scripts is throwing a deprecation warning in the 'datetime' module after the recent switch from Ubuntu to Manjaro. The Python version is '3.12.4' now, previously it was '3.11.4'.

Obsidian Meeting template with time adjustment

My previously used meeting template for Obsidian used the current date and time for the filename. I rarely start Obsidian right when the meeting starts, usually I'm early and prepare the meeting. This results in filenames like '2024-08-02 13:52 important meeting'. I want this aligned to when the meeting starts, '2024-08-02 14:00 important meeting'.

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.