After upgrade 10.1.13 no input (Localhost)

Hello

my measurement system consists of an emonesp module that transmits to a raspberry with emoncms, after the update from version 9 to version 10 I lost the inputs and I can’t see anything, my question is if it’s for the configuration of emonhub.conf
thank you
emonesp show ok received http://192.168.3.210/input?string=CT1:3935,CT2:325,T0:20.5

emonhub.conf is the default

One questions to answer and two actions please:

  1. How did you update?

  2. Please post the update logs (did you read through them for errors?)

  3. Can you click on the button Copy as Markdown next to Server Information on the Admin page and paste here please (no further formatting required).

Hello

I did the update from the buttons of the admin section of emoncms

Log_update_markdown.zip (6.3 KB)

LAST ENTRIES ON THE LOG FILE
Starting update via service-runner-update.sh (v2.0) >
Filesystem is unlocked - Write access
type ' rpi-ro ' to lock
- emonSD version: emonSD-26Oct17
emonSD base image check passed...continue update
git pull /home/pi/emonpi
* master
wifiap
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add ..." to include in what will be committed)

1
emonhub/

nothing added to commit but untracked files present (use "git add" to track)
Already up-to-date.
-------------------------------------------------------------
Main Update Script
-------------------------------------------------------------
Date: mar dic 17 20:52:27 UTC 2019
EUID: 1000
usrdir: /home/pi
type: emoncms
firmware: none
Checking environment:
- pi user found

EUID: 1000
Hardware detected: rfm2pi
Stopping emonPiLCD service
Display update message on LCD
I2C LCD NOT DETECTED on either 0x['27', '3f'] ...exiting LCD script
Start emoncms update:

-------------------------------------------------------------
Emoncms update started
Emoncms update script V1.3 (26th March 2019)
-------------------------------------------------------------
- usr directory: /home/pi
- emoncms directory: /var/www/emoncms

current settings.php md5: f9fa74b4e54adb7d760e875e0764955e
Default settings.php md5: 59e80f731935867f5f93753d49c0fe86
settings.php HAS been user modified

