Can't login to Community Edition #2341
-
|
I have successfully followed the setup instructions for deploying the self hosted shellhub service (v0.10.9) locally on my Ubuntu desktop. I have created my first user and namespace, but every time I try and login to the service (with my credentials) I get a small dialog popping up saying "The request has failed. Please try again". It does this even if I type in rubbish into the username and password. I have had a look in the logs but are none the wiser as to what to look for. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 18 replies
-
|
phil@phil-desktop:~/shellhub$ cat docker-compose.override.yml |
Beta Was this translation helpful? Give feedback.
-
|
Hello, Phil! Thank you for reporting it. I'm working on this issue now. Could you check your user on MongoDB database? If it's okay, could you share the request logs what have happened? |
Beta Was this translation helpful? Give feedback.
-
|
phil@phil-desktop:/shellhub$ ./bin/docker-compose exec mongo mongo main --eval "db.users.find()" |
Beta Was this translation helpful? Give feedback.
-
|
@drumwhizz, I have reproduced that problem locally. I'm working directly on it now. |
Beta Was this translation helpful? Give feedback.
-
|
@drumwhizz, the problem seems to be with the docker-compose version what you are using.
Looking for the docker-compose package on your distro, I've checked that this version, 1.25.0, doesn't support empty ( To work around that issue, you can run that script. It'll remove all |
Beta Was this translation helpful? Give feedback.
@drumwhizz, the problem seems to be with the docker-compose version what you are using.
Looking for the docker-compose package on your distro, I've checked that this version, 1.25.0, doesn't support empty (
"") strings as null on.env.To work around that issue, you can run that script. It'll remove all
""from the.env, allowing the API server to run normally.