traggo / server

self-hosted tag-based time tracking
https://traggo.net
GNU General Public License v3.0
1.09k stars 55 forks source link

[yunohost] Cannot log in with generic or defined credentials #128

Closed paczesik closed 1 year ago

paczesik commented 1 year ago

After installation of Traggo on Yunohost cannot log in to the system. Admin/admin or defined during installation credentials do not work.

Steps to reproduce the behavior:

  1. Install via Yunohost WebUI
  2. Navigate to the app address
  3. Insert log in credentials
  4. See error: "Login failed: username/password combination does not exist"

Screenshots obraz

jmattheis commented 1 year ago

The default user will be created on the first startup, if you've changed the default password afterwards it won't be changed. You most likely just typed in a wrong user or password. You can try deleting the traggo database, to re-create the default user on traggo restart.

paczesik commented 1 year ago

Yeah tried every possible option, not working still. How do I delete the database and recreate it?

jmattheis commented 1 year ago

I don't know where the database is located in your yunohost setup, it could be inside /var/www/{instance name related to traggo}/data/traggo.db. If it's not there, then check the traggo yunohost repo or ask there for support.

davinian commented 1 year ago

Same problem, new install of Traggo and when I try and login I get "Login failed: username/password combination does not exist"

Looking in .env I can see default Username/Password but this doesn't work!

Anyone got any suggestions?

jmattheis commented 1 year ago

@davinian Have you tried removing the traggo database, like described in the earlier comments?

davinian commented 1 year ago

@jmattheis yes I did but made no difference. But! I completely removed Traggo and installed again and this time it seemed to work - so not sure if a glitch when first installing via Yunohost!? The strange thing was I could see the un/pw in the .env file but that didn't work.

Anyway, it's working now and I'll have a play for a few days and see if it fits my workflow.