Checking status of /var/www/emoncms git repository
Fetching origin
- git branch: stable
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
error: Your local changes to the following files would be overwritten by merge:
.gitignore
.htaccess
.travis.yml
Lib/EmonLogger.php
Lib/email.php
Lib/jquery-1.11.3.min.js
Lib/misc/sidebar.css
Lib/misc/sidebar.js
Lib/responsive-linked-tables.js
Lib/units.php
Lib/user_locale.js
Modules/admin/admin_controller.php
Modules/admin/admin_main_view.php
Modules/admin/admin_menu.php
Modules/admin/locale/fr_FR/LC_MESSAGES/messages.mo
Modules/admin/locale/fr_FR/LC_MESSAGES/messages.po
Modules/admin/pi-model.json
Modules/admin/update_view.php
Modules/admin/userlist_view.php
Modules/eventp/eventp_processlist.php
Modules/feed/Views/feedlist_view.php
Modules/feed/engine/CassandraEngine.php
Modules/feed/engine/Histogram.php
Modules/feed/engine/MysqlTimeSeries.php
Modules/feed/engine/PHPFina.php
Modules/feed/engine/PHPFiwa.php
Modules/feed/engine/PHPTimeSeries.php
Modules/feed/engine/RedisBuffer.php
Modules/feed/engine/VirtualFeed.php
Modules/feed/feed.js
Modules/feed/feed_controller.php
Modules/feed/feed_menu.php
Modules/feed/feed_model.php
Modules/feed/locale/fr_FR/LC_MESSAGES/messages.mo
Modules/feed/locale/fr_FR/LC_MESSAGES/messages.po
Modules/input/Views/input.js
Modules/input/Views/input_dialog.php
Modules/input/Views/input_view.php
Modules/input/Views/schedule.php
Modules/input/input_controller.php
Modules/input/input_menu.php
Modules/input/input_methods.php
Modules/input/input_model.php
Modules/input/locale/fr_FR/LC_MESSAGES/messages.mo
Modules/input/locale/fr_FR/LC_MESSAGES/messages.po
Modules/input/que_input_controller.php
Modules/process/Views/process_api.php
Modules/process/Views/process_ui.js
Modules/process/Views/process_ui.php
Modules/process/locale/fr_FR/LC_MESSAGES/process_messages.mo
Modules/process/locale/fr_FR/LC_MESSAGES/process_messages.po
Modules/process/process_controller.php
Modules/process/process_processlist.php
Modules/schedule/Views/schedule_api.php
Modules/schedule/Views/schedule_view.php
Modules/schedule/schedule_menu.php
Modules/schedule/schedule_model.php
Modules/user/deleteuser.php
Modules/user/locale/fr_FR/LC_MESSAGES/messages.mo
Modules/user/locale/fr_FR/LC_MESSAGES/messages.po
Modules/user/login_block.php
Modules/user/profile/profile.php
Modules/user/user.js
Modules/user/user_controller.php
Modules/user/user_menu.php
Modules/user/user_model.php
Modules/user/user_schema.php
Modules/vis/Views/vis_main_view.php
Modules/vis/multigraph_model.php
Modules/vis/vis_controller.php
Modules/vis/vis_langjs.php
Modules/vis/vis_menu.php
Modules/vis/vis_object.php
Modules/vis/visualisations/bargraph.php
Modules/vis/visualisations/compare.php
Modules/vis/visualisations/comparison/comparison.php
Modules/vis/visualisations/dailyhistogram/dailyhistogram.php
Modules/vis/visualisations/editdaily.php
Modules/vis/visualisations/editrealtime.php
Modules/vis/visualisations/graph.js
Modules/vis/visualisations/graph.php
Modules/vis/visualisations/histgraph.php
Modules/vis/visualisations/multigraph.php
Modules/vis/visualisations/multigraph/multigraph.js
Modules/vis/visualisations/orderbars.php
Modules/vis/visualisations/orderthreshold.php
Modules/vis/visualisations/rawdata.php
Modules/vis/visualisations/realtime.php
Modules/vis/visualisations/simplezoom.php
Modules/vis/visualisations/smoothie.php
Modules/vis/visualisations/stacked.php
Modules/vis/visualisations/stackedsolar.php
Modules/vis/visualisations/threshold.php
Modules/vis/visualisations/timecompare.php
Modules/vis/visualisations/timecompare/timecompare.js
Modules/vis/visualisations/timestoredaily.php
Modules/vis/visualisations/zoom.php
Modules/vis/widget/vis_render.js
Modules/vis/widget/vis_widget.php
Theme/basic/embed.php
Theme/basic/emon-blue.css
Theme/basic/menu_view.php
Theme/basic/theme.php
composer.json
core.php
default.emonpi.settings.php
docs/DebianInstall.md
docs/LinuxInstall.md
docs/RaspberryPi/Low-write-mode.md
docs/RaspberryPi/MQTT.md
docs/RaspberryPi/general.md
docs/RaspberryPi/install_Wheezy.md
docs/RaspberryPi/jessie.md
docs/RaspberryPi/read-only.md
do
error: The following untracked working tree files would be overwritten by merge:
Lib/emoncms.js
Lib/gridjs/grid-demo.php
Lib/gridjs/grid.html
Lib/gridjs/grid.js
Lib/misc/gettext.js
Lib/misc/nav_functions.php
Lib/process_old_settings.php
Lib/vue.min.js
Modules/admin/admin_model.php
Modules/admin/locale/cy_GB/LC_MESSAGES/messages.mo
Modules/admin/locale/cy_GB/LC_MESSAGES/messages.po
Modules/admin/static/admin_styles.css
Modules/input/Views/input_view.js
Modules/user/Views/bookmarks.php
Modules/user/Views/sidebar.php
Theme/basic/emoncms-base.css
Theme/basic/locale/fr_FR/LC_MESSAGES/theme_messages.mo
Theme/basic/locale/fr_FR/LC_MESSAGES/theme_messages.po
Theme/basic/sidebar_view.php
Theme/basic/svg_icons.svg
default-settings.ini
default-settings.php
docs/Update.md
docs/files/emoncms_update.png
example.settings.ini
example.settings.php
settings.env.ini
Please move or remove them before you can merge.
Aborting
Updating d0db7a5..90f3915

NEW default settings.php md5: 59e80f731935867f5f93753d49c0fe86
settings.php not updated

-------------------------------------------------------------
Updating Emoncms Modules
-------------------------------------------------------------

------------------------------------------
Updating /var/www/emoncms/Modules/app module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.0.1-82-g48fb43b
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Updating /var/www/emoncms/Modules/config module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.0.2-9-g1bba25a
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Updating /var/www/emoncms/Modules/dashboard module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.0.3-41-g3c20c5b
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Updating /var/www/emoncms/Modules/device module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.0.0-22-g46654e9
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Updating /var/www/emoncms/Modules/graph module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.0.1-61-gd5ecfbe
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Updating /var/www/emoncms/Modules/wifi module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.0.0-29-g274bcd5
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Updating postprocess module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.1.0-20-ga9b1516
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Updating sync module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.0.1-15-g39361e4
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Updating backup module
------------------------------------------
Fetching origin
- git branch: stable
- git tags: 2.0.0-39-g81b5912
- no local changes
- running: git pull origin stable

Branch stable set up to track remote branch stable from origin.
Already up-to-date.

------------------------------------------
Auto Installation of Emoncms Modules
------------------------------------------
- graph module already installed
- device module already installed
- postprocess module already installed
- sync module already installed
- backup module already installed

/home/pi/emonpi/sudoers.d/emoncms-rebootbutton: parsed OK

emoncms-rebootbutton sudoers entry installed
/home/pi/emonpi/sudoers.d/emoncms-filesystem: parsed OK

emoncms-filesystem sudoers entry installed
/home/pi/emonpi/sudoers.d/wifi-sudoers: parsed OK

wifi-sudoers sudoers entry installed
www-data : www-data video systemd-journal

------------------------------------------
SERVICES
------------------------------------------
emoncms_mqtt.service already installed
feedwriter.service already installed
service-runner.service already installed
------------------------------------------
Reloading systemctl deamon
Update Emoncms database
[]

Restarting Services...
- sudo systemctl restart feedwriter.service
--- ActiveState=active ---
- sudo systemctl restart emoncms_mqtt.service
--- ActiveState=active ---
- sudo systemctl restart emonhub.service
--- ActiveState=active ---
- sudo /etc/init.d/openhab restart
Restarting openhab (via systemctl): openhab.service.
● openhab.service - Starts and stops the openHAB Home Automation Bus
Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled)
Active: active (running) since mar 2019-12-17 20:53:40 UTC; 674ms ago
Docs: http://www.openhab.org
Process: 17837 ExecStartPre=/usr/share/openhab/bin/setpermissions.sh (code=exited, status=0/SUCCESS)
Main PID: 17889 (openhab.sh)
CGroup: /system.slice/openhab.service
├─17889 /bin/sh /usr/share/openhab/bin/openhab.sh -o
└─17915 /usr/bin/java -Dlogback.configurationFile=/etc/openhab/logback.xml -Dosgi.clean=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Djetty.port=8080 -Dopenhab.configfile=/etc/openhab/configurations/openhab.cfg -Dopenhab.configdir=/etc/openhab/configurations -Dopenhab.logdir=/var/log/openhab -Dsmarthome.userdata=/var/lib/openhab -Djetty.home=/usr/share/openhab -Djetty.port.ssl=8443 -Djetty.config=/etc/openhab/jetty -Djetty.logs=/var/log/openhab -Djetty.rundir=/usr/share/openhab -Dfelix.fileinstall.dir=/usr/share/openhab/addons -Dfelix.fileinstall.filter=.*\.jar -Djava.library.path=/usr/share/openhab/lib -Djava.security.auth.login.config=/etc/openhab/login.conf -Dorg.quartz.properties=/etc/openhab/quartz.properties -Dequinox.ds.block_timeout=240000 -Dequinox.scr.waitTimeOnBlock=60000 -Dfelix.fileinstall.active.level=4 -Djava.awt.headless=true -jar /usr/share/openhab/server/plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar -configuration /var/lib/openhab/workspace -data /var/lib/openhab/workspace -console 5555

dic 17 20:53:39 emonpi setpermissions.sh[17837]: setting owner openhab:openhab recursively for /var/lib/openhab
dic 17 20:53:39 emonpi setpermissions.sh[17837]: setting permissions and owner openhab:openhab recursively for /var/log/openhab
dic 17 20:53:39 emonpi setpermissions.sh[17837]: setting permissions and owner openhab:openhab recursively for /etc/openhab/configurations
dic 17 20:53:40 emonpi setpermissions.sh[17837]: setting permissions and owner openhab:openhab for /usr/share/openhab/webapps/static
dic 17 20:53:40 emonpi setpermissions.sh[17837]: setting permissions and owner openhab:openhab for /etc/openhab/jetty/etc/keystore
dic 17 20:53:40 emonpi setpermissions.sh[17837]: setting permissions and owner openhab:openhab for /etc/openhab/configurations/users.cfg
dic 17 20:53:40 emonpi systemd[1]: Started Starts and stops the openHAB Home Automation Bus.
Symlinking emonpiupdate.log
Installing emoncms logrotate...

Now setting up Logrotate...
Backing up old logrotate configuration...
Linked to new logrotate configuration...
Backing up old logrotate cron job...
mv: no se puede efectuar `stat' sobre «/etc/cron.daily/logrotate»: No existe el fichero o el directorio
Linked to new logrotate cron job...

Completed


Completed

Running logrotate...

set log rotate config owner to root

------------------------------------------
Emoncms update script complete
------------------------------------------


Starting emonPi LCD service..

Filesystem is locked - Read Only access
type ' rpi-rw ' to unlock

-------------------------------------------------------------
emonPi update done: mar dic 17 20:53:55 UTC 2019
-------------------------------------------------------------
restarting service-runner

Server Information

Server Information

Services

  • emonhub :- Active Running
  • emoncms_mqtt :- Activating Auto-restart
  • feedwriter :- Active Running - sleep 60s 0 feed points pending write
  • service-runner :- Active Running
  • emonPiLCD :- Active Exited
  • redis-server :- Active Running
  • mosquitto :- Active Running

Emoncms

Server

  • OS :- Linux 4.9.35+
  • Host :- emonpi | emonpi | (127.0.0.1)
  • Date :- 2019-12-18 10:12:29 UTC
  • Uptime :- 10:12:29 up 14:07, 0 users, load average: 1.70, 1.49, 1.33

Memory

  • RAM :- Used: 58.91%
    • Total :- 481.69 MB
    • Used :- 283.77 MB
    • Free :- 197.92 MB
      Write Load Period

Disk

  • / :- Used: 64.49%
    • Total :- 3.33 GB
    • Used :- 2.15 GB
    • Free :- 1.02 GB
    • Write Load :- 54.76 B/s (13 hours 29 mins)
  • /home/pi/data :- Used: 11.61%
    • Total :- 968.33 MB
    • Used :- 112.41 MB
    • Free :- 805.93 MB
    • Write Load :- 17.49 B/s (13 hours 29 mins)
  • /boot :- Used: 36.32%
    • Total :- 59.95 MB
    • Used :- 21.77 MB
    • Free :- 38.17 MB
    • Write Load :- 0 B/s (13 hours 29 mins)

HTTP

  • Server :- Apache/2.4.10 (Raspbian) HTTP/1.1 CGI/1.1 80

MySQL

  • Version :- 5.5.60-0+deb8u1
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2019-12-18 10:12:28 (UTC 00:00‌​)
  • Stats :- Uptime: 50743 Threads: 1 Questions: 7158 Slow queries: 0 Opens: 61 Flush tables: 1 Open tables: 54 Queries per second avg: 0.141

Redis

  • Version :-
    • Redis Server :- 2.8.17
    • PHP Redis :- 2.2.7
  • Host :- localhost:6379
  • Size :- 31 keys (480.26K)
  • Uptime :- 0 days

MQTT Server

  • Version :- Mosquitto 1.5
  • Host :- localhost:1883 (127.0.0.1)

PHP

  • Version :- 5.6.33-0+deb8u1 (Zend Version 2.6.0)
  • Modules :- apache2handler | bcmath | bz2 | calendar | Core v5.6.33-0+deb8u1 | ctype | curl | date v5.6.33-0+deb8u1 | dba | dio v0.0.4RC4 | dom v20031129 | ereg | exif v1.4 $Id: 1c8772f76be691b7b3f77ca31eb788a2abbcefe5 $ | fileinfo v1.0.5 | filter v0.11.0 | ftp | gettext | hash v1.0 | iconv | json v1.3.6 | libxml | mbstring | mcrypt | mhash | mosquitto v0.3.0 | mysql v1.0 | mysqli v0.1 | openssl | pcre | PDO v1.0.4dev | pdo_mysql v1.0.2 | Phar v2.0.2 | posix | readline v5.6.33-0+deb8u1 | redis v2.2.7 | Reflection v$Id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $ | session | shmop | SimpleXML v0.1 | soap | sockets | SPL v0.2 | standard v5.6.33-0+deb8u1 | sysvmsg | sysvsem | sysvshm | tokenizer v0.1 | wddx | xml | xmlreader v0.1 | xmlwriter v0.1 | Zend OPcache v7.0.6-devFE | zip v1.12.5 | zlib v2.0

Pi

  • Model :- Raspberry Pi Model Zero W Rev 1.1 - 512MB (Sony UK)

  • Serial num. :- 99D7734A

  • Temperature :- 44.93°C - 44.4°C

  • emonpiRelease :- emonSD-26Oct17

  • File-system :- read-only

Client Information

Client Information

HTTP

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

Window

  • Size :- 1280 x 620

Screen

  • Resolution :- 1280 x 800

It would have been useful if you had done as asked

I have done it for you.

Clearly the update did not work.

I note OpenHAB is installed (as this is an old image). Do you use OpenHAB or Node-Red on this machine?

no I don’t use

Ok then, the easiest fix will be to start with a fresh SD card & image, then import your data.

ok thank you I’m gonna try

12 posts were split to a new topic: Install EmonCMS onto DietPi

2 posts were merged into an existing topic: Install EmonCMS onto DietPi