Gancio does not work out of the box

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.11
What app is this about: Gancio

Describe your issue

Hello,

after installation no login seems possible.
Gancio is installed in a subdomain.

In /etc/yunohost/apps/gancio/settings.yml admin is the account configured in installation page but password is different.
I tried both admin@domain and admin@subdomain with both passwords.
When I try to create an account admin@domain it claims, user exists.
When I try to create an other account, it has to be confirmed but no way to connect as admin.

In /etc/yunohost/apps/gancio/conf/config.json there is no configuration for the smtp server.
So no mail is delivered when asking for a lost password.

Found no database in MariaDB. Is postgreSQL used ?

Thanks for help.

Share relevant logs or error messages

2025-03-07T13:12:29.283Z debug: GET /api/user
2025-03-07T13:12:43.966Z debug: POST /oauth/login

You mean different from the yunohost admin account, or the account used as Gancio admin, or different from the password defined during gancio installation ?

The mail used is the one from the Yunohost account defined as admin during installation (source).

Good catch. I’m unsure how this works on Yunohost side as I added the “allow_email” parameter in the manifest.
I’ll search how to configure it on Gancio side.

Yes: gancio_ynh/manifest.toml at master · YunoHost-Apps/gancio_ynh · GitHub

Looking at :

I don’t find anything about configuring email server :thinking:

I would like to redirect that specific discussion here: Gancio e-mail setup not working

You’ll find it here App resources | Yunohost Documentation

allow_email: (default: False) Enable authentication on the mail stack for the system user and send mail using APP@DOMAIN. A mail_pwd setting is automatically defined (similar to db_pwd for databases). You can then configure the app to use APP and MAIL_PWD as SMTP credentials (with host 127.0.0.1). You can also tweak the user-part of the domain-part of the email used by manually defining a custom setting mail_user or mail_domain

You may have to disable ssl check on the app.
The last part about “mail_user or mail_domain” didn’t work for me a while ago.

An account on Yunohost is admin. I chose this account as admin for Gancio.
In /etc/yunohost/apps/gancio/settings.yml the account name is the account I chose. But the password is different from the one I typed during installation.

Ok. I tried admin@subdomain because of this post Gancio login failed (Cannot login with any user)

I didn’t either :slight_smile:
Only this quote

optionally an SMTP server to deliver emails

and here

I don’t understand how it can work without email…

I remember Lutim app creates a system user to send email to admin.