Skip to content

Pironman5 service produces permission denied errors #88

Description

@y-vectorfield

Description

After fresh installation on Ubuntu 24.04 (Noble Numbat), pironman5 service
produces permission denied errors when InfluxDB tries to access data directory.

Error Log

[ERROR] Failed to set data: {"error":"not attempting to open shard 14; opening shard previously failed with: [shard 14] failed opening /var/lib/influxdb/data/pironman5-max/default_policy/14/fields.idx: open /var/lib/influxdb/data/pironman5-max/default_policy/14/fields.idx.tmp: permission denied"}

Workaround

sudo chmod 755 /var/lib/influxdb/
sudo systemctl restart pironman5.service

Root Cause

install.sh does not set appropriate permissions for /var/lib/influxdb directory.
Since pironman5.service runs as root, it cannot write to InfluxDB data.

Solution

Add permission setup in install.sh post-install section to ensure
/var/lib/influxdb is writable by root user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions