Good morning, I have been facing an error than I d...
# troubleshoot
m
Good morning, I have been facing an error than I don't know the source exactly and how I could fix. The first time Datahub is started, doesn't matter which user you login with, users can't do nothing as they get a page saying "Unauthorized". If I get that error, logout and login with another user this error disappear for both users.
For example, in this video I logged in as the user Datahub (which has all privileges). As you can see if I try to access to its profile I get the mentioned page (notice that next to the settings tabs like ingestion don't appear either). If logged out and logged in with user x, this page wouldn't appear.
What could the source of this error be?? In the logs there are no errors.
b
Hey Pablo! what version of datahub are you running?
m
I am using the 0.8.40 although I think it also happened when using previous versions
b
very interesting.. and this happens every time you start up the app or every time you try to log on no matter what?
m
Everytime I start from scratch (meaning there is no data neither in PostgreSQL or ES)
b
how often do you start from scratch? but if you shut down your containers and everything, restart them (without nuking data), things look good?
m
I have started a few times from scratch. What I do first is stop Datahub's container, then stop both PostgreSQL and ES. When they are all down, I erase all the data stored so that they start as new. Then I restart them in order (first PostgreSQL, ES and then Datahub) and that is when the "unauthorized" message appears.