You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I switched my InfluxDB data directory from local storage to NFS storage and encountered an issue. Initially, I set up InfluxDB with local storage, created an API token, and everything worked fine. However, after migrating the data to NFS storage, I'm unable to create new tokens, and data writing to the InfluxDB bucket using the token does not seem to work. Below is my Docker Compose configuration. The user with UID 3000 has the necessary permissions for the NFS storage.
services:
influxdb:
image: influxdb:latest
container_name: influxdb
user: "3000:3000"
network_mode: bridge
volumes:
# Mount for influxdb data directory and configuration
# - /var/dockerData/Influxdb/InfluxdbData:/var/lib/influxdb2 # Local Storage
- /var/dockerData/Influxdb/InfluxdbConfig:/etc/influxdb2
- /mnt/truenas-share/Debian/Database/Influxdb/InfluxdbData:/var/lib/influxdb2 # nfs Storage
ports:
- 8086:8086
environment:
- INFLUXD_LOG_LEVEL=debug
restart: unless-stopped
Here are the debug logs when I attempt to create a new token:
Currently, I've reverted to using local storage, which works fine, but I prefer to use NFS storage due to space constraints. Any guidance or suggestions on what might be wrong or how to resolve this issue would be greatly appreciated.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi All,
Recently, I switched my InfluxDB data directory from local storage to NFS storage and encountered an issue. Initially, I set up InfluxDB with local storage, created an API token, and everything worked fine. However, after migrating the data to NFS storage, I'm unable to create new tokens, and data writing to the InfluxDB bucket using the token does not seem to work. Below is my Docker Compose configuration. The user with UID 3000 has the necessary permissions for the NFS storage.
Here are the debug logs when I attempt to create a new token:
Currently, I've reverted to using local storage, which works fine, but I prefer to use NFS storage due to space constraints. Any guidance or suggestions on what might be wrong or how to resolve this issue would be greatly appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: