Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot login after fresh install / connexion impossible sur installation neuve #85

Open
anythingtodaynet opened this issue Jan 4, 2022 · 1 comment

Comments

@anythingtodaynet
Copy link

anythingtodaynet commented Jan 4, 2022

Describe the bug

Hello,
I have just installed a fresh piwigo on a brand new yunohost (nextcloud and wallabag working like a charm) for family server.
Piwigo installed well last night on WebUI, no errors, dedicated subdomain (pix.mydomain.tld) with SSL cert from let's encrypt.
Whenever I try to login, it gives me an "password or user incorrect" error. If I try to register with my credentials, it tells me "account already exists". 
I have tried this morning to upgrade from testing branch : no effect "piwigo already up to date"
I removed it from cli, reinstalled from cli, everything went fine, but still not able to log-in. I tried the user meant to be admin for piwigo, or another user. Same problem everytime : can't login. Any Idea ?

Bonjour,
Je viens d’installer piwigo sur une machine yunohost neuve (nextcloud et wallabag fonctionnent très bien sur cette instance) pour un serveur familial. L’installation effectuée depuis la webui a fonctionné sans soucis, sur un sous-domain dédié (pix.mondomaine.tld) avec un certificat SSL de let’s encrypt fonctionnel. Lorsque j’essaie de me logger à piwigo, il m’indique constamment que l’utilisateur ou le mot de passe est incorrect. Si j’essaie de m’enregistrer piwigo m’indique (a raison je penses) que l’utilisateur existe déjà.
Ce matin j’ai tenté en cli de le mettre à jour vers la branche "testing", il m’indique être déjà à jour. J’ai fini par désinstaller piwigo, et après un redémarrage machine j’y ai réinstall piwigo en CLI cette fois. Toujours aucune erreur ou avertissement à l’installation.
Lorsque j’essaie de me connecter (avec l’utilisateur déclaré comme admin, ou un autre) toujours le même problème : "nom d’utilisateur ou mot de passe invalide". Une piste pour me sortir de ça ?

Context

  • Hardware: Serveur dédié kimsufi (ovh) / dedicated server at french hoster "kimsufi" (ovh)
  • YunoHost version: 4.3.5 (stable)
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no *
    • If yes, please explain:

Steps to reproduce

  • If you performed a command from the CLI, the command itself is enough. For example:
    sudo yunohost app install piwigo -l pix

Expected behavior

A login with users from yunohost LDAP base.

Me connecter avec les utilisateurs de la base LDAP de yunohost.

Logs

/var/www/piwigo/plugins/Ldap_Login/logs/ldap_login.log
https://privatebin.net/?59f0248a55664e8e#HdCd4yShJA34D3JNSbFgQiWy2PbDAb56vm6YjAswBW8e

If applicable and useful, add screenshots to help explain your problem.
image

@anythingtodaynet
Copy link
Author

if it can help, using the mail "admin@mydomain.tld" (the one created by yunohost installer for the first user) in the "forgot password" field did get me to the link to reset the password, I used the one from ynh LDAP and now I can login. Will have to check if I have to re-enter all credentials for my users. It seems then that it is more a SSO and LDAP problem than an actual impossibility to log-in.
Maybe I encounter the same problem that is exposed in 84.

Si cela peut aider : j’ai utilisé l’adresse "admin@mondomaine.tld" (fournie par yunohost au premier utilisateur à l’installation) dans le champ « mot de passe oublié » et j’ai pu modifier mon mot de passe, j’ai remis celui du ldap yunohost et désormais je peux me logger. Il faudra que je vois si tous mes utilisateurs doivent resaisir leurs mots de passe ou non. Du coup il semblerait plutôt qu'il y ait un souci avec le SSO et le LDAP qu'une réelle/impossibilité de se logger.

Peut-être comme le problème 84 alors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant