Installation of InfluxDB v2.8.0 LXC is broken #2129

Closed
opened 2026-02-05 03:51:59 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @heinemannj on GitHub (Dec 6, 2025).

Originally assigned to: @tremor021 on GitHub.

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 v2.8.0 LXC

📂 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.2-2-pve)

📝 Provide a clear and concise description of the issue.

Setups are broken with the following issue (installation without Telegram produce the same issue):

Error: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive.gpg != /etc/apt/keyrings/influxdata.gpg
Error: The list of sources could not be read.

✔ Installation log: /tmp/install-lxc-116-d7347eb8.log

Setting up influxdb2-cli (2.7.5-3) ...
✔️ Installed InfluxDB
Would you like to add Telegraf? <y/N> y
Installing TelegrafError: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive.gpg != /etc/apt/keyrings/influxdata.gpg
Error: The list of sources could not be read.
✖️ in line 47: exit code 47 (Unknown error): while executing command apt install -y telegraf
✖️ Installation failed in container 116 (exit code: 47)

✔ Installation log: /tmp/install-lxc-116-d7347eb8.log

🔄 Steps to reproduce the issue.

Please see above

Paste the full error output (if available).

Please see above

🖼️ Additional context (optional).

No response

Originally created by @heinemannj on GitHub (Dec 6, 2025). Originally assigned to: @tremor021 on GitHub. ### ✅ 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 v2.8.0 LXC ### 📂 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 - [x] 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.2-2-pve) ### 📝 Provide a clear and concise description of the issue. Setups are broken with the following issue (installation without Telegram produce the same issue): ``` Error: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive.gpg != /etc/apt/keyrings/influxdata.gpg Error: The list of sources could not be read. ``` ✔ Installation log: /tmp/install-lxc-116-d7347eb8.log Setting up influxdb2-cli (2.7.5-3) ... ✔️ Installed InfluxDB Would you like to add Telegraf? <y/N> y ⏳ Installing TelegrafError: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive.gpg != /etc/apt/keyrings/influxdata.gpg Error: The list of sources could not be read. ✖️ in line 47: exit code 47 (Unknown error): while executing command apt install -y telegraf ✖️ Installation failed in container 116 (exit code: 47) ✔ Installation log: /tmp/install-lxc-116-d7347eb8.log ### 🔄 Steps to reproduce the issue. Please see above ### ❌ Paste the full error output (if available). Please see above ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 03:51:59 +03:00
Author
Owner

@MickLesk commented on GitHub (Dec 6, 2025):

Can you do following in the LXC:

grep -r "influxdata" /etc/apt/sources.list /etc/apt/sources.list.d/

@MickLesk commented on GitHub (Dec 6, 2025): Can you do following in the LXC: grep -r "influxdata" /etc/apt/sources.list /etc/apt/sources.list.d/
Author
Owner

@heinemannj commented on GitHub (Dec 6, 2025):

Can I already test the bugfix?

If pretesting is possible in which way to excecute?

@heinemannj commented on GitHub (Dec 6, 2025): Can I already test the bugfix? If pretesting is possible in which way to excecute?
Author
Owner

@heinemannj commented on GitHub (Dec 6, 2025):

grep -r "influxdata" /etc/apt/sources.list /etc/apt/sources.list.d/

I have used your patched branch tremor021-patch-2:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/tremor021-patch-2/ct/influxdb.sh)"

Running again into issues:

Setting up influxdata-archive-keyring (2025.07.18) ...
Creating config file /etc/apt/sources.list.d/influxdata.list with new version
Setting up influxdb2-cli (2.7.5-3) ...
✔️ Installed InfluxDB
Would you like to add Telegraf? <y/N> y
Installing TelegrafError: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive.gpg != /etc/apt/keyrings/influxdata.gpg
Error: The list of sources could not be read.
✖️ in line 47: exit code 47 (Unknown error): while executing command apt install -y telegraf
✖️ Installation failed in container 116 (exit code: 47)

✔ Installation log: /tmp/install-lxc-116-d4df7f6b.log

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

Container 116 kept for debugging
root@pve1:~#


`grep -r "influxdata" /etc/apt/sources.list /etc/apt/sources.list.d/`

root@influxdb:/etc/apt/sources.list.d# grep -r "influxdata" /etc/apt/sources.list /etc/apt/sources.list.d/
grep: /etc/apt/sources.list: No such file or directory
/etc/apt/sources.list.d/influxdata.sources:URIs: https://repos.influxdata.com/debian
/etc/apt/sources.list.d/influxdata.sources:Signed-By: /etc/apt/keyrings/influxdata.gpg
/etc/apt/sources.list.d/influxdata.list:deb [signed-by=/usr/share/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main
root@influxdb:/etc/apt/sources.list.d#


root@influxdb:/etc/apt/sources.list.d# ls -lisa /etc/apt/keyrings/influxdata.gpg
131225 4 -rw-r--r-- 1 root root 1185 Dec 6 14:34 /etc/apt/keyrings/influxdata.gpg
root@influxdb:/etc/apt/sources.list.d#


There is potentially a wrong reference in `/etc/apt/sources.list.d/influxdata.list`

`grep -r "influxdata" /etc/apt/sources.list.d/influxdata.list`

root@influxdb:/etc/apt/sources.list.d# grep -r "influxdata" /etc/apt/sources.list.d/influxdata.list
deb [signed-by=/usr/share/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main
root@influxdb:/etc/apt/sources.list.d#

@heinemannj commented on GitHub (Dec 6, 2025): > grep -r "influxdata" /etc/apt/sources.list /etc/apt/sources.list.d/ I have used your patched branch `tremor021-patch-2`: `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/tremor021-patch-2/ct/influxdb.sh)"` Running again into issues: Setting up influxdata-archive-keyring (2025.07.18) ... Creating config file /etc/apt/sources.list.d/influxdata.list with new version Setting up influxdb2-cli (2.7.5-3) ... ✔️ Installed InfluxDB Would you like to add Telegraf? <y/N> y ⏳ Installing TelegrafError: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive.gpg != /etc/apt/keyrings/influxdata.gpg Error: The list of sources could not be read. ✖️ in line 47: exit code 47 (Unknown error): while executing command apt install -y telegraf ✖️ Installation failed in container 116 (exit code: 47) ✔ Installation log: /tmp/install-lxc-116-d4df7f6b.log Remove broken container 116? (Y/n) [auto-remove in 60s]: n Container 116 kept for debugging root@pve1:~# ``` `grep -r "influxdata" /etc/apt/sources.list /etc/apt/sources.list.d/` ``` root@influxdb:/etc/apt/sources.list.d# grep -r "influxdata" /etc/apt/sources.list /etc/apt/sources.list.d/ grep: /etc/apt/sources.list: No such file or directory /etc/apt/sources.list.d/influxdata.sources:URIs: https://repos.influxdata.com/debian /etc/apt/sources.list.d/influxdata.sources:Signed-By: /etc/apt/keyrings/influxdata.gpg /etc/apt/sources.list.d/influxdata.list:deb [signed-by=/usr/share/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main root@influxdb:/etc/apt/sources.list.d# ``` ``` root@influxdb:/etc/apt/sources.list.d# ls -lisa /etc/apt/keyrings/influxdata.gpg 131225 4 -rw-r--r-- 1 root root 1185 Dec 6 14:34 /etc/apt/keyrings/influxdata.gpg root@influxdb:/etc/apt/sources.list.d# ``` There is potentially a wrong reference in `/etc/apt/sources.list.d/influxdata.list` `grep -r "influxdata" /etc/apt/sources.list.d/influxdata.list` ``` root@influxdb:/etc/apt/sources.list.d# grep -r "influxdata" /etc/apt/sources.list.d/influxdata.list deb [signed-by=/usr/share/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main root@influxdb:/etc/apt/sources.list.d# ```
Author
Owner

@tremor021 commented on GitHub (Dec 6, 2025):

Please wait for PR to merge, then install... It doesn't work like that...

@tremor021 commented on GitHub (Dec 6, 2025): Please wait for PR to merge, then install... It doesn't work like that...
Author
Owner

@heinemannj commented on GitHub (Dec 6, 2025):

The bugfix provided by #9720 doesn't work for me.

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.07.18) ...
Creating config file /etc/apt/sources.list.d/influxdata.list with new version
Setting up influxdb2-cli (2.7.5-3) ...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Error: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive.gpg != /etc/apt/keyrings/influxdata.gpg
Error: The list of sources could not be read.
-----------------------------------
 📋 View full log (202 lines): /root/.install-6c49852a.log
  ✖️   Installation failed in container 116 (exit code: 100)

✔ Installation log: /tmp/install-lxc-116-6c49852a.log

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

  Container 116 kept for debugging
@heinemannj commented on GitHub (Dec 6, 2025): The bugfix provided by [#9720](https://github.com/community-scripts/ProxmoxVE/pull/9720) doesn't work for me. ``` 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.07.18) ... Creating config file /etc/apt/sources.list.d/influxdata.list with new version Setting up influxdb2-cli (2.7.5-3) ... WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Error: Conflicting values set for option Signed-By regarding source https://repos.influxdata.com/debian/ stable: /usr/share/keyrings/influxdata-archive.gpg != /etc/apt/keyrings/influxdata.gpg Error: The list of sources could not be read. ----------------------------------- 📋 View full log (202 lines): /root/.install-6c49852a.log ✖️ Installation failed in container 116 (exit code: 100) ✔ Installation log: /tmp/install-lxc-116-6c49852a.log Remove broken container 116? (Y/n) [auto-remove in 60s]: n Container 116 kept for debugging ```
Author
Owner

@heinemannj commented on GitHub (Dec 6, 2025):

Please reopen

@heinemannj commented on GitHub (Dec 6, 2025): Please reopen
Author
Owner

@heinemannj commented on GitHub (Dec 6, 2025):

Bingo - It works!

Many thanks!!!

@heinemannj commented on GitHub (Dec 6, 2025): Bingo - It works! Many thanks!!!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2129