[GH-ISSUE #10306] InfluxDB installation script broken on Debian Trixie #2220

Closed
opened 2026-02-26 12:51:42 +03:00 by kerem · 0 comments
Owner

Originally created by @Bschdl on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10306

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 What is the name of the script you are using?

InfluxDB

📂 What was the exact command used to execute the script?

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.1.2/9d436f37a0ac4172 (running kernel: 6.17.4-1-pve)

📝 Provide a clear and concise description of the issue.

The script fails with an Error while insalling InfluxDB.
If you press "y" after the Error, then the container wont work (think this is expected though).

🔄 Steps to reproduce the issue.

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

Paste the full error output (if available).

    ____      ______           ____  ____ 
   /  _/___  / __/ /_  ___  __/ __ \/ __ )
   / // __ \/ /_/ / / / / |/_/ / / / __  |
 _/ // / / / __/ / /_/ />  </ /_/ / /_/ / 
/___/_/ /_/_/ /_/\__,_/_/|_/_____/_____/  
                                          
  ⚙️  Using Default Settings on node **********
  💡  PVE Version 9.1.2 (Kernel: 6.17.4-1-pve)
  🆔  Container ID: 104
  🖥️  Operating System: debian (13)
  📦  Container Type: Unprivileged
  💾  Disk Size: 8 GB
  🧠  CPU Cores: 2
  🛠️  RAM Size: 2048 MiB
  🚀  Creating a InfluxDB LXC using the above default settings
  
  ✔️   Storage local (Free: 13.9GB  Used: 8.7GB) [Template]
  ✔️   Storage local-lvm (Free: 851.0GB  Used: 15.7GB) [Container]
  ✔️   Storage 'local-lvm' (lvmthin) validated
  ✔️   Template storage 'local' validated
  ✔️   Template search completed
  ✔️   Template debian-13-standard_13.1-2_amd64.tar.zst [local]
  ✔️   Template debian-13-standard_13.1-2_amd64.tar.zst is present and valid.
  ✔️   LXC Container 104 was successfully created.
  ✔️   Started LXC Container
  ✔️   Network in LXC is reachable (ping)
  ✔️   Customized LXC Container
  ✔️   Set up Container OS
  ✔️   Network Connected: 192.168.178.77 fd61:a893:e6d2:0:be24:11ff:fe5e:bd4c 2a02:8071:5611:4580:be24:11ff:fe5e:bd4c 
  ✔️   IPv4 Internet Connected
  ✔️   IPv6 Internet Connected
  ✔️   Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
  ✔️   Updated Container OS
  ✔️   Set up InfluxDB Repository
      Which version of InfluxDB to install? (1 or 2) 2
⠋ Installing InfluxDBrm: cannot remove '/etc/apt/sources.list.d/influxdata.list': No such file or directory
  ✖️   in line 41: exit code 1 (General error / Operation not permitted): while executing command rm /etc/apt/sources.list.d/influxdata.list
--- Last 20 lines of silent log ---

Get:1 https://repos.influxdata.com/debian stable/main amd64 influxdata-archive-keyring all 2025.12.23 [10.7 kB]
Get:2 https://repos.influxdata.com/debian stable/main amd64 influxdb2 amd64 2.8.0-1 [39.8 MB]
Get:3 https://repos.influxdata.com/debian stable/main amd64 influxdb2-cli amd64 2.7.5-3 [11.7 MB]
Fetched 51.4 MB in 5s (10.8 MB/s)
Selecting previously unselected package influxdata-archive-keyring.
(Reading database ... 20271 files and directories currently installed.)
Preparing to unpack .../influxdata-archive-keyring_2025.12.23_all.deb ...
Unpacking influxdata-archive-keyring (2025.12.23) ...
Selecting previously unselected package influxdb2.
Preparing to unpack .../influxdb2_2.8.0-1_amd64.deb ...
Unpacking influxdb2 (2.8.0-1) ...
Selecting previously unselected package influxdb2-cli.
Preparing to unpack .../influxdb2-cli_2.7.5-3_amd64.deb ...
Unpacking influxdb2-cli (2.7.5-3) ...
Setting up influxdb2 (2.8.0-1) ...
Created symlink '/etc/systemd/system/influxd.service' → '/usr/lib/systemd/system/influxdb.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/influxdb.service' → '/usr/lib/systemd/system/influxdb.service'.
Setting up influxdata-archive-keyring (2025.12.23) ...
Setting up influxdb2-cli (2.7.5-3) ...
-----------------------------------
 📋 Log saved to: /root/.install-0251237d.log
  ✖️   Installation failed in container 104 (exit code: 1)

✔ Installation log: /tmp/install-lxc-104-0251237d.log

Remove broken container ***? (Y/n) [auto-remove in 60s]: n

  Container *** kept for debugging

🖼️ Additional context (optional).

From my investigation this line failes.
The files does not exist, thus deletion fails.

root@influxdb:~# ls -la /etc/apt/sources.list.d/
total 16
drwxr-xr-x 2 root root 4096 Dec 24 23:19 .
drwxr-xr-x 9 root root 4096 Oct  1 16:44 ..
-rw-r--r-- 1 root root  311 Oct  1 16:43 debian.sources
-rw-r--r-- 1 root root  129 Dec 24 23:19 influxdata.sources

Fom my understanding the script is broken on Debian Trixie.
It looks like the script works fine on Bookworm.

They switched suffixes from .list to .sources.
See this for reference.
I guess the MR was tested on an older version of Debian.

One solution would be to wildcard the suffix:

rm /etc/apt/sources.list.d/influxdata.*

Or try to delete the *.sources file if the *.list file cant be removed.

rm /etc/apt/sources.list.d/influxdata.list || rm /etc/apt/sources.list.d/influxdata.sources

Or just generally allow failture:

rm /etc/apt/sources.list.d/influxdata.list || true
rm /etc/apt/sources.list.d/influxdata.sources || true

I am new to this repo and I am not sure on how to handle abover; sorry!

