Skip to content

Error installing PVE Backup ServerΒ #4088

@xyboox

Description

@xyboox

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Proxmox Backup Server

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/proxmox-backup-server.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

Tried both, default settings and also advanced settings. Below are the logs for both trials:

DEFAULT settings:
` βš™οΈ Using Default Settings on node brix
πŸ–₯️ Operating System: debian
🌟 Version: 12
πŸ“¦ Container Type: Unprivileged
πŸ’Ύ Disk Size: 10 GB
🧠 CPU Cores: 2
πŸ› οΈ RAM Size: 2048 MiB
πŸ†” Container ID: 101
πŸš€ Creating a Proxmox-Backup-Server LXC using the above default settings

βœ”οΈ Using local for Template Storage.
βœ”οΈ Using local-lvm for Container Storage.
βœ”οΈ Updated LXC Template List
βœ”οΈ LXC Template is ready to use.
βœ”οΈ LXC Container 101 was successfully created.
βœ”οΈ Started LXC Container
βœ”οΈ Set up Container OS
βœ”οΈ Network Connected: 10.12.0.28
βœ”οΈ IPv4 Internet Connected
βœ–οΈ IPv6 Internet Not Connected
βœ”οΈ DNS Resolved github.com to 140.82.121.3
βœ”οΈ Updated Container OS
β Έ/dev/stdin: line 71: curl: command not found

[ERROR] in line 50: exit code 0: while executing command "$@" > /dev/null 2>&1
The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.

/dev/stdin: line 81: post_update_to_api: command not found
/dev/stdin: line 217: pop_var_context: head of shell_variables not a function context
/dev/stdin: line 14: pop_var_context: head of shell_variables not a function context
/dev/fd/63: line 72: SPINNER_PID: unbound variable```

