[Bug]: Library keeps restoring settings to an older version #1922

Closed
opened 2026-04-25 00:01:24 +02:00 by adam · 4 comments
Owner

Originally created by @C0rn3j on GitHub (Apr 30, 2024).

Describe the issue

Wrong state(I already corrected the folder here from /opt/audiobooks, that changes too):

image

State I keep trying to set it to:

image

This is about the third time it has happened.

If I had to suspect something, it would be the backup(???) routine

[2024-04-30 11:00:01.005] ERROR: 
[fileUtils] Failed to getFileTimestampsWithIno for path "/opt/audiobooks/opt/ebooks/Audio" 
[Error: ENOENT: no such file or directory, stat '/opt/audiobooks/opt/ebooks/Audio'] {

/opt/audiobooks is a symlink to /opt/ebooks/Audio by ln -s ebooks/Audio/ audiobooks

Steps to reproduce the issue

Unsure about repro, seems to happen over a longer period of time.

Audiobookshelf version

v2.9.0, Arch Linux

How are you running audiobookshelf?

Other

Originally created by @C0rn3j on GitHub (Apr 30, 2024). ### Describe the issue Wrong state(I already corrected the folder here from `/opt/audiobooks`, that changes too): ![image](https://github.com/advplyr/audiobookshelf/assets/1641362/851fbee9-255d-4189-99d5-0d097ef69f02) State I keep trying to set it to: ![image](https://github.com/advplyr/audiobookshelf/assets/1641362/a58f5cf0-dce3-490b-a68e-ab721db2e319) This is about the third time it has happened. If I had to suspect something, it would be the backup(???) routine ```yaml [2024-04-30 11:00:01.005] ERROR: [fileUtils] Failed to getFileTimestampsWithIno for path "/opt/audiobooks/opt/ebooks/Audio" [Error: ENOENT: no such file or directory, stat '/opt/audiobooks/opt/ebooks/Audio'] { ``` `/opt/audiobooks` is a symlink to `/opt/ebooks/Audio` by `ln -s ebooks/Audio/ audiobooks` ### Steps to reproduce the issue Unsure about repro, seems to happen over a longer period of time. ### Audiobookshelf version v2.9.0, Arch Linux ### How are you running audiobookshelf? Other
adam added the bug label 2026-04-25 00:01:24 +02:00
adam closed this issue 2026-04-25 00:01:25 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 30, 2024):

I'm not sure who manages the arch linux package for Abs so hopefully this isn't an issue with that.
You should check that the sqlite database is in your /config folder wherever that is mapped. If you can open up the sqlite db there is a libraries table you can make sure that your path is being saved.

@advplyr commented on GitHub (Apr 30, 2024): I'm not sure who manages the arch linux package for Abs so hopefully this isn't an issue with that. You should check that the sqlite database is in your `/config` folder wherever that is mapped. If you can open up the sqlite db there is a libraries table you can make sure that your path is being saved.
Author
Owner

@C0rn3j commented on GitHub (May 1, 2024):

It's a user package on AUR - https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=audiobookshelf

ends up with this config

METADATA_PATH=/var/lib/audiobookshelf/metadata
CONFIG_PATH=/var/lib/audiobookshelf/config
FFMPEG_PATH=/usr/bin/ffmpeg
FFPROBE_PATH=/usr/bin/ffprobe
TONE_PATH=/usr/bin/tone
PORT=13378
HOST=0.0.0.0

Now it has saved my changes but not my icon change, so the icon keeps reverting (which is infinitely less annoying than having my entire library break every few hours) - how exactly can I check the sqlite db for this?

I figure I can just sqlite3 absdatabase.sqlite .dump dump it, but unsure what to look for

@C0rn3j commented on GitHub (May 1, 2024): It's a user package on AUR - https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=audiobookshelf ends up with this config ``` METADATA_PATH=/var/lib/audiobookshelf/metadata CONFIG_PATH=/var/lib/audiobookshelf/config FFMPEG_PATH=/usr/bin/ffmpeg FFPROBE_PATH=/usr/bin/ffprobe TONE_PATH=/usr/bin/tone PORT=13378 HOST=0.0.0.0 ``` Now it has saved my changes but not my icon change, so the icon keeps reverting (which is infinitely less annoying than having my entire library break every few hours) - how exactly can I check the sqlite db for this? I figure I can just `sqlite3 absdatabase.sqlite .dump` dump it, but unsure what to look for
Author
Owner

@advplyr commented on GitHub (May 3, 2024):

There is a libraries table in the db. If you don't have a visual editor you can use a free one online and upload your sqlite file.

@advplyr commented on GitHub (May 3, 2024): There is a libraries table in the db. If you don't have a visual editor you can use a free one online and upload your sqlite file.
Author
Owner

@advplyr commented on GitHub (Jun 21, 2024):

This bug was found and will be fixed in the next release. The issue for this is #3079

@advplyr commented on GitHub (Jun 21, 2024): This bug was found and will be fixed in the next release. The issue for this is #3079
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1922