[Bug]: WARN: [LibraryItemController] User attempted to update without permission User #274

Closed
opened 2026-04-24 23:02:56 +02:00 by adam · 13 comments
Owner

Originally created by @VladoPortos on GitHub (Apr 21, 2022).

Describe the issue

Updated to docker version 2.0.0 and can't play any book. Its just spinning the green play button. In log there is a message:

WARN: [LibraryItemController] User attempted to update without permission User ...

Downgrading back resulted in loss of all statistic and progress.

Steps to reproduce the issue

  1. Update from 1.7.2 to 2.0.0

Audiobookshelf version

v2.0.0

How are you running audiobookshelf?

Docker

Originally created by @VladoPortos on GitHub (Apr 21, 2022). ### Describe the issue Updated to docker version 2.0.0 and can't play any book. Its just spinning the green play button. In log there is a message: `WARN: [LibraryItemController] User attempted to update without permission User ...` Downgrading back resulted in loss of all statistic and progress. ### Steps to reproduce the issue 1. Update from 1.7.2 to 2.0.0 ### Audiobookshelf version v2.0.0 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:02:56 +02:00
adam closed this issue 2026-04-24 23:02:56 +02:00
Author
Owner

@szemlicka commented on GitHub (Apr 21, 2022):

Hi, I made that update too but I have no problem with playing books. I try it with the root user.

@szemlicka commented on GitHub (Apr 21, 2022): Hi, I made that update too but I have no problem with playing books. I try it with the root user.
Author
Owner

@VladoPortos commented on GitHub (Apr 21, 2022):

@szemlicka ah yes, I should have mentioned it. I used root user ( username is vladoportos, but its a root user. )

@VladoPortos commented on GitHub (Apr 21, 2022): @szemlicka ah yes, I should have mentioned it. I used root user ( username is vladoportos, but its a root user. )
Author
Owner

@advplyr commented on GitHub (Apr 21, 2022):

Can you play any media? What about if you create another user, can that user play anything?

@advplyr commented on GitHub (Apr 21, 2022): Can you play any media? What about if you create another user, can that user play anything?
Author
Owner

@VladoPortos commented on GitHub (Apr 21, 2022):

@advplyr I'll test

@VladoPortos commented on GitHub (Apr 21, 2022): @advplyr I'll test
Author
Owner

@VladoPortos commented on GitHub (Apr 21, 2022):

@advplyr hmm something is wrong with the users, my root password stopped working and after update my user is back to be user account. Is there a way to reset root password and remove all other users ( I don't care about the progress or stats at this point )

@VladoPortos commented on GitHub (Apr 21, 2022): @advplyr hmm something is wrong with the users, my root password stopped working and after update my user is back to be user account. Is there a way to reset root password and remove all other users ( I don't care about the progress or stats at this point )
Author
Owner

@VladoPortos commented on GitHub (Apr 21, 2022):

Managed to get root account back, and users is empty... the files with users are there, and I can log in, but they are not in Users in menu.

@VladoPortos commented on GitHub (Apr 21, 2022): Managed to get root account back, and users is empty... the files with users are there, and I can log in, but they are not in Users in menu.
Author
Owner

@advplyr commented on GitHub (Apr 21, 2022):

Sounds like something got messed up with the users data. Best bet is to shut down the server and delete the entire folder /config/users. That will recreate the root user. You will lose all progress though.

@advplyr commented on GitHub (Apr 21, 2022): Sounds like something got messed up with the users data. Best bet is to shut down the server and delete the entire folder /config/users. That will recreate the root user. You will lose all progress though.
Author
Owner

@VladoPortos commented on GitHub (Apr 21, 2022):

Ok, so I removed the users folder, recreated users. But still the same issue, root user can now play everything just fine, but other users gets: WARN: [LibraryItemController] User attempted to update without permission User and can't play any audio book.

@VladoPortos commented on GitHub (Apr 21, 2022): Ok, so I removed the users folder, recreated users. But still the same issue, root user can now play everything just fine, but other users gets: `WARN: [LibraryItemController] User attempted to update without permission User ` and can't play any audio book.
Author
Owner

@advplyr commented on GitHub (Apr 21, 2022):

Just confirmed this is a bug. Will fix now

@advplyr commented on GitHub (Apr 21, 2022): Just confirmed this is a bug. Will fix now
Author
Owner

@VladoPortos commented on GitHub (Apr 21, 2022):

Looks like its permissions related, I need to enable "can update" for the user to be able to play the books under that user.

@VladoPortos commented on GitHub (Apr 21, 2022): Looks like its permissions related, I need to enable "can update" for the user to be able to play the books under that user.
Author
Owner

@advplyr commented on GitHub (Apr 21, 2022):

Deploying a patch now

@advplyr commented on GitHub (Apr 21, 2022): Deploying a patch now
Author
Owner

@advplyr commented on GitHub (Apr 21, 2022):

Patch has been pushed. Let me know how it goes.

@advplyr commented on GitHub (Apr 21, 2022): Patch has been pushed. Let me know how it goes.
Author
Owner

@VladoPortos commented on GitHub (Apr 21, 2022):

@advplyr works perfectly now :) thanks for superfast update.

@VladoPortos commented on GitHub (Apr 21, 2022): @advplyr works perfectly now :) thanks for superfast update.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#274