Neil
(Neil Hastings)
1
Hello,
I’m currently on: low-write 10.1.4-beta. I would like to upgrade to the latest Stable version but am not sure how to switch from Beta to Stable. It was explained to me in the past (that’s how I got to Beta) but I’ve forgotten how.
Thanks,
Neil
Server Information
Server Information
Services
-
emonhub :- Active Running
-
emoncms_mqtt :- Active Running
-
feedwriter :- Active Running - sleep 60s 27 feed points pending write
-
service-runner :- Active Running
-
emonPiLCD :- Active Running
-
redis-server :- Active Running
-
mosquitto :- Active Running
Emoncms
-
Version :- low-write 10.1.4-beta
-
Modules :- Administration | App v2.0.9 | Backup v1.1.6 | EmonHub Config v2.0.4 | Dashboard v2.0.5 | Device v2.0.3 | EventProcesses | Feed | Graph v2.0.6 | Input | Postprocess v2.1.0 | CoreProcess | remoteaccess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.2
-
Git :-
Server
-
OS :- Linux 4.14.71-v7+
-
Host :- emonpi | emonpi | (192.168.1.11)
-
Date :- 2020-02-20 06:54:42 EST
-
Uptime :- 06:54:42 up 4 days, 16:42, 0 users, load average: 0.58, 0.26, 0.18
Memory
-
RAM :- Used: 30.63%
-
Total :- 976.74 MB
-
Used :- 299.14 MB
-
Free :- 677.6 MB
-
Swap :- Used: 0.00%
-
Total :- 100 MB
-
Used :- 0 B
-
Free :- 100 MB
Disk
-
/ :- Used: 42.93%
-
Total :- 3.81 GB
-
Used :- 1.64 GB
-
Free :- 2 GB
-
/boot :- Used: 51.72%
-
Total :- 42.52 MB
-
Used :- 21.99 MB
-
Free :- 20.53 MB
-
/home/pi/data :- Used: 2.41%
-
Total :- 10.32 GB
-
Used :- 254.61 MB
-
Free :- 9.54 GB
-
/mnt/usbdrive :- Used: 0.59%
-
Total :- 28.97 GB
-
Used :- 176.07 MB
-
Free :- 27.3 GB
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 :- localhost:6379 (127.0.0.1)
-
Date :- 2020-02-20 06:54:42 (UTC -05:00)
-
Stats :- Uptime: 409020 Threads: 3 Questions: 1319051 Slow queries: 0 Opens: 50 Flush tables: 1 Open tables: 40 Queries per second avg: 3.224
Redis
-
Version :- 3.2.6
-
Host :- localhost:6379
-
Size :- 254 keys (809.62K)
-
Uptime :- 4 days
MQTT Server
-
Version :- Mosquitto 1.4.10
-
Host :- localhost:1883 (127.0.0.1)
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
Pi
-
Model :- Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK)
-
SoC :- Broadcom BCM2835
-
Serial num. :- 5ABE4EF9
-
Temperature :- 48.31°C - 47.8°C
-
emonpiRelease :- emonSD-30Oct18
-
File-system :- read-write
Client Information
Client Information
HTTP
-
Browser :- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15
-
Language :- en-us
Window
Screen
-
Resolution :- 1680 x 1050
borpin
(Brian Orpin)
2
I’m not at home to check but I think…
cd /var/www/emoncms
git checkout stable
In the Admin page the ‘beta’ should be gone so just run an update from the Admin page.
Check the update log for any errors.
1 Like
Neil
(Neil Hastings)
3
Thanks Brian, exactly what I needed. I’ll update this weekend.
1 Like
Neil
(Neil Hastings)
4
Hello @Brian,
I performed the update yesterday. It seemed to work (for the most part). I get this error message before logging in to emoncms and when the webpage updates. I have to press ‘Close’ several times before I can log in.
Any ideas?
borpin
(Brian Orpin)
5
Have you cleared the browser cache?
Neil
(Neil Hastings)
6
@Borpin,
I have an instance of EmonCMS embedded in Node-RED. Also, in Node-RED, I had an unused embedded multigraph in a Template node. For some reason this is what caused the error. I deleted the node and the error cleared. When I opened EmonCMS in the web browser (without node-RED) the error did not occur.
I did not find the root cause but it was probably a missing graph or a change in the embedded code.
Bottom line is the upgrade worked 
Thanks, have a great weekend.