I'm trying to run PBS v2.x directly in a LXC running Debian 11. Already have a PBS v1.x instance running in another LXC running Debian 10, so I thought to give it a try with the new version... What steps did a take? Here a summary:
and...
Where is that rrdb stat dir supposed to be created and why is it failing? Any help is greatly appreciated!
- create lxc using template debian-11-standard_11.0-1_amd64.tar.gz
- resources: arch: amd64 / cores: 2 / hostname: prxmxbs / memory: 2048 / mp0: /media/usb-hdd/pbs,mp=/media/usb-hdd / net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=[redacted],ip=dhcp,type=veth / ostype: debian / rootfs: local-lvm:vm-900-disk-0,size=16G / swap: 1024
- options" privileged [also tried unprivileged] / features: none
- inside the lxc:
- wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
- edit /etc/apt/sources.list.d/pbs-enterprise.list
#deb https://enterprise.proxmox.com/debian/pbs bullseye pbs-enterprise
- edit /etc/apt/sources.list
deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription
- apt update && apt install -y proxmox-backup [also tried with proxmox-backup-server] - tried https://server-ip:8007/ - but got a "ERR_CONNECTION_REFUSED"
Code:
# systemctl status proxmox-backup-proxy.service
* proxmox-backup-proxy.service - Proxmox Backup API Proxy Server
Loaded: loaded (/lib/systemd/system/proxmox-backup-proxy.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2021-11-09 15:52:12 UTC; 18min ago
Process: 359 ExecStart=/usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy (code=exited, status=1/FAILURE)
Main PID: 359 (code=exited, status=1/FAILURE)
CPU: 11ms
Nov 09 15:52:12 prxmxbs systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 5.
Nov 09 15:52:12 prxmxbs systemd[1]: Stopped Proxmox Backup API Proxy Server.
Nov 09 15:52:12 prxmxbs systemd[1]: proxmox-backup-proxy.service: Start request repeated too quickly.
Nov 09 15:52:12 prxmxbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Nov 09 15:52:12 prxmxbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
and...
Code:
# journalctl -b -u proxmox-backup.service -u proxmox-backup-proxy.service
-- Journal begins at Tue 2021-11-09 15:19:20 UTC, ends at Tue 2021-11-09 15:52:50 UTC. --
Nov 09 15:52:10 prxmxbs systemd[1]: Starting Proxmox Backup API Server...
Nov 09 15:52:10 prxmxbs proxmox-backup-api[178]: service is ready
Nov 09 15:52:10 prxmxbs systemd[1]: Started Proxmox Backup API Server.
Nov 09 15:52:10 prxmxbs systemd[1]: Starting Proxmox Backup API Proxy Server...
Nov 09 15:52:10 prxmxbs proxmox-backup-proxy[236]: Error: unable to create rrdb stat dir - EACCES: Permission denied
Nov 09 15:52:10 prxmxbs systemd[1]: proxmox-backup-proxy.service: Main process exited, code=exited, status=1/FAILURE
Nov 09 15:52:10 prxmxbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Nov 09 15:52:10 prxmxbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 1.
Nov 09 15:52:11 prxmxbs systemd[1]: Stopped Proxmox Backup API Proxy Server.
Nov 09 15:52:11 prxmxbs systemd[1]: Starting Proxmox Backup API Proxy Server...
Nov 09 15:52:11 prxmxbs proxmox-backup-proxy[306]: Error: unable to create rrdb stat dir - EACCES: Permission denied
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Main process exited, code=exited, status=1/FAILURE
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Nov 09 15:52:11 prxmxbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 2.
Nov 09 15:52:11 prxmxbs systemd[1]: Stopped Proxmox Backup API Proxy Server.
Nov 09 15:52:11 prxmxbs systemd[1]: Starting Proxmox Backup API Proxy Server...
Nov 09 15:52:11 prxmxbs proxmox-backup-proxy[349]: Error: unable to create rrdb stat dir - EACCES: Permission denied
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Main process exited, code=exited, status=1/FAILURE
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Nov 09 15:52:11 prxmxbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 3.
Nov 09 15:52:11 prxmxbs systemd[1]: Stopped Proxmox Backup API Proxy Server.
Nov 09 15:52:11 prxmxbs systemd[1]: Starting Proxmox Backup API Proxy Server...
Nov 09 15:52:11 prxmxbs proxmox-backup-proxy[354]: Error: unable to create rrdb stat dir - EACCES: Permission denied
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Main process exited, code=exited, status=1/FAILURE
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Nov 09 15:52:11 prxmxbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 4.
Nov 09 15:52:11 prxmxbs systemd[1]: Stopped Proxmox Backup API Proxy Server.
Nov 09 15:52:11 prxmxbs systemd[1]: Starting Proxmox Backup API Proxy Server...
Nov 09 15:52:11 prxmxbs proxmox-backup-proxy[359]: Error: unable to create rrdb stat dir - EACCES: Permission denied
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Main process exited, code=exited, status=1/FAILURE
Nov 09 15:52:11 prxmxbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Nov 09 15:52:11 prxmxbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
Nov 09 15:52:12 prxmxbs systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 5.
Nov 09 15:52:12 prxmxbs systemd[1]: Stopped Proxmox Backup API Proxy Server.
Nov 09 15:52:12 prxmxbs systemd[1]: proxmox-backup-proxy.service: Start request repeated too quickly.
Nov 09 15:52:12 prxmxbs systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.
Nov 09 15:52:12 prxmxbs systemd[1]: Failed to start Proxmox Backup API Proxy Server.
Where is that rrdb stat dir supposed to be created and why is it failing? Any help is greatly appreciated!