Ah, so the tarball packages don't have the necessary permissions to run InfluxDB as a service. What distribution of Linux are you running? Can you not use the RPM or DEB packages instead?
If not, you'll need to create the following directories with owner:group as influxdb: - /var/lib/influxdb - /etc/influxdb And you'll want to take the systemd unit file from here <https://github.com/influxdata/influxdb/blob/master/scripts/influxdb.service> . Thanks, Ross On Thu, Sep 15, 2016 at 4:04 PM, Teppo Kurki <t...@iki.fi> wrote: > Maybe I'm doing something else wrong? > > uname -a > > Linux xxxxx 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l > GNU/Linux > > wget https://dl.influxdata.com/influxdb/releases/influxdb-1. > 0.0_linux_armhf.tar.gz > > sudo tar xvf influxdb-1.0.0_linux_armhf.tar.gz -C / --strip-components=2 > adduser influxdb > > sudo -u influxdb -s > > influxd > > [run] 2016/09/16 00:01:36 InfluxDB starting, version 1.0.0, branch master, > commit 37992377a55fbc138b2c01edd4deffed64b53989 > > [run] 2016/09/16 00:01:36 Go version go1.6.2, GOMAXPROCS set to 4 > > [run] 2016/09/16 00:01:36 Using configuration at: > /etc/influxdb/influxdb.conf > > run: create server: open /var/lib/influxdb/meta/meta.dbtmp: permission > denied > > On Thu, Sep 15, 2016 at 11:53 PM, <r...@influxdb.com> wrote: > >> What OS and version are you running on the Pi? What version of InfluxDB? >> Where did you download the package from? >> >> We haven't heard of any other issues with permissions, so I'm not sure >> what the issue could be. >> >> On Thursday, September 15, 2016 at 3:35:15 PM UTC-5, teppo...@gmail.com >> wrote: >>> >>> I started to look into an Ansible script to install InfluxDB on my >>> Raspberry Pi. >>> >>> Download & extract & run as root work, but I would like to use the stock >>> systemd unit file, where the user is influxdb. All the files in the archive >>> are root/root owner/group. >>> >>> Is there an easier method than trial and error to figure out the correct >>> ownerships? >>> >>> > -- > Remember to include the InfluxDB version number with all issue reports > --- > You received this message because you are subscribed to the Google Groups > "InfluxDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to influxdb+unsubscr...@googlegroups.com. > To post to this group, send email to influxdb@googlegroups.com. > Visit this group at https://groups.google.com/group/influxdb. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/influxdb/CAOyOCEBkFXkfb1XGKroG4KPp2WFOXfOf-kR4xpa%3DSThZ-a3vrA% > 40mail.gmail.com > <https://groups.google.com/d/msgid/influxdb/CAOyOCEBkFXkfb1XGKroG4KPp2WFOXfOf-kR4xpa%3DSThZ-a3vrA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+unsubscr...@googlegroups.com. To post to this group, send email to influxdb@googlegroups.com. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAD8sRLDinj0v1ey-Srn0ygWiVOQzqqzS0X1g4KiJYuE8oYU6og%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.