[Bug]: Edits made to author's names aren't saved #2045

Closed
opened 2026-04-25 00:02:53 +02:00 by adam · 9 comments
Owner

Originally created by @ReaderGuy42 on GitHub (Jun 10, 2024).

What happened?

I have several authors in my library where there were errors in the names,

e.g. some books are attributed to John Douglas and some to John E. Douglas, so I get a duplicate author. So far it's fine, since it's just a middle initial, but to make him more identifiable, I change the first author to have the initial as well, and it correctly merges the authors. Good.

However, it seems that if I remove and then add the docker image, e.g. after an update, or I just moved to a different device just now, the changes are reverted to the incorrect state again.

I've corrected these errors several times, and I don't know why it doesn't save the changes.

I've used ls -l to see owner, etc. of my metadata directory, and I see that the authors folder hasn't been changed since April 23rd, which is weird since I've just been editing things. I don't know if this is helpful though. The only thing it's showing as having changed is tmp

Also this issue predates when I just changed the owner. I just did that today but I've been having the repeating errors for a few months.

What did you expect to happen?

I would like the changes I make to authors or books to be saved.
I'm not sure it was correct to change the user away from root? If so how do I reverse that so audiobookshelf can access the files again?

Steps to reproduce the issue

  1. See wrong author name
  2. correct author name
  3. reload audiobookshelf (e.g. after update)
  4. author name back to being wrong

Audiobookshelf version

2.10.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

No response

Additional Notes

No response

Originally created by @ReaderGuy42 on GitHub (Jun 10, 2024). ### What happened? I have several authors in my library where there were errors in the names, e.g. some books are attributed to `John Douglas` and some to `John E. Douglas`, so I get a duplicate author. So far it's fine, since it's just a middle initial, but to make him more identifiable, I change the first author to have the initial as well, and it correctly merges the authors. Good. However, it seems that if I remove and then add the docker image, e.g. after an update, or I just moved to a different device just now, the changes are reverted to the incorrect state again. I've corrected these errors several times, and I don't know why it doesn't save the changes. I've used `ls -l` to see owner, etc. of my `metadata` directory, and I see that the `authors` folder hasn't been changed since April 23rd, which is weird since I've just been editing things. I don't know if this is helpful though. The only thing it's showing as having changed is `tmp` Also this issue predates when I just changed the owner. I just did that today but I've been having the repeating errors for a few months. ### What did you expect to happen? I would like the changes I make to authors or books to be saved. I'm not sure it was correct to change the user away from root? If so how do I reverse that so audiobookshelf can access the files again? ### Steps to reproduce the issue 1. See wrong author name 2. correct author name 3. reload audiobookshelf (e.g. after update) 4. author name back to being wrong ### Audiobookshelf version 2.10.1 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs _No response_ ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:02:53 +02:00
adam closed this issue 2026-04-25 00:02:54 +02:00
Author
Owner

@nichwall commented on GitHub (Jun 10, 2024):

Sounds like the /metadata mount is not set up correctly. Does other metadata update and persist correctly? If so, are you using "store metadata/cover with item" settings?

@nichwall commented on GitHub (Jun 10, 2024): Sounds like the `/metadata` mount is not set up correctly. Does other metadata update and persist correctly? If so, are you using "store metadata/cover with item" settings?
Author
Owner

@ReaderGuy42 commented on GitHub (Jun 10, 2024):

I do have that setting on. And you're right, the metadata.json file in the book folder isn't being changed! So that's the problem. Do you know how to solve that?

@ReaderGuy42 commented on GitHub (Jun 10, 2024): I do have that setting on. And you're right, the metadata.json file in the book folder isn't being changed! So that's the problem. Do you know how to solve that?
Author
Owner

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

Can you share your settings?
image

@advplyr commented on GitHub (Jun 12, 2024): Can you share your settings? ![image](https://github.com/advplyr/audiobookshelf/assets/67830747/ee4629ff-1678-4962-a338-fab91949fc08)
Author
Owner

@ReaderGuy42 commented on GitHub (Jun 13, 2024):

image

@ReaderGuy42 commented on GitHub (Jun 13, 2024): ![image](https://github.com/advplyr/audiobookshelf/assets/71895400/d84118b8-95af-4bf8-acf3-8ada84bd6745)
Author
Owner

@ReaderGuy42 commented on GitHub (Jun 26, 2024):

Do you have any suggestions on what to try to change something?

@ReaderGuy42 commented on GitHub (Jun 26, 2024): Do you have any suggestions on what to try to change something?
Author
Owner

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

I would suggest checking the logs to see if you are getting permissions errors.

@advplyr commented on GitHub (Jun 26, 2024): I would suggest checking the logs to see if you are getting permissions errors.
Author
Owner

@ReaderGuy42 commented on GitHub (Jun 27, 2024):

Nothing shows up, even after making an edit:
Screenshot from 2024-06-27 16-37-18
Screenshot from 2024-06-27 16-41-00

The last entry in Info or Debug is 2 hours ago

@ReaderGuy42 commented on GitHub (Jun 27, 2024): Nothing shows up, even after making an edit: ![Screenshot from 2024-06-27 16-37-18](https://github.com/advplyr/audiobookshelf/assets/71895400/28fdc203-01a2-46c8-ad70-2382d1fd111c) ![Screenshot from 2024-06-27 16-41-00](https://github.com/advplyr/audiobookshelf/assets/71895400/fa2ec725-9efa-46eb-9bff-0cc0c9d212f5) The last entry in Info or Debug is 2 hours ago
Author
Owner

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

I found the issue. If you want to try it out before the next release you can use the edge docker image.

@advplyr commented on GitHub (Jun 27, 2024): I found the issue. If you want to try it out before the next release you can use the `edge` docker image.
Author
Owner

@advplyr commented on GitHub (Jul 9, 2024):

Fixed in v2.11.0

@advplyr commented on GitHub (Jul 9, 2024): Fixed in [v2.11.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.11.0)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2045