Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
C0rn3j opened this issue Apr 30, 2024 · 4 comments
Closed

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

C0rn3j opened this issue Apr 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@C0rn3j
Copy link

C0rn3j commented 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

@C0rn3j C0rn3j added the bug Something isn't working label Apr 30, 2024
@advplyr
Copy link
Owner

advplyr commented 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.

@C0rn3j
Copy link
Author

C0rn3j commented 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

@advplyr
Copy link
Owner

advplyr commented May 2, 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 advplyr added waiting Waiting for OP unable to reproduce Issue is not yet reproducible labels May 2, 2024
@advplyr advplyr closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
@advplyr advplyr removed waiting Waiting for OP unable to reproduce Issue is not yet reproducible labels May 20, 2024
advplyr added a commit that referenced this issue Jun 20, 2024
@advplyr
Copy link
Owner

advplyr commented Jun 20, 2024

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

nichwall pushed a commit to nichwall/audiobookshelf that referenced this issue Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants