Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Invalid username or password#3321

Unanswered
APT256 asked this question inQ&A
Apr 23, 2024· 3 comments· 4 replies
Discussion options

I just installed openobserveRelease v0.10.2-rc1 on Ubuntu Server 22.04.4 LTS. The install was fine and the web page is available. I start OpenObserve with the command from the quick start guide: "ZO_ROOT_USER_EMAIL="root@example.com" ZO_ROOT_USER_PASSWORD="Complexpass#123" openobserve". When I enterroot@example.com for the username and Complexpass#123 for the password, I keep getting "Invalid username or password" errors. I have tried other email accounts and passwords, but nothing is accepted.

How do I get logged in the first time to setup my admin account?

v/r
Jon

If it matters, I put the openobserve file in /opt/ with execute privs and added /opt to the system path.

You must be logged in to vote

Replies: 3 comments 4 replies

Comment options

it is just a binary file you can put it anywhere, andZO_ROOT_USER_EMAIL andZO_ROOT_USER_PASSWORD are two environment, you can use:

export ZO_ROOT_USER_EMAIL="mailto:root@example.com"export ZO_ROOT_USER_PASSWORD="Complexpass#123"

it is same, if you can't login, try to delete the./data/ directory in the same directory withopenobserve binary and try again.

You must be logged in to vote
0 replies
Comment options

@hengfeiyang I tried this but still no luck. I think I am missing some files/folders. I am downloading the
openobserve-v0.10.2-linux-amd64.tar.gz binary from github and expanding it in /opt/openobserve. This compressed file only has the openobserve binary. There are no other files/folders in the compressed file. I manually created a data directory and gave it 775 permissions root/users. I exported the environment variables and ran the binary. I then enterroot@example.com and Complexpass#123 but I still get the invalid username or password error.

You must be logged in to vote
0 replies
Comment options

Same here, in a docker compose file

openobserve:image:public.ecr.aws/zinclabs/openobserve:latestrestart:unless-stoppedenvironment:ZO_ROOT_USER_EMAIL:"dev@website.com"ZO_ROOT_USER_PASSWORD:"pa$$w0rd"ports:      -"5080:5080"

Does not work :Invalid username or password

You must be logged in to vote
4 replies
@hengfeiyang
Comment options

i have no idea, can you check the server logs? did the server receive the login request?
Can you try use curl to login?curl -v -u username:password http://localhost:5080/api/default/streams
Can you check your browser disabled cookie not, or trychrome

@jrouaix
Comment options

Ho thanks you for the quick answer 👍🏼

Same on chromium

Trying the curl command, i tried changing the password for a simpler one without$ char and it worked.
I bet it was the env variables injection with dollar sign that got me in trouble.

Now I can try your software !
Sorry for the alert and thanks.

@SpongeManiac
Comment options

I have a single parenthesis in my password. Maybe special characters don't work?

@Manazsharma
Comment options

@SpongeManiac yeah, did you tried with a simpler password to check if this is the case?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
5 participants
@APT256@hengfeiyang@jrouaix@SpongeManiac@Manazsharma

[8]ページ先頭

©2009-2025 Movatter.jp