Messed up clock/logs

c9researcher

Member
Oct 10, 2019
1
0
21
40
I have a couple fresh PVE installs that I upgraded from version 6. Somehow the hardware clock on one got set into the future, and it took me a couple days to find the issue. Now I have a bunch of 'most recent' logs that are in front of all my current logs and activities. Is there a way I can clear these out?

I am also getting logged out with 'invalid pve ticket 401' errors very frequently, even though I have corrected all the system times.
 
I am also getting logged out with 'invalid pve ticket 401' errors very frequently, even though I have corrected all the system times.
sound like there is still some time travel going on or some leftovers of it (see this forum thread). Have you cleared the browser cache?

To clear your logs, go to /var/log. Say you want to clear boot.log: make a backup cp boot.log boot.log_backup and then clean the logfiles with nano/vim/your favourite text editor or, to clear the logfile entirely, cat /dev/null > boot.log

hope this helps