
{
    "version": "https://jsonfeed.org/version/1.1",
    "title": "Problem on jtagcat's tail (formerly tail.jtag.cat)",
    "home_page_url": "https://tail.c7.ee/tags/problem/",
    "feed_url": "https://tail.c7.ee/tags/problem/feed.json",
    "items": [
        {
            "id": "https://tail.c7.ee/nextcloud-android-error-downloading-opening/",
            "url": "https://tail.c7.ee/nextcloud-android-error-downloading-opening/",
            "date_published": "2026-06-16T00:00:00Z",
            "title": "Nextcloud Android: Error occurred while downloading file",
            "content_html": "\u003cp\u003eSymptoms: Nothing can be downloaded, opened, shared.\u003c/p\u003e\n\u003cimg src=\"notif.png\" alt=\"Nextcloud notifications: Error downloading file, exporting 1 file failed\" style=\"max-width:100%;\"\u003e\n\n\u003cp\u003ePossible cause: Android removing unused permissions\u003c/p\u003e\n\u003cp\u003eRecovering:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003eNextcloud → Hamburger Menu → Settings\u003c/li\u003e\n\u003cli\u003e\u003cimg src=\"access_files.png\" alt=\"Access all files\" style=\"max-width:100%;\"\u003e\n\u003c/li\u003e\n\u003cli\u003e(this may not be needed) \u003cimg src=\"general.png\" alt=\"Storage location\" style=\"max-width:100%;\"\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n"
        }, 
        {
            "id": "https://tail.c7.ee/pitchy-vlc/",
            "url": "https://tail.c7.ee/pitchy-vlc/",
            "date_published": "2023-08-28T00:00:00Z",
            "title": "VLC pitch-shifting wasn't my imagination!",
            "content_html": "\u003cp\u003eAt first, I thought I was going crazy, but time and time again I heard it, and it made me sick every single time.\u003c/p\u003e\n\u003cp\u003eTW: Imperfect Pitch\u003c/p\u003e\n\u003cp\u003e\u003caudio src=\"vlcfail.mp3\" controls title=\"Outtake from XIII Youth Dance Celebration\"\u003e\u003c/audio\u003e\n\n\u003caudio src=\"vlcfail2.mp3\" controls title=\"Outtake from XIII Youth Song Celebration\"\u003e\u003c/audio\u003e\n\u003c/p\u003e\n\u003cp\u003eAround the 4-5th second of the audio samples, the pitch returns to normal. This is an effort by VLC to keep the audio and video in sync when its cache runs out (often when scrubbing).\u003c/p\u003e\n\u003cp\u003eI\u0026rsquo;d rather have the audio drop out than shift temporarily. The shifted audio always sounds off, and the change (switch to cache) is noticeable.\u003c/p\u003e\n\u003cp\u003eOn many occasions, I tried changing all relevant settings in VLC, but without success. The Internet pointed to resampling, and posts where VLC maintainers stated that VLC is exclusively for streaming media, and the issue is intended / wontfix.\u003c/p\u003e\n\u003cp\u003eVLC used to be my de facto app for decades to open any video or audio file, and it still is what I recommend to people for the universal media player.\u003c/p\u003e\n\u003cp\u003eA few months ago, I replaced it with \u003ca href=\"https://github.com/mpv-player/mpv\"\u003empv\u003c/a\u003e while searching for a no-nonsense ephemeral player\u003csup id=\"fnref:1\"\u003e\u003ca href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\"\u003e1\u003c/a\u003e\u003c/sup\u003e. I can say that I\u0026rsquo;ve settled. The keyboard shortcuts took some time to get used to.\u003c/p\u003e\n\u003cp\u003eSince I didn\u0026rsquo;t bother spending time on changing them, I chose to stick with the defaults, even though mpv is fully configurable. I suggest reading the manpages for mpv.\u003c/p\u003e\n\u003cp\u003eThe only questionable default I found was \u003ccode\u003ehwdec=no\u003c/code\u003e, which I changed to \u003ccode\u003ehwdec=auto-safe\u003c/code\u003e. One thing I miss is how VLC manages reusing multiple windows, including the ability to drag and drop into existing windows. Switching between mpv and \u003ca href=\"https://github.com/mpv-player/mpv/blob/master/TOOLS/umpv\"\u003eumpv\u003c/a\u003e offers a remedy but isn\u0026rsquo;t perfect.\u003c/p\u003e\n\u003cp\u003eWhen scrubbing to any position in a 20-hour file, I would say mpv syncs instantly. Changing the audio channel adds a few hundred milliseconds of delay, which is acceptable for me.\u003c/p\u003e\n\u003cdiv class=\"footnotes\" role=\"doc-endnotes\"\u003e\n\u003chr\u003e\n\u003col\u003e\n\u003cli id=\"fn:1\"\u003e\n\u003cp\u003eBut not overly minimal, like some hardcore i3 maniacs like it.\u003csup id=\"fnref:2\"\u003e\u003ca href=\"#fn:2\" class=\"footnote-ref\" role=\"doc-noteref\"\u003e2\u003c/a\u003e\u003c/sup\u003e\u0026#160;\u003ca href=\"#fnref:1\" class=\"footnote-backref\" role=\"doc-backlink\"\u003e\u0026#x21a9;\u0026#xfe0e;\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli id=\"fn:2\"\u003e\n\u003cp\u003eThough, I do live on Sway.\u0026#160;\u003ca href=\"#fnref:2\" class=\"footnote-backref\" role=\"doc-backlink\"\u003e\u0026#x21a9;\u0026#xfe0e;\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003c/div\u003e\n"
        }, 
        {
            "id": "https://tail.c7.ee/arch-boot-recovery/",
            "url": "https://tail.c7.ee/arch-boot-recovery/",
            "date_published": "2023-06-08T00:00:00Z",
            "title": "Arch boot recovery",
            "content_html": "\u003cp\u003eI upgraded both identical laptops. One I took with me, and it worked without any problems. Today I was puzzled to find the second machine unable to boot.\u003c/p\u003e\n\u003cpre tabindex=\"0\"\u003e\u003ccode\u003e...\nWaiting 10 seconds for device [...]\nERROR: mounting \u0026#39;/dev/mapper/luksdev\u0026#39; on real root\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eGRUB dropped the computer to emergency shell, but it wasn\u0026rsquo;t helpful. The keyboard didn\u0026rsquo;t work, including Ctrl-Alt-Del. Time for data recovery (faster than downloading the backup) from a live boot, a half-scripted reinstall, and recovering the files (~2-3h total).\u003c/p\u003e\n\u003cp\u003eI was not asked for the disk encryption password — the partition couldn\u0026rsquo;t be unlocked. GRUB trying to mount from \u003ccode\u003e/dev/mapper/\u003c/code\u003e smelled something wrong with LUKS.\u003c/p\u003e\n\u003cp\u003eWith a dysfunctional emergency shell, I tried booting from a different entry, without luck. I grabbed my keyring with USB drives. The one which is supposed to have Fedora on it booted to Arch instead.\u003c/p\u003e\n\u003cp\u003eWith the pain of the reinstallation sinking time, I thought if maybe, this time, I could recover the system successfully. Could the boot environment be fixed without any serious GRUB magician skills?\u003c/p\u003e\n\u003cp\u003eHaving already searched the web for the errors, I gave a few commands a try in the emergency shell. Just chroot in, and go:\u003c/p\u003e\n\u003cpre tabindex=\"0\"\u003e\u003ccode\u003e# lsblk\n...\nnvme0n1     259:0    0  1.8T  0 disk\n├─nvme0n1p1 259:1    0  511M  0 part\n└─nvme0n1p2 259:2    0  1.8T  0 part\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eJudging by the size, the first one is boot, and the second root.\u003c/p\u003e\n\u003cpre tabindex=\"0\"\u003e\u003ccode\u003e# cryptsetup luksOpen /dev/nvme0n1p2 main\n# mount /dev/mapper/main /mnt\n# mount /dev/nvme0n1p1 /mnt/boot\nmount: boot: mount point does not exist.\n# mkdir /mnt/boot\n# mount /dev/nvme0n1p1 /mnt/boot\n# ls /mnt\nboot @ @home @log @pkg @.snapshots\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eI forgot to specify the Btrfs subvolume…\u003c/p\u003e\n\u003cpre tabindex=\"0\"\u003e\u003ccode\u003e# umount /mnt/boot\n# rm -d /mnt/boot\n# umount /mnt\n^R main\n# mount /dev/mapper/main -o subvolume=@ /mnt\n# ls /mnt\nbin boot dev etc f home lib lib64 mnt opt proc r root run sbin srv sys tmp usr var\n^R mnt/boot\n# mount /dev/nvme0n1p1 /mnt/boot\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eMaybe I could fix this easier. I recall not reading the output for updates on the failing laptop. Maybe something went wrong.\u003c/p\u003e\n\u003cpre tabindex=\"0\"\u003e\u003ccode\u003e# iwctl station wlan0 scan\n# iwctl station wlan0 connect \u0026#39;...\u0026#39;\n# arch-chroot /mnt\n# pacman -Syu\n* mkinitpcio stuff, the slowest part in upgrades *\n#\n^D\n# reboot\n\u003c/code\u003e\u003c/pre\u003e\u003cp\u003eIt has been a few days since I last updated — simply updating again should rebuild the boot environment anyway. The logs agreed with me.\u003c/p\u003e\n\u003cp\u003eWith a naive solution, the laptop booted normally after the upgrade. If there wasn\u0026rsquo;t an upgrade, I could\u0026rsquo;ve tried reinstalling the kernel package.\u003c/p\u003e\n"
        }
    ]
    
}
