Error writing snapshot ... Permission denied

Since a couple of days I need to reboot influxdb every 10h because it doesn’t store any data (even if the process is running).
While investigating I notice syslog is HUGE (close to 200M) and full of influxdb error.
It’s always the same 2 errors.

Feb 19 06:25:04 server influxd[6702]: [I] 2018-02-19T11:25:04Z error writing snapshot: error opening new segment file for wal (1): open /raid10/influxdb/wal/graphite/autogen/75/_83294.wal: permission denied$
Feb 19 06:25:04 server influxd[6702]: [I] 2018-02-19T11:25:04Z Snapshot for path /raid10/influxdb/data/stats/autogen/74 written in 60.377µs engine=tsm1

When I look in the influxdb, permission are good, all belong to influxdb.
However I find out there is one folder /data/stats/autogen/75 who belong to root.
Since it’s autogen, how it can belong to root?

Thank for the help,
iLevac

I changed ownership of every autogen folder that was belonging to root and restart the service.
Keeping you posted.