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

why i can't bind my service? #899

Open
2 tasks done
zixuanya opened this issue Dec 21, 2024 · 9 comments
Open
2 tasks done

why i can't bind my service? #899

zixuanya opened this issue Dec 21, 2024 · 9 comments
Labels
question Further information is requested

Comments

@zixuanya
Copy link

Environment

Debian GNU/Linux 12 (bookworm) x86_64

Nezha Version

Nezha 1.3.0

Describe the bug

I got an error when i want to bind my server.
![image](https://github.com/user-attachments/assets/5451bfac-a17b-4f50-8e97-e3be37d4525b)

To Reproduce

Problems encountered when binding the server after successful deployment

Additional Context

Validation

  • I confirm this is a bug about nezha (Nezha Dashboard).
  • I have searched Issues and confirm this bug has been reported before.
@uubulb
Copy link
Contributor

uubulb commented Dec 21, 2024

What do you mean by 'binding'?
A server is created after the first successful Agent authorization.
The pop-up indicates there is no server available.

@zixuanya
Copy link
Author

What do you mean by 'binding'?

A server is created after the first successful Agent authorization.

The pop-up indicates there is no server available.

"Bind" is just a habitual way of saying it.... Sorry for the misunderstanding, what I meant was "(used for) nezha-agent installation command (to bind the server)"

I have used the installation command on the server, but it didn't work, and then an error pop-up window popped up (see the picture below)

image

@uubulb
Copy link
Contributor

uubulb commented Dec 21, 2024

Normally the installation command will install nezha-agent on your system.
Then the server should be shown in the admin dashboard.
Please provide logs so we can investigate what the problem is.

@uubulb uubulb added the question Further information is requested label Dec 21, 2024
@zixuanya
Copy link
Author

Normally the installation command will install nezha-agent on your system.

Then the server should be shown in the admin dashboard.

Please provide logs so we can investigate what the problem is.

image

image

image

image

The above is the information provided by my server. During this process, I also found a new problem, that is, the nezha-dashboard installed in docker cannot be detected normally.

There is no valuable information in the log, and everything runs according to the script during the execution process. The problem is unlikely to occur in my own deployment problem or network error.

But I still cannot use nezha-agent by installing the command. There is no server with nezha-agent installed on the dash master.

@uubulb
Copy link
Contributor

uubulb commented Dec 22, 2024

Update to the latest version of script which fixed the Docker image detection.

@jin-gubang

This comment was marked as off-topic.

@zixuanya

This comment was marked as off-topic.

@uubulb
Copy link
Contributor

uubulb commented Dec 25, 2024

提供你的配置文件内容

@jin-gubang
Copy link

强制刷新就会没有这个错误了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants