Karakeep problem with first sign in

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English but feel free to write in French if you’re more comfortable!

on

What app is this about, and its version

Karakeep, 0.33.2~ynh1

What YunoHost version are you running

12.1.40.1

What type of hardware are you using

Old laptop or computer

Describe your issue

Hi, after installing Karakeep with no error, I’m not able to log in.
When I sign in first with YNH SSO and then select the Karakeep app, I get the Karakeep login page (/signin).

  1. If I use my YNH user’s Email and password I get “Incorrect email or password”.
    Console: POST …/api/auth/callback/credentials 401 (Unauthorized)

  2. if I try with “Sign up” (/signup) I get “Internal server error”
    Console: POST …/api/trpc/users.create?batch=1 500 (Internal Server Error)

Same if I logout from YNH and visit directly Karakeep page (the app is open to visitors): I get the signin page but can’t login nor create a new user with signup.

It seems that Karakeep is not connecting properly to YNH users management (LDAP?) but it also prevent from creating the first user (that shuld be the admin user, I imagine).

I have several other apps working properly, some get users from YNH, some need to create users inside the app (calibre-web), but I had no problem until now.

Could you help me please?

Share relevant logs or error messages

args:
app: karakeep
force: false
ignore_yunohost_version: false
label: Karakeep
no_remove_on_failure: false
ended_at: 2026-10-20 19:33:05.103901
env:
YNH_APP_ACTION: install
YNH_APP_ARG_DOMAIN: kara.maindomain.tld
YNH_APP_ARG_INIT_MAIN_PERMISSION: all_users
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_4t2yqzyu
YNH_APP_ID: karakeep
YNH_APP_INSTANCE_NAME: karakeep
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 0.33.2~ynh1
YNH_APP_PACKAGING_FORMAT: ‘2.0’
YNH_ARCH: amd64
YNH_DEBIAN_VERSION: bookworm
YNH_DEFAULT_PHP_VERSION: ‘8.2’
YNH_HELPERS_VERSION: ‘2.1’
error: null
interface: api
operation: app_install
parent: null
related_to:

    • app
    • karakeep
      started_at: 2026-10-20 19:24:00.175098
      started_by: ******
      success: true
      yunohost_version: 12.1.40.1

I’m sorry, as a new user, the system prevent me put links in the post, also the yuno paste one with complete logs of the installation.

I hope the problem is clear anyway.

Thanks

Hi @estragone
Karakeep doesn’t use SSO nor LDAP:

Try installing (or upgrading) from testing branch

# fresh install:
sudo yunohost app install https://github.com/YunoHost-Apps/karakeep_ynh/tree/testing

# upgrade an existing install:
sudo yunohost app upgrade karakeep -u https://github.com/YunoHost-Apps/karakeep_ynh/tree/testing

other way

@otm33 it works!
thanks a lot.
Maybe something should be changed in the yunohost app repository for karakeep, just to prevent others from installing it and getting something unusable.

The philosophy of selfhosting is that we are responsible for what we selfhost. That’s why there is a forum so we can fix what needs fixing.

you are right and maybe I used the wrong words, but I thought that the apps available with one click install from the YNH back end should, in a way or another be logged in by a user because someone who submitted the app tested it before.

It needs only a sentence that says “this app is availabe but the testing version needs to be installed > link”.
No problem, and thanks to the forum.
I hope to be able to help someone else here, because YNH is a great project.

hi @ribodiwa, as I wrote before, @otm33 solution “Try installing (or upgrading) from testing branch” is working fine.
This version does not try to use SSO so it does not get errors. You can sign up to karakeep and create new users (this was not working with the stable version).
So, I think we can say that it was not a broken local account but an an LDAP/SSO issue.