ADVANCED Settings:
` 🧩 Using Advanced Settings on node brix
πŸ–₯️ Operating System: debian
🌟 Version: 12
πŸ“¦ Container Type: Unprivileged
πŸ” Root Password: ********
πŸ†” Container ID: 101
🏠 Hostname: proxmox-backup-server
πŸ’Ύ Disk Size: 10 GB
🧠 CPU Cores: 2
πŸ› οΈ RAM Size: 2048 MiB
πŸŒ‰ Bridge: vmbr0
πŸ“‘ IP Address: dhcp
🌐 Gateway IP Address: Default
πŸ“‘ APT-Cacher IP Address: Default
🚫 Disable IPv6: yes
βš™οΈ Interface MTU Size: Default
πŸ” DNS Search Domain: Host
πŸ“‘ DNS Server IP Address: Host
🏷️ Vlan: Default
πŸ“‘ Tags: community-script;backup
πŸ”‘ Root SSH Access: yes
Warning: No SSH key provided.
πŸ” Verbose Mode: yes
πŸš€ Creating a Proxmox-Backup-Server LXC using the above advanced settings
βœ”οΈ Using local for Template Storage.
βœ”οΈ Using local-lvm for Container Storage.
βœ”οΈ Updated LXC Template List
βœ”οΈ LXC Template is ready to use.
βœ”οΈ LXC Container 101 was successfully created.
βœ”οΈ Started LXC Container
net.ipv6.conf.all.disable_ipv6 = 1
βœ”οΈ Set up Container OS
βœ”οΈ Network Connected: 10.12.0.30
βœ”οΈ IPv4 Internet Connected
βœ–οΈ IPv6 Internet Not Connected
βœ”οΈ DNS Resolved github.com to 140.82.121.4
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:1 http://security.debian.org bookworm-security InRelease
Could not resolve 'security.debian.org'
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:2 http://deb.debian.org/debian bookworm InRelease
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian bookworm-updates InRelease
Could not resolve 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://security.debian.org/dists/bookworm-security/InRelease Could not resolve 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
β ™0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
βœ”οΈ Updated Container OS
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:1 http://security.debian.org bookworm-security InRelease
Could not resolve 'security.debian.org'
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:2 http://deb.debian.org/debian bookworm InRelease
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian bookworm-updates InRelease
Could not resolve 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://security.debian.org/dists/bookworm-security/InRelease Could not resolve 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
β ‡The following additional packages will be installed:
libcurl4 libglib2.0-0 libglib2.0-data libgpm2 mc-data shared-mime-info unzip xdg-user-dirs
Suggested packages:
low-memory-monitor gpm arj catdvi | texlive-binaries dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils python python-boto python-tz unar wimtools xpdf
| pdf-viewer zip
⠏The following NEW packages will be installed:
curl libcurl4 libglib2.0-0 libglib2.0-data libgpm2 mc mc-data shared-mime-info sudo unzip xdg-user-dirs
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,035 kB of archives.
After this operation, 35.3 MB of additional disk space will be used.
Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7
Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7
Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3
Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3
Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1
Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2
Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28
Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1
Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7
Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7
Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3
Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3
Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1
Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2
Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28
Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1
Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7
Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7
Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3
Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3
Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1
Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2
Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28
Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1
Err:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1
Could not resolve 'deb.debian.org'
Err:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7
Could not resolve 'deb.debian.org'
Err:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3
Could not resolve 'deb.debian.org'
Err:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3
Could not resolve 'deb.debian.org'
Err:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1
Could not resolve 'deb.debian.org'
Err:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2
Could not resolve 'deb.debian.org'
Err:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2
Could not resolve 'deb.debian.org'
Err:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1
Could not resolve 'deb.debian.org'
Err:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28
Could not resolve 'deb.debian.org'
Err:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1
Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/sudo/sudo_1.9.13p3-1%2bdeb12u1_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl4_7.88.1-10%2bdeb12u7_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/curl_7.88.1-10%2bdeb12u7_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib2.0/libglib2.0-0_2.74.6-2%2bdeb12u3_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib2.0/libglib2.0-data_2.74.6-2%2bdeb12u3_all.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gpm/libgpm2_1.20.7-10%2bb1_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mc/mc-data_4.8.29-2_all.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mc/mc_4.8.29-2_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/shared-mime-info/shared-mime-info_2.2-1_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/u/unzip/unzip_6.0-28_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xdg-user-dirs/xdg-user-dirs_0.18-1_amd64.deb Could not resolve 'deb.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
/dev/stdin: line 71: curl: command not found

[ERROR] in line 217: exit code 0: while executing command $STD apt-get install -y sudo curl mc
/dev/stdin: line 83: post_update_to_api: command not found
/dev/stdin: line 14: pop_var_context: head of shell_variables not a function context
/dev/fd/63: line 72: SPINNER_PID: unbound variable`

πŸ”„ Steps to reproduce the issue.

run
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/proxmox-backup-server.sh)"

❌ Paste the full error output (if available).

dig result for deb.debian.org:

`root@brix:~# dig deb.debian.org

; <<>> DiG 9.18.33-1~deb12u2-Debian <<>> deb.debian.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2752
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;deb.debian.org. IN A

;; ANSWER SECTION:
deb.debian.org. 858 IN CNAME debian.map.fastlydns.net.
debian.map.fastlydns.net. 16 IN A 151.101.130.132
debian.map.fastlydns.net. 16 IN A 151.101.194.132
debian.map.fastlydns.net. 16 IN A 151.101.66.132
debian.map.fastlydns.net. 16 IN A 151.101.2.132

;; Query time: 36 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Mon Apr 28 09:45:47 EEST 2025
;; MSG SIZE rcvd: 145`

ping for deb.debian.org:
root@brix:~# ping deb.debian.org PING debian.map.fastlydns.net (151.101.194.132) 56(84) bytes of data. 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=1 ttl=56 time=23.7 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=2 ttl=56 time=23.9 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=3 ttl=56 time=30.2 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=4 ttl=56 time=22.4 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=5 ttl=56 time=23.4 ms ^C --- debian.map.fastlydns.net ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 22.446/24.736/30.220/2.786 ms

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions