[SOLVED] Delete a Task from the UI

crazywolf13

Member
Oct 15, 2023
47
6
8
Hi

I had issues with time: https://forum.proxmox.com/threads/rddc-update-errors.166232/

I also had entries in the task log with a future date:
1747309615629.png

I identified the task files in /var/log/pve/tasks and removed them.
However even after restarting pveproxy and pve-cluster service clearing cache etc. then entries just don't go away from the UI.
Just when clicked they show up like this:
1747309698466.png
What is needed to fully remove them from the UI?
 
there are task indices in /var/log/pve/tasks/{active,index,index.*} that you'd also need to cleanup (as in - remove references to the tasks you deleted, not remove the whole file!) - but be careful, if the PVE services are running they might modify those files at any time.
 
  • Like
Reactions: crazywolf13
Hi @fabian

Thanks a lot!!

This was really hard work, as I already removed the task files, there was no way to see the ID again, which made it kind of a search action to find the rm commands again to locate the lines in the indexes, but I got all sorted out.

Now I also have an issue since adding more nodes/since that time issue; the webui loggs me out roughly every 5minutes.
No special error in syslog (anymore, previously I had these rrdc time errors, thread I linked above, but they don't appear anymore.)

Should I create a new thread?

Thank you!
 
1. ensure the time is correct on all nodes
2. delete the authkey: "rm /etc/pve/priv/authkey.key /etc/pve/authkey.pub" (it will immediately be regenerated, this will log out all current sessions)
 
I ensured timedatectl status shows a correct time, is that enough?
I also did a hwclock --systohc to sync bios clock.

Thanks!

Also is removing the authkey neccessary on all nodes or just one?
 
on one is enough, it's a cluster-wide file that gets synced automatically
 
  • Like
Reactions: crazywolf13