I can't create dashboard in thingsboard in my Raspberry Pi - raspberry-pi

I installed Thingsboard on Raspberry Pi 3 b+ and Use Postgres as dtb. Installing the program well. I just test by sending data to Thingsboard. It's work!
When I click dashboard tab. Red massage appear at top left
"GET: /api/customer/211f0000-df24-1412-8080-808080808080/shortInfo 404: "
GET Message Error Picture
'
When I try to create Thingsboard. All widget are disappear with message
"Access Forbidden You haven't access rights to this location! Try to sign in with different user if you still wish to gain access to this location."
Anyone know what happen and how to fix it. Thanks
Access Forbidden Message Picture

Just had that same problem on my raspberry pi 3b+. I solved it by changing all the assets and devices that were used on the dashboard do the same customer, in my case, public.

Related

Google Cloud SQL setup & connecting to App Maker

I'm trying to get a Cloud SQL database connected to Google App Maker. I've followed the step by step instructions found here: https://developers.google.com/appmaker/models/cloudsql, apparently successfully (no error messages in setup.)
But, still getting the error message that it isn't set up properly, and the instance name is incorrect. :/
What. in the world.
Also, when I go back into App Maker and click on settings, I do not get a "database" option to select.
How do I proceed??
You must firs setup CloudSql instance in G-suite admin https://support.google.com/a/answer/7550053?hl=en

NOC TVs needing to automatically login for monitoring website

Background: NOC (Network Operation Center) TVs have raspberry pi with raspbian connected.
Issue: Website will not login automatically.
Goal: Raspberry pi boot, open chromium, open website, credentials inserted automatically, and Login.
I was able to resolve the majority of the issues except for the website auto-login.
config/lxsession/LXDE-pi/autostart
#/usr/bin/chromium-browser --incognito --start-maximized --kiosk https://solarwinds.com
#unclutter
#xset s off
#xset s noblank
#xset -dpms
This issue isn't specifically to raspbian but that is the OS I'm needing the solution for.
A login Python script resolved this issue, selenium-IDE was able to record actions and make it a script. It was very handy.

Raspberry Pi + ownCloud: never stops finishing setup wizard

Model: Raspberry Pi 3 model B+
OS: Raspbian Stretch
Target disk for data storage: Netgear readyNAS (NTFS, fstab mounted) with share for ownCloud and www-data as owner on mount
I've been following this guide for installing and setting up ownCloud on my Pi. I've been following every step and doing exactly what the guide says.
It all goes well until the very last step where I fill out the forms for setting up ownCloud via the browser, seemingly correct inputs and no errors, and when i click the finish button it just loads forever. The browser also indicates that the page is loading and this goes on forever.
Tables in the ownCloud database on the Pi gets created so something is happening, but it never seems to create the admin user as the oc_users table is empty no matter how long I wait. The Pi also seems to slow down drastically when doing this as it takes forever to perform simple and otherwise instant tasks like ls, rmdir, rm, etc...
The target disk for data storage as filled in in the ownCloud wizard data directory path is a NAS disk mounted with www-data (uid/guid 33) as owner and chmoded with 777. I know for a fact that the www-data user has the right privileges to the disk since I've overcome permission issues before as well as the correct mysql credentials. Ive tried ownCloud version 10.0.3/8 and 9.1.8 with the same result.
Has anybody encountered this issue before or have any clue what this is all about?
Turns out it was just insanely slow..
Had it running for about 2 hours and it finally finished and prompted me to the login page where I was able to login and finally use my ownCloud. Installed a php cache optimizer and it seemed to have improved a bit.

Trouble getting RPi device data in IBM IoT input node

I'm having trouble getting "device" data from a Raspberry Pi to show up via an IBM IoT input node in Node-RED. I know the data is making it into the Watson IoT cloud, since I can see it under "recent events" in the device panel. However, I'm getting an "Imported Unrecognized Type: wiotp-credentials" error when I refresh Node-RED.
Any idea where I'm going wrong?
Ok, amadain was correct. I had two browsers open with NodeRed, one for bluemix and the other for a Pi ... and inadvertently cut & pasted some node information from the Pi to blumix. Once I removed the errant node, everything worked fine.
I'm suspecting you imported something from a NodeRed flow on the Pi to NodeRed on bluemix? There are slight differences in the nodes and also credentials don't import. You might want to add a new IBMIOT (Input) node and then create new credentials. Take or create the API keys from your organisation-access-api keys (https://.internetofthings.ibmcloud.com/dashboard/#/access/apikeys

Node-Red: "Error: <nodename> node not deployed" on Raspberry Pi B+

Last week I got to know node-red (what a potential!), and after installing it on a Raspberry Pi B+ and following the basic tutorials, I'm experiencing some issues.
When I follow the Inject + Debug node example, wire them, and deploy them, I get the message "Deploy sucessfull". So far so good. I'm running it locally on http:// localhost:1880.
Then when I click the Inject node or the Debug node, it says: "Error: Inject node not deployed" or "Error: Debug node not deployed".
Anyone know how to fix this error? Is it a server problem?
Was having the same issues and discovered the flow that I was working on was disabled.
You can tell the flow is disabled when the lettering on its tab is in italic and there is a circle with a diagonal line through it ahead of the lettering.
Double click the flow tab and change "status" to "enabled".
Just tried something and it worked:
When you run node --max-old-space-size=128 red.js, the command line shows you "cannot find flows_raspberrypi.json"
So I
1) created a flow (as in the examples) 2) Exported it as
"flows_raspberrypi.json" 3) Stopped node-red 4) Started it again
Bingo! It picked this flow up, which then "sucessfully injected".
Now just create your own flows...
I was also getting same problem of :- Node-red Error: inject node not deployed.
When I have install dashboard on Node-Red which was not working, and started giving error when I hit inject node.
So I manually deleted the files (flows-raspberrypi.json, package.json, settings.js) and also folders (lib, node_modules) from the path /home/pi/.node-red
I used vnc-viewer to delete manually files & folders. Just login to vnc-Viewer and open the file manager and paste the path "/home/pi/.node-red" & delete all the files. Reboot the Raspberry-Pi and start Node-Red, it will function normally, even after installing dashboard it is working.
NOTE:It will delete all your flows and install nodes from Node-Red. So keep backup of your flows.