• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

I just purchased smart home course. Having problems installing influxdb on my raspberry Pi.

Q&A Forum › I just purchased smart home course. Having problems installing influxdb on my raspberry Pi.
0 Vote Up Vote Down
Bob Stirling asked 2 years ago
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Can you provide more details?
What errors are you facing?
Regards,
Sara

0 Vote Up Vote Down
Bob Stirling answered 2 years ago

I HAVE TRIED LOADING INFLUXDB SEVERAL TIMES. THIS IS THE TEXT FROM THE SCREEN.

pi@raspberrypi:~ $ wget -q https://repos.influxdata.com/influxdb.key
pi@raspberrypi:~ $ echo
’23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5
d influxdb.key’ | sha256sum -c && cat influxdb.key | gpg —
dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg >
/dev/null

-bash: $’23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5\nd influxdb.key’: command not found
sha256sum: ‘standard input’: no properly formatted SHA256 checksum lines found
-bash: syntax error near unexpected token `newline’
-bash: /dev/null: Permission denied

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Can you try to copy the commands from here? Just to make sure the formatting was not messup during copy/paste.

 

wget -q https://repos.influxdata.com/influxdb.key


echo '23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5d influxdb.key' | sha256sum -c && cat influxdb.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null

 

echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list

 

sudo apt-get update && sudo apt-get install influxdb2

Let me know the results.

Regards,
Sara

0 Vote Up Vote Down
Bob Stirling answered 2 years ago

Thank you Sara, Your code worked. I tried the code from the course several times and it didn’t work.
It looks like this code was the cause.

madison13@raspberrypi:~ $ echo ’23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5d influxdb.key’ | sha256sum -c && cat influxdb.key | gpg –dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
influxdb.key: OK

Thank you
Bob

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Ok. Great.
The command must have been broken during copy/paste.
What PDF reader are you using? If you use Acrobat reader, the commands won’t be broken into several lines (which was what happened to you).
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.