Community
OpenEnergyMonitor

OpenEnergyMonitor Community

Upgrade from emonSD-30Oct18

Tags: #<Tag:0x00007f1be3809c78>

After spending a few months learning and tweaking my emonpi it has been running without any faults for almost year now.

In fact after the ‘tweaking period’, during which most of the issues I experienced were of my own making and most the ‘fixes’ were gratefully received from members of this forum. I am very happy with the reliability of the system.

Today when I tried to to perform a ‘Full Update’ on the Admin page I got this error message:

LAST ENTRIES ON THE LOG FILE
Starting update via service-runner-update.sh (v2.0) >
- emonSD version: emonSD-30Oct18
ERROR: emonSD base image old or undefined...update will not continue
See latest verson: https://github.com/openenergymonitor/emonpi/wiki/emonSD-pre-built-SD-card-Download-&-Change-Log
Stopping update

There’s a lot of information, contained in the link and I do not feel confident in having enough understanding of how to go about upgrading my system.

Can someone help point me in the right direction to correctly update my system while minimizing any issues that may arise?

Server Information

Server Information

Services

  • emonhub :- Active Running
  • emoncms_mqtt :- Active Running
  • feedwriter :- Active Running - sleep 60s 13 feed points pending write
  • service-runner :- Active Running
  • emonPiLCD :- Active Running
  • redis-server :- Active Running
  • mosquitto :- Active Running

Emoncms

  • Version :- low-write 10.2.0
  • Modules :- Administration | App v2.1.0 | Backup v1.1.6 | EmonHub Config v2.0.4 | Dashboard v2.0.6 | Device v2.0.4 | EventProcesses | Feed | Graph v2.0.8 | Input | Postprocess v2.1.2 | 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-11-13 05:45:30 EST
  • Uptime :- 05:45:30 up 271 days, 15:33, 0 users, load average: 0.28, 0.26, 0.31

Memory

  • RAM :- Used: 25.05%
    • Total :- 976.74 MB
    • Used :- 244.64 MB
    • Free :- 732.09 MB
  • Swap :- Used: 93.08%
    • Total :- 100 MB
    • Used :- 93.08 MB
    • Free :- 6.92 MB
      Write Load Period

Disk

  • / :- Used: 43.17%
    • Total :- 3.81 GB
    • Used :- 1.65 GB
    • Free :- 1.99 GB
    • Write Load :- 109.31 B/s (259 days 7 hours 58 mins)
  • /boot :- Used: 51.72%
    • Total :- 42.52 MB
    • Used :- 21.99 MB
    • Free :- 20.53 MB
    • Write Load :- 0 B/s (259 days 7 hours 58 mins)
  • /home/pi/data :- Used: 3.24%
    • Total :- 10.32 GB
    • Used :- 342.72 MB
    • Free :- 9.46 GB
    • Write Load :- 919.32 B/s (259 days 7 hours 58 mins)
  • /mnt/usbdrive :- Used: 0.97%
    • Total :- 28.97 GB
    • Used :- 287.13 MB
    • Free :- 27.19 GB
    • Write Load :- n/a

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-11-13 05:45:29 (UTC -05:00‌​)
  • Stats :- Uptime: 23473668 Threads: 3 Questions: 91036766 Slow queries: 0 Opens: 53 Flush tables: 1 Open tables: 40 Queries per second avg: 3.878

Redis

  • Version :-
    • Redis Server :- 3.2.6
    • PHP Redis :- 4.1.1
  • Host :- localhost:6379
  • Size :- 466 keys (842.03K)
  • Uptime :- 271 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)

  • Serial num. :- 5ABE4EF9

  • Temperature :- 50.46°C - 50.5°C

  • emonpiRelease :- emonSD-30Oct18

  • File-system :- read-write

Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
  • Language :- en-us

Window

  • Size :- 1288 x 800

Screen

  • Resolution :- 1680 x 1050

Best wishes,

There is a pinned message regarding updating to the latest image. I think @TrystanLea has some improvements to the import process as well so everything should be restored OK. Take a backup as well - belt & braces.

Thanks @borpin,

I think I can handle that (famous last words).

1 Like