Can't access GUI

yabbah

Active Member
Oct 15, 2019
34
2
28
I had an issue where something was taking up all the space on / on my local (proxmox). So nothing was working as expected. I found that in /var/log/ there was alot of big files so I did a 'rm -rf *' in /var/log/.

Seems like it wasn't the most briljant idea in the worlds history. All of my containers and LXC's working after a reboot. I can ssh to the host so I can use cli.
But I cant access the proxmox GUI at http://the-ip-of-proxmox:8006/

Is there any folders in /var/log/ that must exist for the GUI processes to work?
Any ideas?

Kinds regards
 
Hi,

Try to add these two directories

/var/log/pve
/var/log/pveproxy

if this does not work have a look at the error message of pvedaemon and pveproxy
 
Wolfgang is right, this is the problem. You also need to restore the owner of the pveproxy directory afterwards:
Code:
mkdir -p /var/log/pveproxy /var/log/pve
chown www-data:www-data /var/log/pveproxy

As that one runs as unprivileged user.

Edit: replace wrong "http:http" with "www-data:www-data"
 
Last edited:
Thanks, I also had to touch the file var/log/pveproxy/access.log, after that it worked. Thanks!
 
Thanks, I also had to touch the file var/log/pveproxy/access.log, after that it worked. Thanks!
That shouldn't be required as long as you did the "chown", I made an error above though the user and group is "www-data:www-data" not "http:http" - please ensure that the owner is correct else you may get into trouble again on the first log rotate.
 
That shouldn't be required as long as you did the "chown", I made an error above though the user and group is "www-data:www-data" not "http:http" - please ensure that the owner is correct else you may get into trouble again on the first log rotate.

Okey thanks. I chown'ed it now to www-data:www-data. But yesterday as a workaround I chmod'ed /var/log/pveproxy to 777 just to get the gui back up. What should it be?