Problem after upgrade to V7

Hi!
Having problem after last upgrade, I upgrad with
"git pull origin master" from version 6

I started first with this.

sudo apt-get install redis-server
ther was some missing pakage to do the pecl install so I installed
sudo apt-get install php5-dev
sudo apt-get install make
sudo apt-get install php5-pear
sudo apt-get install php-pear

and then I continue

sudo pecl install redis
sudo sh -c 'echo "extension=redis.so" > /etc/php5/apache2/conf.d/20-redis.ini'
sudo sh -c 'echo "extension=redis.so" > /etc/php5/cli/conf.d/20-redis.ini'
cd /var/www/emoncms
sudo git pull origin master

Rebooting my server

now every input and feed show undefine!
Did I missed something important or is it not possible to update emoncms V6 to V7 and maintain the data?

/Stema

TrystanLea's picture

Re: Problem after upgrade to V7

Two things to try, first if you login and then load the actual feed list data with: emoncms/feed/list.json
, that might give an error that we can then work on solving.

Another thing to try might be to clear redis with:

$ redis-cli

> flushall

 

 

stema's picture

Re: Problem after upgrade to V7

Thanks Trystan for you trying to help me!

This is what I get from
http://192.168.2.21/emoncms/feed/list.json

[{"time":1390932911,"value":"21.62"},{"time":1390932911,"value":"41.75"},{"time":1390932911,"value":"31.12"},{"time":1390932941,"value":"40.87"},{"time":1390863600,"value":"6.9198"},{"time":1390932941,"value":"31.75"},{"time":1390932941,"value":"-0.43"},{"time":1390932941,"value":"25.62"},{"time":1390932941,"value":"2225.43"},{"time":1390932941,"value":"-2.31"},{"time":1390863600,"value":"35.3534"},{"time":1390863600,"value":"12.0857"},{"time":1390932941,"value":"939"},{"time":1390932941,"value":"1179"},{"time":1390777200,"value":"67335"},{"time":1390932941,"value":"0.79"},{"time":1374232364,"value":"2012"},{"time":1390932941,"value":"238"},{"time":1390932941,"value":"40.31"},{"time":1374232364,"value":"10.5"},{"time":1374232364,"value":"12.7"},{"time":1390932941,"value":"46"},{"time":1374232364,"value":"15.6"},{"time":1390863600,"value":"14.7486"},{"time":1390932941,"value":"-8"},{"time":1390932911,"value":"19.56"},{"time":1390932911,"value":"-8.25"},{"time":1390932911,"value":"22.3"}]

I already tried $ redis-cli

> flushall

with no result..

/Stema

Robert Wall's picture

Re: Problem after upgrade to V7

[~ 8 duplicates of the above post deleted by moderator]

stema's picture

Re: Problem after upgrade to V7

Sorry, had trouble with firefox and it looked like they were not there..

/Stema

TrystanLea's picture

Re: Problem after upgrade to V7

Im not sure whats going wrong there, its not getting most of the feedlist data such as id,name and so on. But a redis flush should have reloaded any incorrectly entered redis data, which suggests that the problem is in the part where the data is loaded from mysql to redis.

Did you run the emoncms database update after the upgrade? Under the admin tab?

stema's picture

Re: Problem after upgrade to V7

Yes it say
Database is up to date - Nothing to do

/Stema

stema's picture

Re: Problem after upgrade to V7

Hi
I solved the problem by making a new installation of the entire server, now everything works!
there was not time to debug, so it had to be the easy way ;)
Thank you for your time

/Stema

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.