Giter Site home page Giter Site logo

Comments (5)

JimboJoe avatar JimboJoe commented on May 25, 2024

I can't reproduce your issue on my default installation (x86_64, private installation): when I log out, I get brought to the login page, and I can still login via the form or from the YunoHost menu.

Could you please give more information on your setup? Could you please provide your /var/log/grafana/grafana.org file?

Thanks!

from grafana_ynh.

jellium avatar jellium commented on May 25, 2024

Here is the log associated to the error:

t=2017-03-04T15:01:29+0100 lvl=eror msg="Failed to sync user" logger=context error="Cannot remove last organization admin"
t=2017-03-04T15:01:29+0100 lvl=eror msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/ status=500 remote_addr=my-ip time_ms=10ns size=715

from grafana_ynh.

JimboJoe avatar JimboJoe commented on May 25, 2024

Did you try to update the grafana user table by yourself?

from grafana_ynh.

jellium avatar jellium commented on May 25, 2024

No I didn't.
I created an Organization (hence there were 2, the main one and that one I created), renamed the main organization, and finally logged out from Grafana.

from grafana_ynh.

JimboJoe avatar JimboJoe commented on May 25, 2024

Reproduced with your instructions.
Seems like a Grafana bug that dislikes creating orgs through UI when integrating LDAP... See explanation here

For now, I don't see any other solution for you than than deleting your newly created organization in the org table in the Grafana database.
I may remove the Org creation functionality if I don't get a precise answer on Grafana side.

from grafana_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.