[GH-ISSUE #2242] BUG Cannot install if user "karakeep" exist #1366

Closed
opened 2026-03-02 11:56:48 +03:00 by kerem · 0 comments
Owner

Originally created by @Saentist on GitHub (Dec 10, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2242

Describe the Bug

Funny bug, but no where in install script there is a check if user karakeep already exist.
Install failed with message

Karakeep installation for Debian 12/Ubuntu 24.04


▸▹▹▹▹  Installing dependencies...
Done ✔ Installed dependencies
▹▹▹▹▸  Installing Node.js...
Done ✔ Installed Node.js
▹▹▹▹▹  Installing Karakeep, please wait...
Done ✔ Installed Karakeep
▹▹▹▹▹  Creating configuration files...
Done ✔ Configuration complete
▸▹▹▹▹useradd: user 'karakeep' already existsons...
Caught error in line 276: exit code 9: while executing useradd -U -s /usr/sbin/nologin -r -M -d "$INSTALL_DIR" karakeep

Steps to Reproduce

Create user karakeep before installation start.

Expected Behaviour

Check and make error/ information message.

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

any

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @Saentist on GitHub (Dec 10, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2242 ### Describe the Bug Funny bug, but no where in install script there is a check if user `karakeep` already exist. Install failed with message ```shell Karakeep installation for Debian 12/Ubuntu 24.04 ▸▹▹▹▹ Installing dependencies... Done ✔ Installed dependencies ▹▹▹▹▸ Installing Node.js... Done ✔ Installed Node.js ▹▹▹▹▹ Installing Karakeep, please wait... Done ✔ Installed Karakeep ▹▹▹▹▹ Creating configuration files... Done ✔ Configuration complete ▸▹▹▹▹useradd: user 'karakeep' already existsons... Caught error in line 276: exit code 9: while executing useradd -U -s /usr/sbin/nologin -r -M -d "$INSTALL_DIR" karakeep ``` ### Steps to Reproduce Create user `karakeep` before installation start. ### Expected Behaviour Check and make error/ information message. ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Karakeep Version any ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:56:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1366
No description provided.