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

3.1.2-1: Dashboard -> Status loading all the time #42

Closed
mhaluska opened this issue Nov 30, 2023 · 5 comments
Closed

3.1.2-1: Dashboard -> Status loading all the time #42

mhaluska opened this issue Nov 30, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@mhaluska
Copy link

I just updated to version 3.1.2-1 and Dashboard -> Status is all the time with Loading... status. There is no error in logs.

image

HW: Rpi4
OS: RaspberryPi OS 12

Nov 30 21:01:16 zr-rpi1 systemd[1]: Started proxmox-backup-proxy.service - Proxmox Backup API Proxy Server.
Nov 30 21:01:16 zr-rpi1 proxmox-backup-[61295]: zr-rpi1 proxmox-backup-proxy[61295]: applied rrd journal (52 entries in 0.036 seconds)
Nov 30 21:01:16 zr-rpi1 proxmox-backup-[61295]: zr-rpi1 proxmox-backup-proxy[61295]: write rrd data back to disk
Nov 30 21:01:16 zr-rpi1 proxmox-backup-[61295]: zr-rpi1 proxmox-backup-proxy[61295]: starting rrd data sync
Nov 30 21:01:16 zr-rpi1 proxmox-backup-[61295]: zr-rpi1 proxmox-backup-proxy[61295]: rrd journal successfully committed (25 files in 0.046 seconds)
@mhaluska
Copy link
Author

Revert to 3.0.4-1 and everything is fine:

image

@wofferl
Copy link
Owner

wofferl commented Nov 30, 2023

Unfortunately they changed the way they get the kernel version (proxmox/proxmox-backup@4879227) and now the status dashboard fails if the kernel name is not in there format, with the timestamp in () like:

6.5.11-6-pve (build@proxmox) #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-6 (2023-11-29T08:32Z)

I will fix this in the next version.

Meanwhile you can fix it manually by changing line 9353 to the following in /usr/share/javascript/proxmox-backup/js/proxmox-backup-gui.js.

  9352                 let kernel = data['current-kernel'];
  9353                 let buildDate = 'unknown'; //kernel.version.match(/\((.+)\)\s*$/) ?? 'unknown';
  9354                 return `${kernel.sysname} ${kernel.release} (${buildDate})`;

@wofferl wofferl added the bug Something isn't working label Dec 1, 2023
@wofferl wofferl self-assigned this Dec 1, 2023
@mhaluska
Copy link
Author

mhaluska commented Dec 1, 2023

Thank you, I didn't find the right js file myself. Your fix helped. Thank you

@wofferl
Copy link
Owner

wofferl commented Dec 3, 2023

Bug fixed with 3.1.2-2

@wofferl wofferl closed this as completed Dec 3, 2023
@mhaluska
Copy link
Author

mhaluska commented Dec 3, 2023

Awesome, thank you ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants