Emoncms feeds

How to solve this error ?

Fatal error : Cannot declare class MysqlTimeSeries, because the name is already in use in /var/www/emoncms/Modules/feed/engine/MysqlTimeSeries.php on line 4

What are you doing when you get the error?

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).

Server Information

Server Information

Services

  • emonhub :- Active Running
  • emonPiLCD :- Activating Auto-restart
  • redis-server :- Active Running
  • mosquitto :- Active Running
  • demandshaper :- Activating Auto-restart

Emoncms

Server

  • OS :- Linux 4.15.0-72-generic
  • Host :- emoncms | emoncms | (192.168.80.11)
  • Date :- 2019-12-06 17:58:41 UTC
  • Uptime :- 17:58:41 up 2:55, 0 users, load average: 0.10, 0.03, 0.01

Memory

  • RAM :- Used: 7.59%
    • Total :- 3.85 GB
    • Used :- 299.6 MB
    • Free :- 3.56 GB
  • Swap :- Used: 0.00%
    • Total :- 4 GB
    • Used :- 0 B
    • Free :- 4 GB
      Write Load Period

Disk

  • / :- Used: 7.73%
    • Total :- 29.4 GB
    • Used :- 2.27 GB
    • Free :- 25.62 GB
    • Write Load :- n/a
  • /home :- Used: 0.27%
    • Total :- 14.7 GB
    • Used :- 40.12 MB
    • Free :- 13.9 GB
    • Write Load :- n/a
  • /var :- Used: 3.43%
    • Total :- 28.42 GB
    • Used :- 998.02 MB
    • Free :- 25.98 GB
    • Write Load :- n/a
  • /boot :- Used: 14.75%
    • Total :- 975.9 MB
    • Used :- 143.96 MB
    • Free :- 764.74 MB
    • Write Load :- n/a

HTTP

  • Server :- Apache/2.4.29 (Ubuntu) HTTP/1.1 CGI/1.1 8080

MySQL

  • Version :- 5.5.5-10.1.43-MariaDB-0ubuntu0.18.04.1
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2019-12-06 17:58:41 (UTC 00:00‌​)
  • Stats :- Uptime: 10493 Threads: 1 Questions: 20886 Slow queries: 0 Opens: 50 Flush tables: 1 Open tables: 44 Queries per second avg: 1.990

Redis

  • Version :-
    • Redis Server :- 4.0.9
    • PHP Redis :- 5.1.1
  • Host :- localhost:6379
  • Size :- 59 keys (831.84K)
  • Uptime :- 0 days

MQTT Server

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

PHP

  • Version :- 7.2.24-0ubuntu0.18.04.1 (Zend Version 3.2.0)
  • Modules :- apache2handler | calendar v7.2.24-0ubuntu0.18.04.1 | Core v7.2.24-0ubuntu0.18.04.1 | ctype v7.2.24-0ubuntu0.18.04.1 | curl v7.2.24-0ubuntu0.18.04.1 | date v7.2.24-0ubuntu0.18.04.1 | dom v20031129 | exif v7.2.24-0ubuntu0.18.04.1 | fileinfo v1.0.5 | filter v7.2.24-0ubuntu0.18.04.1 | ftp v7.2.24-0ubuntu0.18.04.1 | gd v7.2.24-0ubuntu0.18.04.1 | gettext v7.2.24-0ubuntu0.18.04.1 | hash v1.0 | iconv v7.2.24-0ubuntu0.18.04.1 | json v1.6.0 | libxml v7.2.24-0ubuntu0.18.04.1 | mbstring v7.2.24-0ubuntu0.18.04.1 | mosquitto v0.4.0 | mysqli v7.2.24-0ubuntu0.18.04.1 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $ | openssl v7.2.24-0ubuntu0.18.04.1 | pcre v7.2.24-0ubuntu0.18.04.1 | PDO v7.2.24-0ubuntu0.18.04.1 | pdo_mysql v7.2.24-0ubuntu0.18.04.1 | Phar v2.0.2 | posix v7.2.24-0ubuntu0.18.04.1 | readline v7.2.24-0ubuntu0.18.04.1 | redis v5.1.1 | Reflection v7.2.24-0ubuntu0.18.04.1 | session v7.2.24-0ubuntu0.18.04.1 | shmop v7.2.24-0ubuntu0.18.04.1 | SimpleXML v7.2.24-0ubuntu0.18.04.1 | sockets v7.2.24-0ubuntu0.18.04.1 | sodium v7.2.24-0ubuntu0.18.04.1 | SPL v7.2.24-0ubuntu0.18.04.1 | standard v7.2.24-0ubuntu0.18.04.1 | sysvmsg v7.2.24-0ubuntu0.18.04.1 | sysvsem v7.2.24-0ubuntu0.18.04.1 | sysvshm v7.2.24-0ubuntu0.18.04.1 | tokenizer v7.2.24-0ubuntu0.18.04.1 | wddx v7.2.24-0ubuntu0.18.04.1 | xml v7.2.24-0ubuntu0.18.04.1 | xmlreader v7.2.24-0ubuntu0.18.04.1 | xmlwriter v7.2.24-0ubuntu0.18.04.1 | xsl v7.2.24-0ubuntu0.18.04.1 | Zend OPcache v7.2.24-0ubuntu0.18.04.1 | zlib v7.2.24-0ubuntu0.18.04.1
Client Information

Client Information

HTTP

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

Window

  • Size :- 1519 x 754

Screen

  • Resolution :- 1536 x 864

@Geinian_Gomes -

when click view on the emoncms screen shows this error I sent you, and the feeds screen is in infinite loop.
How to solve these errors?
how to update emoncms ?

That does not really help there is no ‘emoncms screen’. Which menu item?

Can you post a screenshot, please?

We need to know;

  • what the base OS is
  • the hardware it is running on
  • how you installed the system.

detailed information

Again, we need this information;

operating system linux ubuntu latest version.

And the other 2 questions?

It was working normally, I have another emoncms working with the same system, what happened was when I created a feed and pointed to mysql.

So 2 instances of emoncms, on the same server, pointing to the same SQL database?

wget https://raw.githubusercontent.com/openenergymonitor/EmonScripts/master/install/init.sh
chmod +x init.sh
./init.sh

So there are two different virtual machines as well, and they are different banks, how do I update the emoncms that is wrong?
I used your script to install, the same as you posted the video, remember that?

Did you edit the config file as per Install EmonCMS on Ubuntu 18LTS with scripts?

yes, I followed in the footsteps of the video

Where are the emoncms images stored?
Could you pass on that information?

There are no images for Ubuntu just for a RaspberryPi

What exactly did you do?

What do you have on the Inputs page?

the logo, background?

/Theme/basic/logo_login.png