Stats4Lox - Das Statistik-Plugin

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Kwarts
    Azubi
    • 05.04.2020
    • 3

    #796

    Hello,

    I'm unable to install Stats4Lox-NG version 0.9.10.1 on my LoxBerry 3.0.1.3 setup (Raspberry Pi 5, DietPi, ARM64 architecture). After extensive troubleshooting, I've identified a bug in the installation script that prevents successful installation. Problem Description


    The plugin installation consistently fails during the postroot.sh script execution with the following error:

    /opt/loxberry/data/system/tmp/uploads/.../postroot.sh: line 224: -ssl: command not found
    ERROR: Could not create default InfluxDB user. Giving up.
    CRITICAL: Script/Command fails. Installation cannot be continued. Root Cause Analysis


    I've identified two separate issues: Issue 1: InfluxDB Repository GPG Key Problem


    The installation tries to add the InfluxDB repository but fails to properly configure the GPG key:

    NO_PUBKEY DA61C26A0585BD3B
    E: The repository 'https://repos.influxdata.com/debian stable InRelease' is not signed.
    Error installing influxdb telegraf grafana - Error 100

    This prevents Telegraf from being installed since it's only available in the InfluxDB repository. Issue 2: Bug in postroot.sh Line 224


    Even when manually pre-installing all required packages (influxdb, telegraf, grafana) to bypass Issue 1, the installation still fails at line 224 of postroot.sh when attempting to create the InfluxDB user. The script appears to have incorrect command syntax for the SSL parameters. Attempted Workarounds


    I attempted to work around both issues by:
    1. Pre-installing all required packages manually
    2. Manually creating the InfluxDB user after installation fails
    3. Manually configuring systemd services

    However, these workarounds do NOT result in a fully functional Stats4Lox installation. The plugin remains broken. Installation Logs


    I have complete installation logs showing both the initial failure and the behavior after pre-installing packages. The logs clearly show:
    • Line 672: Packages successfully installed
    • Line 704: InfluxDB service starts successfully
    • Line 706-707: Installation fails at the user creation step
    • Line 708: Installation terminates

    I can provide these logs if helpful for debugging. System Information
    • LoxBerry: 3.0.1.3
    • OS: DietPi V9.20.1 (Debian 12 Bookworm)
    • Hardware: Raspberry Pi 5 (ARM64)
    • Stats4Lox version: 0.9.10.1
    Request


    Could the developer please look into:
    1. The InfluxDB repository GPG key configuration
    2. The syntax error in postroot.sh line 224

    Is there a known working version for ARM64/Debian 12 systems, or is this a known issue being worked on?

    Thank you for your assistance.
    Zuletzt geändert von Kwarts; vor 3 Tagen.

    Kommentar

    Lädt...