Can you access the Emoncms admin page?
yes, but I can’t update emoncms to the current version by following these steps directly from emoncms.
how do I use git?
In the Admin page, can you click on the button to copy the Server Information and paste it here please?
Ok so the problem is you do not have something called service-runner installed. This is an EmonCMS service. This will enable you to run the update commands.
Follow this emoncms/install-service-runner-update.md at master · emoncms/emoncms · GitHub to install service-runner and as I think you are on Debian and not Raspbian follow emoncms/install-service-runner-update.md at master · emoncms/emoncms · GitHub as well.
error installing sudo pip install redis
Traceback (most recent call last):
File “/usr/bin/pip”, line 9, in
from pip import main
sudo apt-get install -y build-essential python-pip python-dev
@Geinian_Gomes, have you collected much data? I have just successfully installed emoncms on Ubuntu 18LTS using the scripts GitHub - openenergymonitor/EmonScripts: Emoncms Stack Installation and Update scripts.
The script needs a modified config.ini
to work on Ubuntu plus a couple of other minor changes, but it was (almost) painless to install.
When pressing the command presents at the end this error how to solve?
N: Ignoring file ‘mosquitto-jessie.list.1’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
emoncms@emoncms:/usr/bin$
I don’t understand
You posted an image of your admin page above and in it you can see this button.
If you click the button, it copies the contents of the page. If you then paste (Ctl-V) into a new message it will look like this
Server Information
Server Information
Services
- emonhub :- Active Running
- emoncms_mqtt :- Active Running
- feedwriter :- Active Running - sleep 60s 22 feed points pending write
- service-runner :- Active Running
- emonPiLCD :- Active Running
- redis-server :- Active Running
- mosquitto :- Active Running
Emoncms
- Version :- low-write 10.1.6
- Modules :- Administration | App v2.0.6 | Backup v2.1.2 | EmonHub Config v2.0.4 | Dashboard v2.0.4 | Device v2.0.1 | EventProcesses | Feed | Graph v2.0.4 | Input | Postprocess v2.1.0 | CoreProcess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.1
-
Git :-
- URL :- GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data
- Branch :- * stable
- Describe :- 10.1.6-3-g14218680
Server
- OS :- Linux 4.19.57-v7+
- Host :- emonpi | emonpi | (192.168.7.243)
- Date :- 2019-09-12 12:34:57 UTC
- Uptime :- 12:34:57 up 55 days, 3:27, 1 user, load average: 0.28, 0.11, 0.04
Memory
-
RAM :- Used: 20.61%
- Total :- 975.62 MB
- Used :- 201.1 MB
- Free :- 774.52 MB
-
Swap :- Used: 0.00%
- Total :- 100 MB
- Used :- 0 B
- Free :- 100 MB
Disk
-
/ :- Used: 47.04%
- Total :- 3.81 GB
- Used :- 1.79 GB
- Free :- 1.84 GB
-
/boot :- Used: 52.42%
- Total :- 42.52 MB
- Used :- 22.29 MB
- Free :- 20.23 MB
-
/home/pi/data :- Used: 3.72%
- Total :- 3.21 GB
- Used :- 122.25 MB
- Free :- 2.92 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 :- 2019-09-12 12:34:56 (UTC 00:00)
- Stats :- Uptime: 4764441 Threads: 3 Questions: 1121865 Slow queries: 0 Opens: 30 Flush tables: 1 Open tables: 24 Queries per second avg: 0.235
Redis
- Version :- 3.2.6
- Host :- localhost:6379
- Size :- 120 keys (848.92K)
- Uptime :- 55 days
MQTT Server
- Version :- Mosquitto 1.4.10
- Host :- localhost:1883 (127.0.0.1)
PHP
- Version :- 7.0.33-0+deb9u3 (Zend Version 3.0.0)
- Modules :- apache2handler | calendar v7.0.33-0+deb9u3 | Core v7.0.33-0+deb9u3 | ctype v7.0.33-0+deb9u3 | curl v7.0.33-0+deb9u3 | date v7.0.33-0+deb9u3 | dom v20031129 | exif v7.0.33-0+deb9u3 | fileinfo v1.0.5 | filter v7.0.33-0+deb9u3 | ftp v7.0.33-0+deb9u3 | gd v7.0.33-0+deb9u3 | gettext v7.0.33-0+deb9u3 | hash v1.0 | iconv v7.0.33-0+deb9u3 | igbinary v2.0.1 | json v1.4.0 | libxml v7.0.33-0+deb9u3 | mbstring v7.0.33-0+deb9u3 | mcrypt v7.0.33-0+deb9u3 | mosquitto v0.4.0 | mysqli v7.0.33-0+deb9u3 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ | openssl v7.0.33-0+deb9u3 | pcre v7.0.33-0+deb9u3 | PDO v7.0.33-0+deb9u3 | pdo_mysql v7.0.33-0+deb9u3 | Phar v2.0.2 | posix v7.0.33-0+deb9u3 | readline v7.0.33-0+deb9u3 | redis v4.1.1 | Reflection v7.0.33-0+deb9u3 | session v7.0.33-0+deb9u3 | shmop v7.0.33-0+deb9u3 | SimpleXML v7.0.33-0+deb9u3 | sockets v7.0.33-0+deb9u3 | SPL v7.0.33-0+deb9u3 | standard v7.0.33-0+deb9u3 | sysvmsg v7.0.33-0+deb9u3 | sysvsem v7.0.33-0+deb9u3 | sysvshm v7.0.33-0+deb9u3 | tokenizer v7.0.33-0+deb9u3 | wddx v7.0.33-0+deb9u3 | xml v7.0.33-0+deb9u3 | xmlreader v7.0.33-0+deb9u3 | xmlwriter v7.0.33-0+deb9u3 | xsl v7.0.33-0+deb9u3 | Zend OPcache v7.0.33-0+deb9u3 | zlib v7.0.33-0+deb9u3
Pi
-
Model :- Raspberry Pi 3 Model B+ Rev 1.3 - 1GB (Sony UK)
-
Serial num. :- 71604C19
-
Temperature :- 51.54°C - 50.5°C
-
emonpiRelease :- emonSD-30Oct18
-
File-system :- read-write
Server Information
Server Information
Services
- emonhub :- Active Running
- redis-server :- Active Running
- mosquitto :- Active Exited
Emoncms
- Version :- 10.1.2
- Modules :- Administration | App v2.0.1 | backup | Dashboard v2.0.3 | Device v2.0.0 | EventProcesses | Feed | Graph v2.0.1 | 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 :- * stable
- Describe :- 10.1.2-3-ga0c672e
Server
- OS :- Linux 4.4.0-159-generic
- Host :- emoncms | emoncms | (192.168.0.157)
- Date :- 2019-09-12 09:40:16 -03
- Uptime :- 09:40:16 up 16 min, 1 user, load average: 0.01, 0.09, 0.17
Memory
-
RAM :- Used: 13.19%
- Total :- 1.97 GB
- Used :- 265.71 MB
- Free :- 1.71 GB
-
Swap :- Used: 0.00%
- Total :- 976 MB
- Used :- 0 B
- Free :- 976 MB
Disk
-
/ :- Used: 20.83%
- Total :- 17.91 GB
- Used :- 3.73 GB
- Free :- 13.25 GB
-
/boot :- Used: 14.61%
- Total :- 719.48 MB
- Used :- 105.08 MB
- Free :- 577.86 MB
HTTP
- Server :- Apache/2.4.18 (Ubuntu) HTTP/1.1 CGI/1.1 80
MySQL
- Version :- 5.7.27-0ubuntu0.16.04.1
- Host :- localhost:6379 (127.0.0.1)
- Date :- 2019-09-12 09:40:16 (UTC -03:00)
- Stats :- Uptime: 937 Threads: 1 Questions: 449 Slow queries: 0 Opens: 136 Flush tables: 1 Open tables: 54 Queries per second avg: 0.479
Redis
- Version :- 3.0.6
- Host :- localhost:6379
- Size :- 111 keys (439.53K)
- Uptime :- 0 days
MQTT Server
- Version :- Mosquitto 1.6.4
- Host :- localhost:1883 (127.0.0.1)
PHP
- Version :- 7.0.33-0ubuntu0.16.04.6 (Zend Version 3.0.0)
- Modules :- apache2handler | calendar v7.0.33-0ubuntu0.16.04.6 | Core v7.0.33-0ubuntu0.16.04.6 | ctype v7.0.33-0ubuntu0.16.04.6 | curl v7.0.33-0ubuntu0.16.04.6 | date v7.0.33-0ubuntu0.16.04.6 | dom v20031129 | exif v7.0.33-0ubuntu0.16.04.6 | fileinfo v1.0.5 | filter v7.0.33-0ubuntu0.16.04.6 | ftp v7.0.33-0ubuntu0.16.04.6 | gettext v7.0.33-0ubuntu0.16.04.6 | hash v1.0 | iconv v7.0.33-0ubuntu0.16.04.6 | json v1.4.0 | libxml v7.0.33-0ubuntu0.16.04.6 | mbstring v7.0.33-0ubuntu0.16.04.6 | mcrypt v7.0.33-0ubuntu0.16.04.6 | mosquitto v0.4.0 | mysqli v7.0.33-0ubuntu0.16.04.6 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ | openssl v7.0.33-0ubuntu0.16.04.6 | pcre v7.0.33-0ubuntu0.16.04.6 | PDO v7.0.33-0ubuntu0.16.04.6 | pdo_mysql v7.0.33-0ubuntu0.16.04.6 | Phar v2.0.2 | posix v7.0.33-0ubuntu0.16.04.6 | readline v7.0.33-0ubuntu0.16.04.6 | redis v4.3.0 | Reflection v7.0.33-0ubuntu0.16.04.6 | session v7.0.33-0ubuntu0.16.04.6 | shmop v7.0.33-0ubuntu0.16.04.6 | SimpleXML v7.0.33-0ubuntu0.16.04.6 | sockets v7.0.33-0ubuntu0.16.04.6 | SPL v7.0.33-0ubuntu0.16.04.6 | standard v7.0.33-0ubuntu0.16.04.6 | sysvmsg v7.0.33-0ubuntu0.16.04.6 | sysvsem v7.0.33-0ubuntu0.16.04.6 | sysvshm v7.0.33-0ubuntu0.16.04.6 | tokenizer v7.0.33-0ubuntu0.16.04.6 | wddx v7.0.33-0ubuntu0.16.04.6 | xml v7.0.33-0ubuntu0.16.04.6 | xmlreader v7.0.33-0ubuntu0.16.04.6 | xmlwriter v7.0.33-0ubuntu0.16.04.6 | xsl v7.0.33-0ubuntu0.16.04.6 | Zend OPcache v7.0.33-0ubuntu0.16.04.6 | zlib v7.0.33-0ubuntu0.16.04.6
So your error now stems from this problem. You must have installed emoncms before the build guide was changed.
@pb66, do you have a solution to remove the old mosquitto install?
can you provide all the git needed to install emoncms on ubuntu?
if possible, it is better to reinstall emoncms again.
following the correct steps.
Do you want to keep your data and setup? Much easier if you do not.
Are you in a position to start with a fresh Ubuntu install? If not, the problem with mosquitto still needs fixing.
it’s okay to erase the data.
can you redirect to the correct emoncms installation links?