Switching between containers in the UI causes the container to crash. #4123
Replies: 7 comments
-
I don't think this is related to switching between containers. I haven't seen any body else report this. Most likely it is related to something Podman is doing. The code:
I am not sure how to fix this because I haven't actually seen it.
I could take a guess and try to fix it but I think something else is happening. |
Beta Was this translation helpful? Give feedback.
-
Yes, this issue only happens when I start switching between containers (it usually fails on the second or third switch). It starts working again only after restarting. Once it does, reaching Exporting logs also doesn’t seem to trigger the crash. Please note that I have tested with & without : |
Beta Was this translation helpful? Give feedback.
-
Hmm that is really weird. Sorry I wasn't clear. Can you attach the logs? I can run it locally and see if something is happening. 🤔 I don't know what is causing this to be honest. |
Beta Was this translation helpful? Give feedback.
-
Also, not sure if you can help out, but test it on Docker? I am trying to narrow down if this is only happening on Podman or if it's something different with your cotnainers. |
Beta Was this translation helpful? Give feedback.
-
I've seen a similar bug in a similar environment (Podman), but unfortunately, I couldn't recreate the issue. It's probably related to the content of the log. It would definitely help to verify that there are at least 32 characters in the tail variable before skipping it. Then, we would not get a panic, and we could see in Dozzle what Podman is actually sending. |
Beta Was this translation helpful? Give feedback.
-
Thanks @ivoshm . That helps to narrow. I'll have to setup podman on a linux vm and test it out.
It's a little more complicated than that. Because that code should only happen for extremely large logs. That's why I need to reproduce to understand what is going on. |
Beta Was this translation helpful? Give feedback.
-
@ivoshm @karami4yasser I created a new Ubuntu VM and installed
Then did a bunch of fake containers. I switched around for 20+ times and nothing broke. I would need to see the content of logs to help or somehow reproduce it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🔍 Check for existing issues
How is Dozzle deployed?
Standalone Deployment
📦 Dozzle version
v8.13.14
✅ Command used to run Dozzle
🐛 Describe the bug / provide steps to reproduce it
Switching between containers in the UI causes dozzle container to crash.
💻 Environment
oracle linux 8
podman version 4.9.4-rhel
📜 Dozzle logs are required for debugging purposes. You may need to enable debug mode. See https://dozzle.dev/guide/debugging.
📸 If applicable, add screenshots to help explain your bug
Beta Was this translation helpful? Give feedback.
All reactions