Hi Folks, looking for advice or guidance on doing an offline install please? I have had a look at things like dpkg-offline, but it looks as if it has not been maintained in a few years and I don’t know how it would deal with the key install. Sorry I’m a Python programmer so struggling my way through some of the Linux jargon!. Kind Regards S
No quite sure what you mean about offline install, but this is what I did :
Thanks, for that. By ‘Offline install’, I mean on a raspberry Pi that does not have access to the internet. It is in a industrial setting on a large control system LAN. I can access it via SSH or VNC and can transfer files to it but only the required ports for SSH and VNC are opened on it’s network port. I suppose what I am looking for is more readily called a ‘portable version’, my mistake.
hi, as per doc
https://portal.influxdata.com/downloads/
on machine with inet
$ wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-arm64.deb
then transfer with $scp to your rpi and do all via ssh. should work
pavel
I gave it a try but I get this error:
pi@raspberrypi:~ $ sudo dpkg -i influxdb2-2.0.6-arm64.deb
dpkg: error processing archive influxdb2-2.0.6-arm64.deb (–install):
package architecture (arm64) does not match system (armhf)
Errors were encountered while processing:
influxdb2-2.0.6-arm64.deb
I think I read somewhere that you have to enable the arm64 kernel! Does this sound correct?
Ok, I managed to find this version for Buster:
http://ftp.us.debian.org/debian/pool/main/i/influxdb/influxdb_1.6.4-1+deb10u1_armhf.deb
It installed ok with dpkg, and is running. Thanks for the help folks.
You may run into some (sum, mean, other statistical valuations) with 32bit influxdb on arm. Last I heard those were still open and unresolved.
If so, you can run the 64bit version if you also switch over to the 64bit kernel too.
Unfortunately I have run into the dreaded ‘404 page not found’ error and can’t do anything!
Edit: I have worked out that there is no UI for this version.
I have managed to configure it from a Python3 command line using the following commands:
C:\Users\SimonDreyer>python3
Python 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
from influxdb import InfluxDBClient
ic = InfluxDBClient(‘192.168.0.20’,8086,‘influxdb’,‘’, None)
db = ic.get_list_database()
db
[{‘name’: ‘_internal’}]
ic.create_database(‘gac_data’)
ic.switch_database(‘gac_data’)
ic.create_user(‘mqtt’,‘mqtt’,True)
db = ic.get_list_database()
db
[{‘name’: ‘_internal’}, {‘name’: ‘gac_data’}]