Created attachment 1653368 [details] Screenshot of Chrome console Description of problem: Running on Fedora 30, going to graphs CPU page shows Ooops. Version-Release number of selected component (if applicable): cockpit-210-1.fc30.x86_64 How reproducible: Always Steps to Reproduce: 1.Login to cockpit 2.In "Usage" section, click "View graphs" 3.Click on CPU cores to display CPU usage 4.Get "Ooops!" Actual results: Ooops Expected results: Graph of CPU usage Additional info: Chrome Version 79.0.3945.123 (Official Build) (64-bit)
Same problem on "Memory & Swap" graph, but "Disk I/O" and "Network Traffic" graphs work fine.
This may not be completely right, but at least fixes things for me and the original reporter: https://github.com/cockpit-project/cockpit/pull/13420
FEDORA-2020-e70cf11146 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-e70cf11146
After installing cockpit-211-1.fc31.x86_64, the overview usage graphs page shows the graphs fine, but clicking through to the CPU and memory graphs still throw Javascript errors on my system Uncaught Error: Invalid dimensions for plot, width = 735, height = 0 at a.resize (graphs.js:1) at new a (graphs.js:1) at graphs.js:1 at new n (graphs.js:1) at Function.e.plot (graphs.js:1) at c (graphs.js:1) at Object.start (graphs.js:1) at Function.<anonymous> (graphs.js:1) at s (cockpit.js:979) at cockpit.js:991
I can confirm the problem still exists. Also, when installing the update, I get: Running transaction Preparing : 1/1 Running scriptlet: cockpit-ws-211-1.fc30.x86_64 1/1 Running scriptlet: cockpit-ws-211-1.fc30.x86_64 1/6 Upgrading : cockpit-ws-211-1.fc30.x86_64 1/6 Running scriptlet: cockpit-ws-211-1.fc30.x86_64 1/6 Upgrading : cockpit-bridge-211-1.fc30.x86_64 2/6 Upgrading : cockpit-211-1.fc30.x86_64 3/6 Cleanup : cockpit-210-1.fc30.x86_64 4/6 Cleanup : cockpit-bridge-210-1.fc30.x86_64 5/6 Running scriptlet: cockpit-ws-210-1.fc30.x86_64 6/6 Cleanup : cockpit-ws-210-1.fc30.x86_64 6/6 Running scriptlet: cockpit-ws-210-1.fc30.x86_64 6/6 warning: %triggerin(systemd-241-12.git323cdf4.fc30.x86_64) scriptlet failed, exit status 73 Error in <unknown> scriptlet in rpm package cockpit-ws Verifying : cockpit-211-1.fc30.x86_64 1/6 Verifying : cockpit-210-1.fc30.x86_64 2/6 Verifying : cockpit-bridge-211-1.fc30.x86_64 3/6 Verifying : cockpit-bridge-210-1.fc30.x86_64 4/6 Verifying : cockpit-ws-211-1.fc30.x86_64 5/6 Verifying : cockpit-ws-210-1.fc30.x86_64 6/6 Upgraded: cockpit-211-1.fc30.x86_64 cockpit-bridge-211-1.fc30.x86_64 cockpit-ws-211-1.fc30.x86_64 Complete!
I tested it and it seems to work. Have you stopped the `cockpit.service` and refreshed cockpit? What browser are you using?
Yes, cockpit was restarted via systemctl. Still the same browser: Chrome Version 79.0.3945.123.
Argh, how embarrassing! Fixed in https://github.com/cockpit-project/cockpit/pull/13433 and reproduced in a test case in https://github.com/cockpit-project/cockpit/pull/13439
cockpit-211-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-e70cf11146
cockpit-211-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d5974928d6
Confirming that the issue has been corrected.
FEDORA-2020-99d5fe0b31 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-99d5fe0b31
cockpit-211-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
cockpit-211.1-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-99d5fe0b31
cockpit-211.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-13dea2829c
cockpit-211.1-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
cockpit-212-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f951136bb9
cockpit-212-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.