Hi all,
I have Emoncms running on a raspberry pi zero, but can’t seem to get my feeds/visualizations running properly. Whenever I open a visualization, I get the following error:
Message: Uncaught TypeError: Cannot read property '0' of undefined
Route: vis/realtime?feedid=28&colour=edc240&kw=0&embed=1
Line: 118
Column: 75
I am not great at programming but am able to figure out most things with the help of Google, but this has me stumped.
Any idea what could be going on?
Also, when I look at my feeds, I get this error:
example: http://xxx.xxx.xxx.xxx/emoncms/graph/28
Produces:
## 406 Not Acceptable
URI not acceptable. **Graph** cannot respond to **"28"** .
Try another link from the menu.
feed/list.json:
[{"id":"28","userid":"1","name":"V1","datatype":"1","tag":"Emon","public":"0","size":"0","engine":"5","unit":"V","value":123.05,"time":1571061455,"start_time":0,"interval":10}]
Admin Markdown:
Server Information
Server Information
Services
- emoncms_mqtt :- Active Running
- redis-server :- Active Running
- mosquitto :- Active Running
Emoncms
- Version :- low-write 10.1.8
- Modules :- Administration | Device v2.0.1 | EventProcesses | Feed | Input | CoreProcess | Schedule | Time | User | Visualisation
-
Git :-
- URL :- GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data
- Branch :- * master
- Describe :- 10.1.8-35-ge66e9f2a
Server
- OS :- Linux 4.19.75+
- Host :- raspberrypi | raspberrypi | (192.168.1.167)
- Date :- 2019-10-14 15:01:14 BST
- Uptime :- 15:01:14 up 15:11, 3 users, load average: 1.08, 0.62, 0.44
Memory
-
RAM :- Used: 37.21%
- Total :- 432.69 MB
- Used :- 161 MB
- Free :- 271.69 MB
-
Swap :- Used: 39.00%
- Total :- 100 MB
- Used :- 39 MB
-
Free :- 61 MB
Write Load Period
Disk
-
/ :- Used: 23.38%
- Total :- 14.19 GB
- Used :- 3.32 GB
- Free :- 10.24 GB
- Write Load :- 5.7 KB/s (10 hours 39 mins)
-
/boot :- Used: 20.55%
- Total :- 252.05 MB
- Used :- 51.79 MB
- Free :- 200.26 MB
- Write Load :- 0 B/s (10 hours 39 mins)
HTTP
- Server :- Apache/2.4.38 (Raspbian) HTTP/1.1 CGI/1.1 80
MySQL
- Version :- 5.5.5-10.3.17-MariaDB-0+deb10u1
- Host :- localhost:6379 (127.0.0.1)
- Date :- 2019-10-14 15:01:13 (UTC 01:00)
- Stats :- Uptime: 45767 Threads: 21 Questions: 160165 Slow queries: 0 Opens: 184 Flush tables: 1 Open tables: 38 Queries per second avg: 3.499
Redis
-
Version :-
- Redis Server :- 5.0.3
- PHP Redis :- 5.0.2
- Host :- localhost:6379
- Size :- 112 keys (4.01M)
- Uptime :- 0 days
MQTT Server
- Version :- Mosquitto 1.5.7
- Host :- localhost:1883 (127.0.0.1)
PHP
- Version :- 7.3.9-1~deb10u1 (Zend Version 3.3.9)
- Modules :- apache2handler | calendar v7.3.9-1~deb10u1 | Core v7.3.9-1~deb10u1 | ctype v7.3.9-1~deb10u1 | curl v7.3.9-1~deb10u1 | date v7.3.9-1~deb10u1 | dom v20031129 | exif v7.3.9-1~deb10u1 | fileinfo v7.3.9-1~deb10u1 | filter v7.3.9-1~deb10u1 | ftp v7.3.9-1~deb10u1 | gd v7.3.9-1~deb10u1 | gettext v7.3.9-1~deb10u1 | hash v7.3.9-1~deb10u1 | iconv v7.3.9-1~deb10u1 | igbinary v3.0.0 | json v1.7.0 | libxml v7.3.9-1~deb10u1 | mbstring v7.3.9-1~deb10u1 | mosquitto v0.4.0 | mysqli v7.3.9-1~deb10u1 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ | openssl v7.3.9-1~deb10u1 | pcre v7.3.9-1~deb10u1 | PDO v7.3.9-1~deb10u1 | pdo_mysql v7.3.9-1~deb10u1 | Phar v7.3.9-1~deb10u1 | posix v7.3.9-1~deb10u1 | readline v7.3.9-1~deb10u1 | redis v5.0.2 | Reflection v7.3.9-1~deb10u1 | session v7.3.9-1~deb10u1 | shmop v7.3.9-1~deb10u1 | SimpleXML v7.3.9-1~deb10u1 | sockets v7.3.9-1~deb10u1 | sodium v7.3.9-1~deb10u1 | SPL v7.3.9-1~deb10u1 | standard v7.3.9-1~deb10u1 | sysvmsg v7.3.9-1~deb10u1 | sysvsem v7.3.9-1~deb10u1 | sysvshm v7.3.9-1~deb10u1 | tokenizer v7.3.9-1~deb10u1 | wddx v7.3.9-1~deb10u1 | xml v7.3.9-1~deb10u1 | xmlreader v7.3.9-1~deb10u1 | xmlwriter v7.3.9-1~deb10u1 | xsl v7.3.9-1~deb10u1 | Zend OPcache v7.3.9-1~deb10u1 | zlib v7.3.9-1~deb10u1
Pi
-
Model :- Raspberry Pi Model Zero W Rev 1.1 - 512MB (Sony UK)
-
Serial num. :- 736B3191
-
Temperature :- 40.08°C - N/A (to show GPU temp execute this command from the console “sudo usermod -G video www-data” )
-
emonpiRelease :- - File-system :- read-write