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

Login into the admin panel #38

Open
O2-AC opened this issue Oct 13, 2021 · 3 comments
Open

Login into the admin panel #38

O2-AC opened this issue Oct 13, 2021 · 3 comments
Assignees

Comments

@O2-AC
Copy link

O2-AC commented Oct 13, 2021

I'm trying to install a test instance of the ELN following the guide in the documentation and am able to access http://localhost/roc.
However, upon login as [email protected] with the password set in the .env file, I get the error message Wrong username or password.
I've double checked that the password in the .env file is identical to the one I'm entering in the WebUI and am out of ideas now.
I should say that due to the test environment I cannot access the server by its domain name and have to use the IP address. Hence, I haven't changed the variables REST_ON_COUCH_SESSION_DOMAIN and REST_ON_COUCH_ORIGINS to anything from the placeholder REPLACEME.

@kjappelbaum
Copy link
Collaborator

kjappelbaum commented Oct 13, 2021

Hi @O2-AC, thanks for the feedback.

Could you maybe also post the logs when you try to do the operation, e.g. the tail of docker-compose logs?

@kjappelbaum kjappelbaum self-assigned this Oct 13, 2021
@O2-AC
Copy link
Author

O2-AC commented Oct 13, 2021

@kjappelbaum sure thing.
I find this error in the couchdb container:

[warning] 2021-10-13T14:05:40.984669Z nonode@nohost <0.31955.11> f6486567a9 couch_httpd_auth: Authentication failed for user [email protected] from 172.26.0.5
[notice] 2021-10-13T14:05:40.985232Z nonode@nohost <0.31955.11> f6486567a9 couchdb:5984 172.26.0.5 undefined POST /_session 401 ok 2
[notice] 2021-10-13T14:05:41.026182Z nonode@nohost <0.31956.11> a44c1f2df3 couchdb:5984 172.26.0.5 rest-on-couch GET /eln/rights 200 ok 3
[notice] 2021-10-13T14:05:41.035710Z nonode@nohost <0.31957.11> 8209ebcb14 couchdb:5984 172.26.0.5 rest-on-couch GET /eln/defaultGroups 200 ok 3
[notice] 2021-10-13T14:05:41.064745Z nonode@nohost <0.31958.11> ddd1d5e1ea couchdb:5984 172.26.0.5 rest-on-couch GET /eln/_design/app/_view/groupByName?key=%22anonymousRead%22&reduce=false&include_docs=true 200 ok 19
[notice] 2021-10-13T14:05:41.078653Z nonode@nohost <0.31959.11> ffed5524ff couchdb:5984 172.26.0.5 rest-on-couch GET /eln/_design/app/_view/groupByName?key=%22read%22&reduce=false&include_docs=true 200 ok 8
[notice] 2021-10-13T14:05:41.120552Z nonode@nohost <0.31961.11> aa85662844 couchdb:5984 172.26.0.5 rest-on-couch GET /eln/_design/app/_view/globalRight?key=%22readGroup%22&reduce=false 200 ok 15
[notice] 2021-10-13T14:05:41.125032Z nonode@nohost <0.31960.11> bdfbe7ef28 couchdb:5984 172.26.0.5 rest-on-couch GET /eln/_design/app/_view/groupByUser?key=%22anonymous%22&reduce=false 200 ok 19
[notice] 2021-10-13T14:05:41.144208Z nonode@nohost <0.31963.11> 5723a4b659 couchdb:5984 172.26.0.5 rest-on-couch GET /eln/defaultGroups 200 ok 9
[notice] 2021-10-13T14:05:41.146265Z nonode@nohost <0.31962.11> 38e953aaac couchdb:5984 172.26.0.5 rest-on-couch GET /eln/_design/app/_view/documentByOwners?key=%5B%22group%22%2C%22anonymous%22%5D&include_docs=true&reduce=false 200 ok 20
[notice] 2021-10-13T14:05:41.160685Z nonode@nohost <0.31964.11> 30595028fa couchdb:5984 172.26.0.5 rest-on-couch GET /eln/_design/app/_view/groupByName?key=%22anonymousRead%22&reduce=false&include_docs=true 200 ok 9

@kjappelbaum
Copy link
Collaborator

Hi, sorry for the delay in coming back to you.
This comment is interesting

I should say that due to the test environment I cannot access the server by its domain name and have to use the IP address. Hence, I haven't changed the variables REST_ON_COUCH_SESSION_DOMAIN and REST_ON_COUCH_ORIGINS to anything from the placeholder REPLACEME.

can you post the .env file you're using (without the passwords)

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

2 participants