Karakeep not updating since 0.28.0~ynh1

What app is this about, and its version: Karakeep, 0.28.0~ynh1
What YunoHost version are you running: 12.1.39 (stable).
What type of hardware are you using: Raspberry Pi 3, 4+

Describe your issue

After Karakeep version 0.28.0~ynh1, I’ve not been able to upgrade the application. I see a prior post about this: Karakeep not working after upgrade to 0.29.1~ynh1

At the time of writing, the latest version of Karakeep for Yunohost is 0.30.0~ynh1. I’ve tried to do a clean install as well. Attached are logs for a failed installation.

Any help to resolve this would be greatly appreciated. Thanks!

Share relevant logs or error messages

Attempt to do a clean installation: https://paste.yunohost.org/raw/lijekogure

Attempt to upgrade: https://paste.yunohost.org/raw/olopifusuz - note that this log doesn’t contain errors, but the app is actually NOT upgraded at all!

 WARN  GET https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz error (ETIMEDOUT). Will retry in 1 minute. 1 retries left.

Can you reach this url : https://registry.npmjs.org/ ?
What is the output of

curl -4 https://registry.npmjs.org/
curl -6 https://registry.npmjs.org/

1 Like

Thanks for your help! Here’s the results:

curl -4 https://registry.npmjs.org/
curl -6 https://registry.npmjs.org/
{}curl: (7) Failed to connect to registry.npmjs.org port 443 after 8210 ms: Couldn't connect to server

I’m not sure if this helps, but here’s another line I ran with the results:

curl --ipv4 -v "registry.npmjs.org";
*   Trying 104.16.11.34:80...
* Connected to registry.npmjs.org (104.16.11.34) port 80 (#0)
> GET / HTTP/1.1
> Host: registry.npmjs.org
> User-Agent: curl/7.88.1
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Date: Thu, 15 Jan 2026 06:36:07 GMT
< Content-Type: text/plain;charset=UTF-8
< Content-Length: 0
< Connection: keep-alive
< CF-RAY: 9be35b63db9b2382-ARN
< Location: https://registry.npmjs.org/
< Set-Cookie: _cfuvid=dnBItAQWiXPQCuRxOkbg3fOYKMjonaKN.N4Dax7ipnw-1768458967667-0.0.1.1-604800000; path=/; domain=.npmjs.org; HttpOnly
< Server: cloudflare
< 
* Connection #0 to host registry.npmjs.org left intact

P.s. I just uninstalled Karakeep completely and then installed the latest version. The installation failed and here’s the installation log which, I believe, points to a problem in the installation script: https://paste.yunohost.org/raw/demedalivu

The log still points to a connection issue.
Could you run a connection speed test ?

I just ran speedtest, got 3 Mbit/s both upload and download.

Hypothesis: it might be too low to download ‘‘large’’ packages before timing out.
Did you run into such issues before?

Can you ping registry.npmjs.org

Yes, it works:

$ ping registry.npmjs.org
PING registry.npmjs.org (104.16.6.34) 56(84) bytes of data.
64 bytes from 104.16.6.34 (104.16.6.34): icmp_seq=1 ttl=57 time=16.3 ms
64 bytes from 104.16.6.34 (104.16.6.34): icmp_seq=3 ttl=57 time=15.5 ms
64 bytes from 104.16.6.34 (104.16.6.34): icmp_seq=5 ttl=57 time=26.2 ms
64 bytes from 104.16.6.34 (104.16.6.34): icmp_seq=6 ttl=57 time=29.6 ms
64 bytes from 104.16.6.34 (104.16.6.34): icmp_seq=7 ttl=57 time=17.3 ms
64 bytes from 104.16.6.34 (104.16.6.34): icmp_seq=8 ttl=57 time=31.5 ms
64 bytes from 104.16.6.34 (104.16.6.34): icmp_seq=9 ttl=57 time=15.7 ms

I’ve not come across the problem before.

I just tried to install Karakeep from scratch. Here’s the main window in the Yunohost GUI:

Here’s the logs: https://paste.yunohost.org/raw/exoxebegoz

At this point, I feel like I’ll just skip using Karakeep and go with Linkwarden instead.

Thanks a lot for all of your help, dear people! :slight_smile: :person_bowing:

It looks like a timeout issue.

I’ve just updated my karakeep instance without issues.

Can you try yunohost app install https://github.com/YunoHost-Apps/karakeep_ynh/tree/timeout

Ouch! Thanks a lot for helping out. Here’s the output:

Info: Installing karakeep…
Info: Provisioning sources…
Info: Provisioning system_user…
Info: Provisioning install_dir…
Info: Provisioning data_dir…
Info: Provisioning permissions…
Info: Provisioning ports…
Info: Provisioning apt…
Info: Provisioning nodejs…
Info: [+…] > Installing dependencies…
Info: [#++…] > Setting up source files…
Info: [###+…] > Adding karakeep’s configuration files…
Info: [####++…] > Configuring logrotate to manage application logfiles
Info: [######+…] > Adding system configurations related to karakeep…
Info: [#######++…] > Installing the app…
Error: Unable to install karakeep: An error occurred inside the app installation script
Info: The operation ‘Install the ‘karakeep’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260116-153118-app_install-karakeep’ to get help
Warning: Here’s an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - Progress: resolved 0, reused 2747, downloaded 34, added 3133
Info: DEBUG - Progress: resolved 0, reused 2747, downloaded 36, added 3141
Info: DEBUG - Progress: resolved 0, reused 2747, downloaded 38, added 3143
Info: DEBUG - Progress: resolved 0, reused 2747, downloaded 39, added 3144
Info: DEBUG - Progress: resolved 0, reused 2747, downloaded 40, added 3145
Info: DEBUG - Progress: resolved 0, reused 2747, downloaded 41, added 3145
Info: DEBUG - Progress: resolved 0, reused 2747, downloaded 41, added 3146
Info: DEBUG - Progress: resolved 0, reused 2747, downloaded 42, added 3147
Info: DEBUG - ETIMEDOUT request to ``https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz`` failed, reason:
Info: DEBUG -
Info: DEBUG - FetchError: request to ``https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz`` failed, reason:
Info: DEBUG - at ClientRequest. (/root/.cache/node/corepack/v1/pnpm/9.15.9/dist/pnpm.cjs:67084:18)
Info: DEBUG - at ClientRequest.emit (node:events:519:28)
Info: DEBUG - at emitErrorEvent (node:_http_client:107:11)
Info: DEBUG - at TLSSocket.socketErrorListener (node:_http_client:574:5)
Info: DEBUG - at TLSSocket.emit (node:events:531:35)
Info: DEBUG - at emitErrorNT (node:internal/streams/destroy:170:8)
Info: DEBUG - at emitErrorCloseNT (node:internal/streams/destroy:129:3)
Info: DEBUG - at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure…
Info: [++++++++++…] > Removing system configurations related to karakeep…
Info: [####################] > Removal of karakeep completed
Info: Deprovisioning nodejs…
Info: Deprovisioning apt…
Info: Deprovisioning ports…
Info: Deprovisioning permissions…
Info: Deprovisioning data_dir…
Info: Deprovisioning install_dir…
Info: Deprovisioning system_user…
Info: Deprovisioning sources…
Error: The operation ‘Install the ‘karakeep’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260116-153118-app_install-karakeep’ to get help

I just tried switching Wi-Fi network and that did the trick! You both were correct, @otm33 and @jarod5001 , thanks a lot!

The new network downloads at 50 Mbit/s and uploads at 40 Mbit/s. So inadequate network speed seems to have been the problem.



Info: Installing karakeep…
Info: Provisioning sources…
Info: Provisioning system_user…
Info: Provisioning install_dir…
Info: Provisioning data_dir…
Info: Provisioning permissions…
Info: Provisioning ports…
Info: Provisioning apt…
Info: Provisioning nodejs…
Info: [+…] > Installing dependencies…
Info: [#++…] > Setting up source files…
Info: [###+…] > Adding karakeep’s configuration files…
Info: [####++…] > Configuring logrotate to manage application logfiles
Info: [######+…] > Adding system configurations related to karakeep…
Info: [#######++…] > Installing the app…
Info: [#########+…] > Building the Web…
Info: [##########++…] > Building the workers…
Info: [############+…] > Building the CLI…
Info: [#############++…] > Building the MCP…
Info: [###############+…] > Removing unneeded files…
Info: ‘/var/www/karakeep/.local’ wasn’t deleted because it doesn’t exist.
Info: ‘/var/www/karakeep/.cache’ wasn’t deleted because it doesn’t exist.
Info: [################++..] > Starting karakeep’s systemd service…
Info: [####################] > Installation of karakeep completed
Success! Installation completed

Good to know. I’ll close the PR

1 Like