Community
OpenEnergyMonitor

Community

APPs not more visible after last update

Tags: #<Tag:0x00007f6e0f5b6650> #<Tag:0x00007f6e0f5b64e8>

Hello
after some year of perfect working, I take the decision to update my emonpi station (even if newbie roles is “if works do not tuch it”).

I made a full update from admin page of local emoncms.
Now the situation is this all feeds and imput are working, my mobile app work and show datas.
but if I connect to via a web browser to the local emoncms, the app menu is not visible.
than the most used ap for my wife home power managing (My solar) is not visible any more.

Can some one help me?
consider that I’m a newbie on software and linux command, than please bee very precise on what I have to do.

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

Server Information

Server Information

Servizi

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

Emoncms

  • Versione :- low-write 10.2.1
  • Moduli :- Administration | App v1.0.0 | Backup v2.2.2 | Config v1.0.0 | Dashboard v2.0.7 | Device v2.0.5 | EventProcesses | Feed | Graph v2.0.8 | Input | postprocess | CoreProcess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.0
  • Git :-

Server

  • OS :- Linux 4.4.26-v7+
  • Host :- emonpi | emonpi | (192.168.1.20)
  • Data :- 2020-04-02 13:47:20 UTC
  • Uptime :- 13:47:20 up 1 day, 22:43, 0 users, load average: 0,10, 0,08, 0,09

Memoria

  • RAM :- Usato: 28,09%
    • Total :- 973,11 MB
    • Used :- 273,35 MB
    • Free :- 699,75 MB
      Write Load Period

Disco

  • / :- Usato: 58,55%
    • Total :- 3,33 GB
    • Used :- 1,95 GB
    • Free :- 1,22 GB
    • Write Load :- 22,48 B/s (1 days 3 hours 4 mins)
  • /boot :- Usato: 34,75%
    • Total :- 59,95 MB
    • Used :- 20,83 MB
    • Free :- 39,12 MB
    • Write Load :- 0 B/s (1 days 3 hours 4 mins)
  • /home/pi/data :- Usato: 0,36%
    • Total :- 10,59 GB
    • Used :- 38,64 MB
    • Free :- 10 GB
    • Write Load :- 178,97 B/s (1 days 3 hours 4 mins)

HTTP

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

MySQL

  • Versione :- 5.5.52-0+deb8u1
  • Host :- localhost:6379 (127.0.0.1)
  • Data :- 2020-04-02 13:47:20 (UTC 00:00‌​)
  • Statistiche :- Uptime: 168188 Threads: 2 Questions: 44311 Slow queries: 0 Opens: 45 Flush tables: 1 Open tables: 38 Queries per second avg: 0.263

Redis

  • Versione :-
    • Redis Server :- 2.8.17
    • PHP Redis :- 2.2.7
  • Host :- localhost:6379
  • Dimensione :- 154 keys (518.76K)
  • Uptime :- 1 giorni

MQTT Server

  • Versione :- Mosquitto 1.4.10
  • Host :- localhost:1883 (127.0.0.1)

PHP

  • Versione :- 5.6.27-0+deb8u1 (Zend Version 2.6.0)
  • Moduli :- apache2handlerbcmathbz2calendarCore ctypecurldate dbadio v0.0.4RC4dom v20031129eregexif v1.4 $Id: 8b0e34c10dc8a04b8e81d9d79985b2566141b03d $fileinfo v1.0.5filter v0.11.0ftpgettexthash v1.0iconvjson v1.3.6libxmlmbstringmcryptmhashmosquitto v0.3.0mysql v1.0mysqli v0.1opensslpcrePDO v1.0.4devpdo_mysql v1.0.2Phar v2.0.2posixreadline redis v2.2.7Reflection v$Id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $sessionshmopSimpleXML v0.1soapsocketsSPL v0.2standard sysvmsgsysvsemsysvshmtokenizer v0.1wddxxmlxmlreader v0.1xmlwriter v0.1Zend OPcache v7.0.6-devFEzip v1.12.5zlib v2.0

Pi

  • Modello :- Raspberry Pi 2 Model B Rev 1.1 - 1GB (Sony UK)

  • N° seriale :- 31C3D0C2

  • Temperatura :- 35.78°C - 35.8°C

  • Emonpi Release :- emonSD-07Nov16

  • File-system :- read-only

Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
  • Lingua interfaccia :- it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3

Finestra

  • Dimensione :- 1903 x 965

Schermo

  • Risoluzione :- 1920 x 1080

Try clearing browser cache and/or open in a private window.

I do it nothing change
what I notice is that on Input the I have “emonpi” and not “emonPi”

Can you check the update log please. It looks like the APP module did not update.

image

Should be V2.1.1

Do you have SSH access?

sorry I’m at home working…
here the log


Updating /var/www/emoncms/Modules/app module

Fetching origin
From https://github.com/emoncms/app
ccf8bdc…b7d1c66 master -> origin/master
54be5d1…90a3dc4 stable -> origin/stable

  • [new tag] 2.1.1 -> 2.1.1
  • git branch: 9.0
  • git tags: 0.0.1
  • no local changes
  • running: git pull origin 9.0

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

Yes i have SSH access

I found some error on emoncms.log
2020-04-02 16:18:50.968|ERROR|index.php|Not Authenticated|app

hello, following other post I try this

I edit the app name to “app/view?name=My Solar”
The apps “My Solar” appears and work
but after I select any other menu is not possible to reselect it.
I get also this message
Message: TypeError: datastore[name].data[0] is undefined
Route: Modules/app/lib/timeseries.js?v=5
Line: 110
Column: 9

That message does not look right.

Here is my log message…

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

Fetching origin
Already on 'stable'
Your branch is up to date with 'origin/stable'.
Already up to date.

Looks like at some point you have ended up tracking the wrong branch.

Need to SSH in

Is the file system read only? you can tell by the command prompt. Need to switch to RW ( rpi-rw and rpi-ro commands to switch)

cd /var/www/emoncms/Modules/app
git fetch --all
git checkout stable
git pull

In all honesty, an old base image needs replacing with a Buster based image.

It is pretty painless to switch and import all your data.

1 Like

Great!! now it works better
Thanks for you support

1 Like