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

pveproxy Service Fails Due to Missing Log Directory and Incorrect Permissions on /var/log/pveproxy #117

Open
hans-chrstn opened this issue Jan 21, 2025 · 0 comments

Comments

@hans-chrstn
Copy link

hans-chrstn commented Jan 21, 2025

log: https://pastebin.com/W79Sp4Aw

The pveproxy service fails to start properly because it cannot write to /var/log/pveproxy/access.log which results in a worker process loop and inaccessible web interface. This happens due to the missing /var/log/pveproxy directory or incorrect permissions on it.
It might've been because i created a btrfs subvol on /var/log, but i doubt thats the issue.

Steps to Reproduce

  1. Install and configure Proxmox on NixOS using the proxmox-nixos module.
  2. Attempt to start the pveproxy service.
  3. Observe the service logs using journalctl -u pveproxy -f or try accessing the web interface at https://server-ip:8006.

I resolved it by:
Creating the log directory:
sudo mkdir -p /var/log/pveproxy

Setting the correct permissions:

sudo chown www-data:www-data /var/log/pveproxy
sudo chmod 750 /var/log/pveproxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant