Hello @bidouilleur I think the problem may be caused by a virtual feed that no longer exists, but Im not sure. The line number of the error that you see does not match a line that I can see. You could try pulling in the latest emoncms:
cd /var/www/emoncms
git pull
If that does not work, perhaps clearing redis:
redis-cli flushall
and then reloading the page.
Assuming that you dont have any other applications using redis on the pi!
borpin
(Brian Orpin)
11 March 2019 20:05
22
@TrystanLea if @bidouilleur still has the backup, could you see what the issue is and try and fix permanently?
Just a thought. I think there have been a few instances of this on upgrades I think.
I have the backup
my guess is that sometimes it goes wrong when there were other feeds, even if you delete all and then import … maybe some traces remain somewhere that conflict with the import???
1 Like
Which version and branch of emoncms do you have @bidouilleur ? Id like to get to the bottom of that javascript error as a starting point.
@TrystanLea
just coming home and going back in that pi … mmmm heuuuu problem is gone …
Not sure what happened since yesterday. Tried again with Safari, Brave and FF … it all seems ok now. And I didn’t do anything since I posted yesterday …
in case
Server Information
Services
emonhub
Active Running
emoncms_mqtt
Active Running
feedwriter
Active Running - sleep 60s
service-runner
Active Running
emonPiLCD
Active Exited
redis-server
Active Running
mosquitto
Active Running
Emoncms
Version
low-write 9.9.8
Modules
Administration : App v1.2.1 : Backup v1.1.6 : EmonHub Config v1.1.0 : Dashboard v1.3.3 : Device v1.2.1 : EventProcesses : Feed : Graph v1.2.3 : Input : Postprocess v1.0.0 : CoreProcess : Schedule : Network Setup v1.0.0 : sync : Time : User : Visualisation : WiFi v1.3.1
Git
URL: GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data : Branch: * stable : Describe: 9.9.8-4-gd0db7a57
Server
OS
Linux 4.14.71-v7+
Host
emonpi : emonpi : (192.168.1.170)
Date
2019-03-12 16:34:31 UTC
Uptime
16:34:31 up 1 day, 7:49, 0 users, load average: 0.44, 0.24, 0.19
HTTP
Server
Apache/2.4.25 (Raspbian) HTTP/1.1 CGI/1.1 80
MySQL
Version
5.5.5-10.1.23-MariaDB-9+deb9u1
Host
127.0.0.1 (127.0.0.1)
Date
2019-03-12 16:34:30 (UTC 00:00)
Stats
Uptime: 115209 Threads: 2 Questions: 22212 Slow queries: 0 Opens: 32 Flush tables: 1 Open tables: 26 Queries per second avg: 0.192
Redis
Version
3.2.6
Host
localhost:6379 (127.0.0.1)
Size
Uptime
1 days
MQTT Server
Version
Mosquitto 1.4.10
Host
localhost:1883 (127.0.0.1)
Pi
Model
Raspberry Pi 2 Model B Rev 1.1 - 1 GB (Sony UK)
SoC
Broadcom BCM2835
Serial num.
D966F433
Temperature
CPU: 38.47°C - GPU: 38.5’C
Release
emonSD-30Oct18
Memory
RAM
Used: 21.08% Total: 976.74 MB Used: 205.9 MB Free: 770.84 MB
Swap
Used: 0.00% Total: 100 MB Used: 0 B Free: 100 MB
Disk
Mount
Stats
/
Used: 39.92% Total: 3.81 GB Used: 1.52 GB Free: 2.11 GB
/boot
Used: 51.74% Total: 42.52 MB Used: 22 MB Free: 20.52 MB
/home/pi/data
Used: 1.05% Total: 10.71 GB Used: 115.72 MB Free: 10.06 GB
PHP
Version
7.0.30-0+deb9u1 (Zend Version 3.0.0)
Modules
apache2handler : calendar v7.0.30-0+deb9u1 : Core v7.0.30-0+deb9u1 : ctype v7.0.30-0+deb9u1 : curl v7.0.30-0+deb9u1 : date v7.0.30-0+deb9u1 : dom v20031129 : exif v7.0.30-0+deb9u1 : fileinfo v1.0.5 : filter v7.0.30-0+deb9u1 : ftp v7.0.30-0+deb9u1 : gd v7.0.30-0+deb9u1 : gettext v7.0.30-0+deb9u1 : hash v1.0 : iconv v7.0.30-0+deb9u1 : igbinary v2.0.1 : json v1.4.0 : libxml v7.0.30-0+deb9u1 : mbstring v7.0.30-0+deb9u1 : mcrypt v7.0.30-0+deb9u1 : mosquitto v0.4.0 : mysqli v7.0.30-0+deb9u1 : mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ : openssl v7.0.30-0+deb9u1 : pcre v7.0.30-0+deb9u1 : PDO v7.0.30-0+deb9u1 : pdo_mysql v7.0.30-0+deb9u1 : Phar v2.0.2 : posix v7.0.30-0+deb9u1 : readline v7.0.30-0+deb9u1 : redis v4.1.1 : Reflection v7.0.30-0+deb9u1 : session v7.0.30-0+deb9u1 : shmop v7.0.30-0+deb9u1 : SimpleXML v7.0.30-0+deb9u1 : sockets v7.0.30-0+deb9u1 : SPL v7.0.30-0+deb9u1 : standard v7.0.30-0+deb9u1 : sysvmsg v7.0.30-0+deb9u1 : sysvsem v7.0.30-0+deb9u1 : sysvshm v7.0.30-0+deb9u1 : tokenizer v7.0.30-0+deb9u1 : wddx v7.0.30-0+deb9u1 : xml v7.0.30-0+deb9u1 : xmlreader v7.0.30-0+deb9u1 : xmlwriter v7.0.30-0+deb9u1 : xsl v7.0.30-0+deb9u1 : Zend OPcache v7.0.30-0+deb9u1 : zlib v7.0.30-0+deb9u1
Client Information
HTTP
Browser
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15
Screen
Resolution
2560 x 1600
Window
Size
1324 x 1420