After logged into the web front end, PVE constantly asking me to login again.
Since it’s impossible to stay login, I can’t upload big ISO image(like Windows), a window says Permission denied (invalid ticket 401) will popup during the process.
After some searching in PVE forum, I found out this is a system time issue. Execute the command
journalctl -u pvedaemon
to check pvedaemon journal, it shows the system start time is 8 hours behind the current time.
I found two solutions, one works(for me), another doesn’t.
Install ntpdate to sync time to a ntp server(which didn’t help me).
- Install ntpdate
apt install ntp ntpdate
- Sync time
ntpdate -u ntp.aliyun.com # you can use other ntp server, like time.windows.com