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.
Posted by ads' corner on Saturday, August 3, 2024
Ansible raises the error 'invalid or malformed argument', but the problem is in the code.
Posted by ads' corner on Friday, August 2, 2024
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.
Posted by ads' corner on Friday, August 2, 2024
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.
Posted by ads' corner on Thursday, August 1, 2024
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.
Posted by ads' corner on Wednesday, July 31, 2024
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.
Posted by ads' corner on Monday, July 29, 2024
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.
Posted by ads' corner on Friday, July 26, 2024
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.
Posted by ads' corner on Friday, July 19, 2024
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.
Posted by ads' corner on Wednesday, June 19, 2024
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.
Posted by ads' corner on Friday, June 7, 2024