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

No login possible #5

Closed
jgrete opened this issue Oct 9, 2019 · 9 comments
Closed

No login possible #5

jgrete opened this issue Oct 9, 2019 · 9 comments

Comments

@jgrete
Copy link

jgrete commented Oct 9, 2019

Hi,
after installation under YunoHost (3.6.5.1), I'm not able to login ("Wrong username or password". nor with the single existing user credentials neither with the admin credentials).
What did I miss? Any "special" account to use?
Regards
Jürgen

@Schdefoon
Copy link

Hi Jürgen,
was searching for help here, because I had the same problem.
In the meantime I could fix it by editing /var/www/ulogger/config.php
In line 46 I set require_authentification to 0.
Seems like yunohost sso is still working with this settings. In my test another yunohost user that had no permission for ulogger couldn't get into ulogger.

Now I'm looking for a way to import a gpx file. This is listed in the features, but there seems to be no button for this...

Regards Stefan

@Schdefoon
Copy link

Found the correct way in the meantime:
Run https://"path-to-yunohost-server"/ulogger/scripts/setup.php and create a user.
The created user has the possibility to import gpx files :-)

@jgrete
Copy link
Author

jgrete commented Nov 5, 2019

Using that path I'm getting a 404 :-(

@Schdefoon
Copy link

You should not get a 404...
Did you replace "path-to-yunohost-server" with your server path?
For me the correct address is https://yunohost.local/ulogger/scripts/setup.php
But this is not necessarily the correct address of your YunoHost server.

@jgrete
Copy link
Author

jgrete commented Nov 11, 2019

Hi,
i cannot replace "path-to-yunoshost-server" because "This feature hasn't been implemented yet" po-up appears as soon as I try to click the button...
@Schdefoon: Adapted to my base url I'm ending up at the yunoshost entry page (with all the other apps)

@Schdefoon
Copy link

Adapted to my base url I'm ending up at the yunoshost entry page (with all the other apps)

I guess you weren't logged in so you your browser redirected you to the login page.

So here's another try:

  • Call (again adapted to your base url) https://yunohost.local/sso
  • You should see a login page
  • Insert your username and password and continue
  • You should see all of your apps like before
  • Don't close your browser - just continue
  • Now call (again adapted to your base url) https://yunohost.local/ulogger/scripts/setup.php
  • You should see a "welcome to ulogger" page with some instructions to continue

It is just the same like before but you call the setup-page after your successful login

@jgrete
Copy link
Author

jgrete commented Nov 11, 2019

[y] Call (again adapted to your base url) https://yunohost.local/sso
[y] You should see a login page
[y] Insert your username and password and continue
[y] You should see all of your apps like before
[y] Don't close your browser - just continue
[*] Now call (again adapted to your base url) https://yunohost.local/ulogger/scripts/setup.php
[**] You should see a "welcome to ulogger" page with some instructions to continue

  • Result: Back on the apps page
    ** No - my ulogger url is /yunohost/ulogger/...
    because I can't change the base url (see above) like in other apps. I need to do that, because I'm using a reverse proxy to access yunohost.

@Schdefoon
Copy link

I'm sorry that this is not working for you and I have no idea any more how to help you.
For me this help worked: https://github.com/bfabiszewski/ulogger-server#install (the first three steps can be skipped since YunoHost already managed this for you). You should find the files that are mentioned in /var/www/ulogger
But if you can't call the setup script then it's hard to get it running ...

@jgrete
Copy link
Author

jgrete commented Nov 17, 2019

@Schdefoon
Ok, maybe it will work some day
Anyway - thanks a lot for your time

@jgrete jgrete closed this as completed Nov 17, 2019
@anmol26s anmol26s reopened this Nov 17, 2019
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

3 participants