Community
OpenEnergyMonitor

Community

Vue not defined

i have an emoncms install on a shared linux host

i just updated all installed modules with git pull and i ran the database update

yet i still get this error

image

when i try to edit or add new graphs, what could be the culprit?

LAST ENTRIES ON THE LOG FILE
2019-08-24 01:54:24.250|WARN|index.php|406 Not Acceptable|2018/wp-includes/wlwmanifest
2019-08-24 01:54:24.511|WARN|index.php|406 Not Acceptable|shop/wp-includes/wlwmanifest
2019-08-24 01:54:24.708|WARN|index.php|406 Not Acceptable|wp1/wp-includes/wlwmanifest
2019-08-24 01:54:24.918|WARN|index.php|406 Not Acceptable|test/wp-includes/wlwmanifest
2019-08-24 01:54:25.133|WARN|index.php|406 Not Acceptable|media/wp-includes/wlwmanifest
2019-08-24 01:54:25.352|WARN|index.php|406 Not Acceptable|wp2/wp-includes/wlwmanifest
2019-08-24 01:54:25.554|WARN|index.php|406 Not Acceptable|site/wp-includes/wlwmanifest
2019-08-24 01:54:25.756|WARN|index.php|406 Not Acceptable|cms/wp-includes/wlwmanifest
2019-08-24 01:54:25.972|WARN|index.php|406 Not Acceptable|sito/wp-includes/wlwmanifest
2019-08-29 16:30:43.509|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 16:30:43.589|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 16:31:23.476|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 16:31:23.551|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:25:37.342|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:25:37.460|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:25:43.925|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:25:44.015|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:26:42.582|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:26:42.660|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:27:40.242|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:28:05.207|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:28:05.303|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:28:32.071|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:36:00.557|WARN|index.php|406 Not Acceptable|Modules/config/vue
2019-08-29 18:36:00.655|WARN|index.php|406 Not Acceptable|Modules/config/vue

so at least i found a pointer myself

|WARN|index.php|406 Not Acceptable|Modules/config/vue

just need to figure out why that is

when i login as admin and do an update from there i get this flashed in the log box

but i happens at the blink of an eye and i was just lucky with a screen capture

i know i can do update with git pull but should i not be able to do it from admin too? and is this maybe related to the graph issue?

the power by is also in the middle of things when looking at server info

Server Information

Server Information

Services

Emoncms

  • Version :- 10.1.5
  • Modules :- Administration | App v2.0.5 | Dashboard v2.0.4 | EventProcesses | Feed | Graph v2.0.3 | Input | CoreProcess | Schedule | Time | User | Visualisation
  • Git :-
    • URL :- - Branch :- - Describe :-

Server

  • OS :- Linux 2.6.32-954.3.5.lve1.4.67.el6.x86_64
  • Host :- linux228.unoeuro.com | linux228.unoeuro.com | (10.10.49.61)
  • Date :- 2019-08-29 20:53:58 CEST
  • Uptime :- 20:53:58 up 29 days, 15:53, 0 users, load average: 0.59, 0.98, 0.79

Memory

  • RAM :- Used: 32.71%
    • Total :- 9.6 GB
    • Used :- 3.14 GB
    • Free :- 6.46 GB
  • Swap :- Used: 0.22%
    • Total :- 2.98 GB
    • Used :- 6.68 MB
    • Free :- 2.97 GB

Disk

HTTP

  • Server :- Apache HTTP/2.0 443

MySQL

  • Version :- 5.7.26-29-log
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2019-08-29 20:53:58 (UTC 02:00‌​)
  • Stats :- Uptime: 748390 Threads: 6 Questions: 593867117 Slow queries: 65 Opens: 42101932 Flush tables: 1 Open tables: 2000 Queries per second avg: 793.526

PHP

  • Version :- 7.1.32 (Zend Version 3.1.0)
  • Modules :- bcmath v7.1.32 | bz2 v7.1.32 | calendar v7.1.32 | Core v7.1.32 | ctype v7.1.32 | curl v7.1.32 | date v7.1.32 | dom v20031129 | exif v7.1.32 | fileinfo v1.0.5 | filter v7.1.32 | ftp v7.1.32 | gd v7.1.32 | gettext v7.1.32 | gmp v7.1.32 | hash v1.0 | iconv v7.1.32 | igbinary v3.0.1 | imagick v3.4.4 | imap v7.1.32 | intl v1.1.0 | ionCube Loader v10.3.8 | json v1.5.0 | ldap v7.1.32 | libxml v7.1.32 | litespeed | mbstring v7.1.32 | mcrypt v7.1.32 | memcache v4.0.4 | mysqli v7.1.32 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $ | openssl v7.1.32 | pcre v7.1.32 | PDO v7.1.32 | pdo_dblib v7.1.32 | pdo_mysql v7.1.32 | pdo_pgsql v7.1.32 | pdo_sqlite v7.1.32 | pgsql v7.1.32 | Phar v2.0.2 | redis v4.3.0 | Reflection v7.1.32 | session v7.1.32 | SimpleXML v7.1.32 | soap v7.1.32 | SPL v7.1.32 | sqlite3 v7.1.32 | standard v7.1.32 | tokenizer v7.1.32 | xml v7.1.32 | xmlreader v7.1.32 | xmlwriter v7.1.32 | xsl v7.1.32 | Zend OPcache v7.1.32 | zip v1.15.4 | zlib v7.1.32
Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
  • Language :- en-US,en;q=0.9,da;q=0.8,de;q=0.7,nb;q=0.6

Window

  • Size :- 1903 x 1060

Screen

  • Resolution :- 1920 x 1080

See this issue raised on github. It seems the graph module now has a dependency on the config module being installed.

1 Like

yep, installing config module an all is fine

do you have an idea why clicking update as admin only give a short flash of text?

I’d hazard a guess and say you don’t have the service runner installed so the update options won’t work. IMO the update buttons should not be accessible if the service runner isn’t installed.(except db update of course)

nope, running on shared hosting so its extreme limited on what i can do, but at least i can do ssh access if i use a certificate and putty agent.

but the hoster (unoeuro) gives un-limited mysql space so that engine is the only one i use, and they so far have not complained that i send data from 2 units (heating panels) every 10 sec (sending 2 temps, relay status, target temp, pi cpu temp, uptime).

i wonder what they would say if the same amount of data that hits emoncms.org came in to my install :smiley:

There is a script in the Usefulscripts repo https://github.com/emoncms/usefulscripts/blob/master/update_emoncms.sh that will update the EmonCMS folder via git and also the sub repos under the Modules folder.

Caveat emptor :grin: You might need to adapt it for use on a shared host.

i can live with doing the folder one by one
if i just know that the update options in the admin side will never work for me

i thought i had some kind of error :smiley:

1 Like

Has somthing changed overnight?
Im now geting this message after an update on self hoasted. I have the config module installed. (was fine 2 days ago)

Are you on Stable or Master. Can you post your server information (from Admin page, click on copy as markdown and just post here). @emrys for noting.

Sorry was just geting the info tothether
image

Server Information

Server Information

Services

  • feedwriter :- Active Running - sleep 60s loading…
  • redis-server :- Active Running

Emoncms

  • Version :- 10.1.6
  • Modules :- Administration | EmonHub Config v2.0.4 | Dashboard v2.0.4 | Device v2.0.1 | EventProcesses | Feed | Graph v2.0.4 | Group v2.0.0 | Input | CoreProcess | Schedule | Time | User | Visualisation
  • Git :-

Server

  • OS :- Linux 4.9.0-8-amd64
  • Host :- vps640695 | vps640695.ovh.net | (51.38.69.188)
  • Date :- 2019-09-18 10:49:49 BST
  • Uptime :- 10:49:49 up 230 days, 23:39, 2 users, load average: 0.53, 0.41, 0.37

Memory

  • RAM :- Used: 11.27%
    • Total :- 7.62 GB
    • Used :- 879.13 MB
    • Free :- 6.76 GB

Disk

  • / :- Used: 12.73%
    • Total :- 78.74 GB
    • Used :- 10.02 GB
    • Free :- 65.49 GB

HTTP

  • Server :- Apache/2.4.25 (Debian) HTTP/1.1 CGI/1.1 80

MySQL

  • Version :- 5.5.5-10.1.37-MariaDB-0+deb9u1
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2019-09-18 10:49:48 (UTC 01:00‌​)
  • Stats :- Uptime: 19957176 Threads: 1 Questions: 239158444 Slow queries: 0 Opens: 420 Flush tables: 1 Open tables: 65 Queries per second avg: 11.983

Redis

  • Version :- 3.2.6
  • Host :- localhost:6379
  • Size :- 9030 keys (2.72M)
  • Uptime :- 230 days

PHP

  • Version :- 7.0.33-0+deb9u1 (Zend Version 3.0.0)
  • Modules :- apache2handler | calendar v7.0.33-0+deb9u1 | Core v7.0.33-0+deb9u1 | ctype v7.0.33-0+deb9u1 | curl v7.0.33-0+deb9u1 | date v7.0.33-0+deb9u1 | dom v20031129 | exif v7.0.33-0+deb9u1 | fileinfo v1.0.5 | filter v7.0.33-0+deb9u1 | ftp v7.0.33-0+deb9u1 | gettext v7.0.33-0+deb9u1 | hash v1.0 | iconv v7.0.33-0+deb9u1 | json v1.4.0 | libxml v7.0.33-0+deb9u1 | mbstring v7.0.33-0+deb9u1 | mcrypt v7.0.33-0+deb9u1 | mysqli v7.0.33-0+deb9u1 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ | openssl v7.0.33-0+deb9u1 | pcre v7.0.33-0+deb9u1 | PDO v7.0.33-0+deb9u1 | pdo_mysql v7.0.33-0+deb9u1 | Phar v2.0.2 | posix v7.0.33-0+deb9u1 | readline v7.0.33-0+deb9u1 | redis v4.2.0 | Reflection v7.0.33-0+deb9u1 | session v7.0.33-0+deb9u1 | shmop v7.0.33-0+deb9u1 | SimpleXML v7.0.33-0+deb9u1 | sockets v7.0.33-0+deb9u1 | SPL v7.0.33-0+deb9u1 | standard v7.0.33-0+deb9u1 | sysvmsg v7.0.33-0+deb9u1 | sysvsem v7.0.33-0+deb9u1 | sysvshm v7.0.33-0+deb9u1 | tokenizer v7.0.33-0+deb9u1 | wddx v7.0.33-0+deb9u1 | xml v7.0.33-0+deb9u1 | xmlreader v7.0.33-0+deb9u1 | xmlwriter v7.0.33-0+deb9u1 | xsl v7.0.33-0+deb9u1 | Zend OPcache v7.0.33-0+deb9u1 | zlib v7.0.33-0+deb9u1
Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
  • Language :- en-US,en;q=0.9

Window

  • Size :- 1903 x 969

Screen

  • Resolution :- 1920 x 1080

No bother.

  • Did you update using the update script?
  • Did you update the Modules (it looks like you did)?
  • Did you clear cache & try in a private window?
  • Did you restart Apache and or reboot?

Updated using Git as its self hosted
updated modules also via git
have cleared cache and tried in new window.
Its somthing thahats happend in the commits in the last 24 hours. last update was monday and that was fine.
Rather not restart server should not need to .

its when you open a dashboard with a graph in.

is config module installed?

seems not to be the case, try to install it first

i have EmonHub Config v2.0.4

thats strangs as i have
image
and cand brows to it hapily enough
if it helps emoncms does not sit in a folder called emoncms .