mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-30 23:40:40 +02:00
[Bug]: debian apt update && apt upgrade causing full apt update failure due to error "useradd: user 'audiobookshelf' already exists" #1032
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @solajim on GitHub (Mar 19, 2023).
Describe the issue
The apt upgrade functionality in debian is failing due to audiobookshelf. It seems the service is trying to create a service account even though the service account already exists, and so encounters an error.
This causes the command to crash, leaving all other apt packages in a non-functional state.
Steps to reproduce the issue
Audiobookshelf version
v2.2.12
How are you running audiobookshelf?
Debian/PPA
@nichwall commented on GitHub (Nov 9, 2024):
Is this still an issue? The server is currently on version 2.16.2
@mnw700x commented on GitHub (Mar 3, 2025):
I've been stuck on this same problem since version 2.17.7 with Ubuntu 24.04 I've tried reinstalling it a few times but no luck. Since 2.17 keeps on working with the app I haven't been too frantic about it but I would like to upgrade eventually. Is this a packaging error or something? Figured I'd chime in since I was searching this exact error again today.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.2 LTS
Release: 24.04
Codename: noble
Node.js v20.11.1
@andycopypaste commented on GitHub (Mar 28, 2025):
@mnw700x I was having the same issue, stuck at v2.17.7. After a bunch of digging I ended up just needing to change a line in the sources file from "Enabled: no" to "Enabled: yes" and it updated.
The file should be at /etc/apt/sources.list.d/audiobookshelf.sources
@github-actions[bot] commented on GitHub (Dec 21, 2025):
Fixed in v2.32.0.