Originally created by @Bschdl on GitHub (Dec 24, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10306 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? InfluxDB ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/influxdb.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.1.2/9d436f37a0ac4172 (running kernel: 6.17.4-1-pve) ### 📝 Provide a clear and concise description of the issue. The script fails with an Error while insalling InfluxDB. If you press "y" after the Error, then the container wont work (think this is expected though). ### 🔄 Steps to reproduce the issue. run script `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/influxdb.sh)"` ### ❌ Paste the full error output (if available). ``` ____ ______ ____ ____ / _/___ / __/ /_ ___ __/ __ \/ __ ) / // __ \/ /_/ / / / / |/_/ / / / __ | _/ // / / / __/ / /_/ /> </ /_/ / /_/ / /___/_/ /_/_/ /_/\__,_/_/|_/_____/_____/ ⚙️ Using Default Settings on node ********** 💡 PVE Version 9.1.2 (Kernel: 6.17.4-1-pve) 🆔 Container ID: 104 🖥️ Operating System: debian (13) 📦 Container Type: Unprivileged 💾 Disk Size: 8 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🚀 Creating a InfluxDB LXC using the above default settings ✔️ Storage local (Free: 13.9GB Used: 8.7GB) [Template] ✔️ Storage local-lvm (Free: 851.0GB Used: 15.7GB) [Container] ✔️ Storage 'local-lvm' (lvmthin) validated ✔️ Template storage 'local' validated ✔️ Template search completed ✔️ Template debian-13-standard_13.1-2_amd64.tar.zst [local] ✔️ Template debian-13-standard_13.1-2_amd64.tar.zst is present and valid. ✔️ LXC Container 104 was successfully created. ✔️ Started LXC Container ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.178.77 fd61:a893:e6d2:0:be24:11ff:fe5e:bd4c 2a02:8071:5611:4580:be24:11ff:fe5e:bd4c ✔️ IPv4 Internet Connected ✔️ IPv6 Internet Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ✔️ Set up InfluxDB Repository Which version of InfluxDB to install? (1 or 2) 2 ⠋ Installing InfluxDBrm: cannot remove '/etc/apt/sources.list.d/influxdata.list': No such file or directory ✖️ in line 41: exit code 1 (General error / Operation not permitted): while executing command rm /etc/apt/sources.list.d/influxdata.list --- Last 20 lines of silent log --- Get:1 https://repos.influxdata.com/debian stable/main amd64 influxdata-archive-keyring all 2025.12.23 [10.7 kB] Get:2 https://repos.influxdata.com/debian stable/main amd64 influxdb2 amd64 2.8.0-1 [39.8 MB] Get:3 https://repos.influxdata.com/debian stable/main amd64 influxdb2-cli amd64 2.7.5-3 [11.7 MB] Fetched 51.4 MB in 5s (10.8 MB/s) Selecting previously unselected package influxdata-archive-keyring. (Reading database ... 20271 files and directories currently installed.) Preparing to unpack .../influxdata-archive-keyring_2025.12.23_all.deb ... Unpacking influxdata-archive-keyring (2025.12.23) ... Selecting previously unselected package influxdb2. Preparing to unpack .../influxdb2_2.8.0-1_amd64.deb ... Unpacking influxdb2 (2.8.0-1) ... Selecting previously unselected package influxdb2-cli. Preparing to unpack .../influxdb2-cli_2.7.5-3_amd64.deb ... Unpacking influxdb2-cli (2.7.5-3) ... Setting up influxdb2 (2.8.0-1) ... Created symlink '/etc/systemd/system/influxd.service' → '/usr/lib/systemd/system/influxdb.service'. Created symlink '/etc/systemd/system/multi-user.target.wants/influxdb.service' → '/usr/lib/systemd/system/influxdb.service'. Setting up influxdata-archive-keyring (2025.12.23) ... Setting up influxdb2-cli (2.7.5-3) ... ----------------------------------- 📋 Log saved to: /root/.install-0251237d.log ✖️ Installation failed in container 104 (exit code: 1) ✔ Installation log: /tmp/install-lxc-104-0251237d.log Remove broken container ***? (Y/n) [auto-remove in 60s]: n Container *** kept for debugging ``` ### 🖼️ Additional context (optional). From my investigation [this](https://github.com/community-scripts/ProxmoxVE/blob/978f2a36a5fd8601203daa401f658f09b0107b68/install/influxdb-install.sh#L41C9-L41C12) line failes. The files does not exist, thus deletion fails. ``` root@influxdb:~# ls -la /etc/apt/sources.list.d/ total 16 drwxr-xr-x 2 root root 4096 Dec 24 23:19 . drwxr-xr-x 9 root root 4096 Oct 1 16:44 .. -rw-r--r-- 1 root root 311 Oct 1 16:43 debian.sources -rw-r--r-- 1 root root 129 Dec 24 23:19 influxdata.sources ``` Fom my understanding the script is broken on Debian Trixie. It looks like the script works fine on Bookworm. They switched suffixes from `.list` to `.sources`. See [this](https://wiki.debian.org/SourcesList#debian.sources) for reference. I guess [the](https://github.com/community-scripts/ProxmoxVE/pull/9723) MR was tested on an older version of Debian. One solution would be to wildcard the suffix: ``` rm /etc/apt/sources.list.d/influxdata.* ``` Or try to delete the `*.sources` file if the `*.list` file cant be removed. ``` rm /etc/apt/sources.list.d/influxdata.list || rm /etc/apt/sources.list.d/influxdata.sources ``` Or just generally allow failture: ``` rm /etc/apt/sources.list.d/influxdata.list || true rm /etc/apt/sources.list.d/influxdata.sources || true ``` I am new to this repo and I am not sure on how to handle abover; sorry!
kerem 2026-02-26 12:51:42 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2220
No description provided.