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

Wrong default setting of logs #20355

Open
podhorsky-ksj opened this issue Apr 23, 2024 · 4 comments
Open

Wrong default setting of logs #20355

podhorsky-ksj opened this issue Apr 23, 2024 · 4 comments
Labels

Comments

@podhorsky-ksj
Copy link

Explain what happens

Just look at the log picture, this is default configuration:
image
On gui, on combo boxes above there is "error and above" and "last 24 hours" which is not coresponding with what is journalctl command - "journalctl --no-tail --since=-7days --reverse" (every log, last 7 days)

Version of Cockpit

315

Where is the problem in Cockpit?

Logs

Server operating system

Arch Linux

Server operating system version

latest

What browsers are you using?

Other

System log

web browser is thorium (chromium based desktop browser)
@jelly
Copy link
Member

jelly commented Apr 23, 2024

How did you end up in this state? I can't reproduce it. Can you post the full browser url and check if the browser console shows any errors?

@podhorsky-ksj
Copy link
Author

I don't know what you mean by full browser url. I don't want to post url here, because the domain and ip is publicly accessible and visible. And according to logs in server, a lot of people are trying to connect right now. I don't want to increase the number:-)

If i try it as root, everything seems to be ok:
root

If I will try it as user:
Screenshot from 2024-04-23 14-36-14
Then it happend when you click to button "Clear all filters", which will not regenerate the combo boxes on the page. That seems to be the error.
Screenshot from 2024-04-23 14-36-51

@podhorsky-ksj
Copy link
Author

Also, I just found this:
Screenshot from 2024-04-23 15-36-16

When I played with logs, cockpit created journalctl processes, which doesn't stop after logout from cockpit etc. I had to reboot the server. It took whole computation power of server!

@jelly
Copy link
Member

jelly commented Apr 23, 2024

Thanks for the user hint, managed to reproduce your state:

image

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

No branches or pull requests

2 participants