Bug: Unable to Reset Database #29

Closed
opened 2026-04-24 22:56:44 +02:00 by adam · 2 comments
Owner

Originally created by @Budlyte on GitHub (Sep 22, 2021).

I finally have things in a good place, thanks to figuring out LL, so tried to reset the library.

[2021-09-22T02:26:29.692Z] INFO: Removing all Audiobooks
[2021-09-22T02:26:29.699Z] ERROR: [DB] Failed to drop audiobook db [Error: ENOTEMPTY: directory not empty, rmdir '/config/audiobooks/tmp'] {

errno: -39,
code: 'ENOTEMPTY',
syscall: 'rmdir',
path: '/config/audiobooks/tmp'
}
[2021-09-22T02:26:37.940Z] INFO: Removing all Audiobooks
[2021-09-22T02:26:37.941Z] ERROR: [DB] Failed to drop audiobook db [Error: ENOENT: no such file or directory, lstat '/config/audiobooks/data'] {

errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/config/audiobooks/data'

Originally created by @Budlyte on GitHub (Sep 22, 2021). I finally have things in a good place, thanks to figuring out LL, so tried to reset the library. [2021-09-22T02:26:29.692Z] INFO: Removing all Audiobooks [2021-09-22T02:26:29.699Z] ERROR: [DB] Failed to drop audiobook db [Error: ENOTEMPTY: directory not empty, rmdir '/config/audiobooks/tmp'] { errno: -39, code: 'ENOTEMPTY', syscall: 'rmdir', path: '/config/audiobooks/tmp' } [2021-09-22T02:26:37.940Z] INFO: Removing all Audiobooks [2021-09-22T02:26:37.941Z] ERROR: [DB] Failed to drop audiobook db [Error: ENOENT: no such file or directory, lstat '/config/audiobooks/data'] { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/config/audiobooks/data'
adam closed this issue 2026-04-24 22:56:44 +02:00
Author
Owner

@advplyr commented on GitHub (Sep 22, 2021):

It looks like it worked, the second error is saying the audiobook db is not there anymore. I've seen the first error a few times, I just haven't been able to replicate it to find the issue.

What is LL?

@advplyr commented on GitHub (Sep 22, 2021): It looks like it worked, the second error is saying the audiobook db is not there anymore. I've seen the first error a few times, I just haven't been able to replicate it to find the issue. What is LL?
Author
Owner

@Budlyte commented on GitHub (Sep 22, 2021):

Maybe it did, I ended up deleting the .tmp file in audiobooks and restarted the container so never actually seen the home page to check.

LL is Lazy Librarian.

We need a Discord channel. Haha

*Update, I'll close this then. When I get a chance I'll spin up another container and try it again.

@Budlyte commented on GitHub (Sep 22, 2021): Maybe it did, I ended up deleting the .tmp file in audiobooks and restarted the container so never actually seen the home page to check. LL is Lazy Librarian. We need a Discord channel. Haha *Update, I'll close this then. When I get a chance I'll spin up another container and try it again.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#29