[Bug]: Updating from 2.30 to 2.32.1 gives "status=237/KEYRING" #3166

Open
opened 2026-04-25 00:14:02 +02:00 by adam · 0 comments
Owner

Originally created by @bobloadmire on GitHub (Dec 31, 2025).

What happened?

installed on proxmox lxc via community script. running the update command to update from 2.30 to 2.32.1 now causes the service to fail with status=237/KEYRING. restoring backup to 2.30 works fine.

What did you expect to happen?

LXC to boot.

Steps to reproduce the issue

  1. update from 2.30 to 2.32.1. I have done this twice, same issue each time.

Audiobookshelf version

2.32.1

How are you running audiobookshelf?

Other (list in "Additional Notes" box)

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?

Other (list in "Additional Notes" box)

Logs

audiobookshelf.service: Failed to connect stdout to the journal socket, ignoring: Invalid argument
audiobookshelf.service: Failed to change UID for user keyring: Invalid argument
audiobookshelf.service: Failed to set up kernel keyring: Invalid argument
audiobookshelf.service: Failed at step KEYRING spawning /usr/share/audiobookshelf/audiobookshelf: Invalid argument
audiobookshelf systemd[1]: audiobookshelf.service: Main process exited, code=exited, status=237/KEYRING
audiobookshelf systemd[1]: Failed to start audiobookshelf.service - Self-hosted audiobook server for managing and playing audiobooks.

Additional Notes

Troubleshooting Steps Taken:
Manual Execution Works: Verified that running the binary manually works perfectly, confirming the issue is strictly within the Service Manager configuration: sudo -u audiobookshelf /usr/share/audiobookshelf/audiobookshelf --config /config --metadata /metadata -> Success (App starts).

Proxmox Feature Flags: Attempted enabling features: keyctl=1,nesting=1 in the LXC config. Result: Failure (Invalid argument persists).

AppArmor: Attempted lxc.apparmor.profile: unconfined. Result: Failure (Error persists).

Originally created by @bobloadmire on GitHub (Dec 31, 2025). ### What happened? installed on proxmox lxc via community script. running the update command to update from 2.30 to 2.32.1 now causes the service to fail with status=237/KEYRING. restoring backup to 2.30 works fine. ### What did you expect to happen? LXC to boot. ### Steps to reproduce the issue 1. update from 2.30 to 2.32.1. I have done this twice, same issue each time. ### Audiobookshelf version 2.32.1 ### How are you running audiobookshelf? Other (list in "Additional Notes" box) ### 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? Other (list in "Additional Notes" box) ### Logs ```shell audiobookshelf.service: Failed to connect stdout to the journal socket, ignoring: Invalid argument audiobookshelf.service: Failed to change UID for user keyring: Invalid argument audiobookshelf.service: Failed to set up kernel keyring: Invalid argument audiobookshelf.service: Failed at step KEYRING spawning /usr/share/audiobookshelf/audiobookshelf: Invalid argument audiobookshelf systemd[1]: audiobookshelf.service: Main process exited, code=exited, status=237/KEYRING audiobookshelf systemd[1]: Failed to start audiobookshelf.service - Self-hosted audiobook server for managing and playing audiobooks. ``` ### Additional Notes Troubleshooting Steps Taken: Manual Execution Works: Verified that running the binary manually works perfectly, confirming the issue is strictly within the Service Manager configuration: sudo -u audiobookshelf /usr/share/audiobookshelf/audiobookshelf --config /config --metadata /metadata -> Success (App starts). Proxmox Feature Flags: Attempted enabling features: keyctl=1,nesting=1 in the LXC config. Result: Failure (Invalid argument persists). AppArmor: Attempted lxc.apparmor.profile: unconfined. Result: Failure (Error persists).
adam added the bug label 2026-04-25 00:14:02 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3166