[GH-ISSUE #2377] Updating bare install keeps on crashing. #1440

Open
opened 2026-03-02 11:57:21 +03:00 by kerem · 4 comments
Owner

Originally created by @jm-crz on GitHub (Jan 11, 2026).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2377

Describe the Bug

I have installed karakeep on a debian LXC using the installation script, this has been working great for several months now, and previous updates were a breeze until today.

When I tried to update it using sudo bash karakeep-linux.sh update I always get this error:

sudo bash karakeep-linux.sh update
Checking for an update...
▸▹▹▹▹Caught error in line 74: exit code 134: while executing "$@" > /dev/null 2>&1

I tried re-downloading the script and still keeps on getting the same error.

Steps to Reproduce

  1. sudo bash karakeep-linux.sh update

Checking for an update...
▸▹▹▹▹Caught error in line 74: exit code 134: while executing "$@" > /dev/null 2>&1

Expected Behaviour

I'm expecting it to get updated without any errors.

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

I haven't been able to write down the version i'm using before this error and I can't start karakeep anymore.

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 @jm-crz on GitHub (Jan 11, 2026). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2377 ### Describe the Bug I have installed karakeep on a debian LXC using the installation script, this has been working great for several months now, and previous updates were a breeze until today. When I tried to update it using `sudo bash karakeep-linux.sh update` I always get this error: ``` sudo bash karakeep-linux.sh update Checking for an update... ▸▹▹▹▹Caught error in line 74: exit code 134: while executing "$@" > /dev/null 2>&1 ``` I tried re-downloading the script and still keeps on getting the same error. ### Steps to Reproduce 1. sudo bash karakeep-linux.sh update Checking for an update... ▸▹▹▹▹Caught error in line 74: exit code 134: while executing "$@" > /dev/null 2>&1 ### Expected Behaviour I'm expecting it to get updated without any errors. ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Karakeep Version I haven't been able to write down the version i'm using before this error and I can't start karakeep anymore. ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
Author
Owner

@MohamedBassem commented on GitHub (Jan 11, 2026):

Can you re run the installation with -v to debug why it's failing?

<!-- gh-comment-id:3735103020 --> @MohamedBassem commented on GitHub (Jan 11, 2026): Can you re run the installation with `-v` to debug why it's failing?
Author
Owner

@jm-crz commented on GitHub (Jan 13, 2026):

Can you re run the installation with -v to debug why it's failing?

lxc201@karakeep:~$ sudo bash ./karakeep-linux.sh -v update [sudo] password for lxc201: Checking for an update... cat: /opt/karakeep/version.txt: No such file or directory Caught error in line 418: exit code 1: while executing cat "$INSTALL_DIR"/version.txt Caught error in line 418: exit code 1: while executing PREV_RELEASE="$(cat "$INSTALL_DIR"/version.txt)"

<!-- gh-comment-id:3745221965 --> @jm-crz commented on GitHub (Jan 13, 2026): > Can you re run the installation with `-v` to debug why it's failing? `lxc201@karakeep:~$ sudo bash ./karakeep-linux.sh -v update [sudo] password for lxc201: Checking for an update... cat: /opt/karakeep/version.txt: No such file or directory Caught error in line 418: exit code 1: while executing cat "$INSTALL_DIR"/version.txt Caught error in line 418: exit code 1: while executing PREV_RELEASE="$(cat "$INSTALL_DIR"/version.txt)"`
Author
Owner

@jm-crz commented on GitHub (Jan 13, 2026):

I think I found what's causing it, whenever I try to update using the karakeep-linux.sh script, it uses all the LXC memory resource until it crashes, I have 2GB and I had to make it to 4GB and now it updated properly. It used to update without problem with just 2GB of RAM.

<!-- gh-comment-id:3745300203 --> @jm-crz commented on GitHub (Jan 13, 2026): I think I found what's causing it, whenever I try to update using the karakeep-linux.sh script, it uses all the LXC memory resource until it crashes, I have 2GB and I had to make it to 4GB and now it updated properly. It used to update without problem with just 2GB of RAM.
Author
Owner

@jm-crz commented on GitHub (Jan 13, 2026):

Not sure if this is a bug but I noticed the version on the sidebar is like this

Photo

<!-- gh-comment-id:3745317998 --> @jm-crz commented on GitHub (Jan 13, 2026): Not sure if this is a bug but I noticed the version on the sidebar is like this [Photo](https://imgur.com/a/sy4YWSP)
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#1440
No description provided.