Emoncms running on own Server

A security feature was introduced to ensure that the ‘administration’ menu is only accessible during a logged-in session. whilst the ‘My Account’ remains accessible under wider circumstances.
If the API keys are sensitive, wouldn’t it make sense to include them in the most secure location?

Paul

pb66 thanks
sorry for that about post again

 

 


ls -la /var/lib/phpfiwa/
total 8
drwxr-xr-x  2 www-data root 4096 Aug 31 21:17 .
drwxr-xr-x 51 root     root 4096 Sep  1 06:49 ..

ls -la /var/lib/phpfina/
total 500
drwxr-xr-x  2 www-data root       4096 Sep 22 12:59 .
drwxr-xr-x 51 root     root       4096 Sep  1 06:49 ..
-rw-r--r--  1 www-data www-data    660 Sep 22 02:47 10.dat
-rw-r--r--  1 www-data www-data     16 Sep 22 02:20 10.meta
-rw-r--r--  1 www-data www-data    660 Sep 22 02:48 11.dat
-rw-r--r--  1 www-data www-data     16 Sep 22 02:21 11.meta
-rw-r--r--  1 www-data www-data 140476 Sep 26 14:31 12.dat
-rw-r--r--  1 www-data www-data     16 Sep 22 12:59 12.meta
-rw-r--r--  1 www-data www-data 140476 Sep 26 14:31 13.dat
-rw-r--r--  1 www-data www-data     16 Sep 22 12:59 13.meta
-rw-r--r--  1 www-data www-data 140464 Sep 26 14:31 15.dat
-rw-r--r--  1 www-data www-data     16 Sep 22 12:59 15.meta
-rw-r--r--  1 www-data www-data      0 Sep 20 12:59 3.dat
-rw-r--r--  1 www-data www-data     16 Sep 20 12:59 3.meta
-rw-r--r--  1 www-data www-data      0 Sep 20 12:59 4.dat
-rw-r--r--  1 www-data www-data     16 Sep 20 12:59 4.meta
-rw-r--r--  1 www-data www-data      0 Sep 21 14:43 5.dat
-rw-r--r--  1 www-data www-data     16 Sep 21 14:43 5.meta
-rw-r--r--  1 www-data www-data      0 Sep 21 14:43 6.dat
-rw-r--r--  1 www-data www-data     16 Sep 21 14:43 6.meta
-rw-r--r--  1 www-data www-data      0 Sep 21 14:43 7.dat
-rw-r--r--  1 www-data www-data     16 Sep 21 14:43 7.meta
-rw-r--r--  1 www-data www-data      0 Sep 21 14:43 8.dat
-rw-r--r--  1 www-data www-data     16 Sep 21 14:43 8.meta
-rw-r--r--  1 www-data www-data    660 Sep 22 02:47 9.dat
-rw-r--r--  1 www-data www-data     16 Sep 22 02:20 9.meta

ls -la /var/lib/phptimeseries/
total 16
drwxr-xr-x  2 www-data root     4096 Sep 26 14:32 .
drwxr-xr-x 51 root     root     4096 Sep  1 06:49 ..
-rw-r--r--  1 www-data www-data   45 Sep 26 14:31 feed_14.MYD
-rw-r--r--  1 www-data www-data   27 Sep 28 17:58 feed_16.MYD

This is the info that you requested?

thanks

i get this on my logger on emoncms remote

Someone would help about >?

The permissions and ownerships on the php datadir’s look fine.

The logs you’ve posted just now look like they highlight another, but most probably an unrelated issue. Where is the data coming from?

Those messages tell us the data is arriving in the wrong format or has errors.

But the inputs seem to be updating, some, if not all the time, so some data is getting through.

Inputs not updating would not cause the feeds to not be found or the processlists to not populate, so probably unrelated.

I’m not sure if starting afresh may prove easier than trying to fix this install, have you considered starting again on the remote server? Is the emonPi still working ok?

(I haven’t had much time for posting on the forum, which is why I hadn’t answered your PM, support is best kept out on the forum)

thanks paul , sorry for the interruption on my PM

the data comes from my emonpi 03may-16 image

yes the emonpi are working fine and the emoncms local ( emonpi ) too

yes some data are missing or through , the problem is inputs are apparently ok , when i try to config the feeds stuck in that point

i reinstall the emoncms remote , and the problem is the same

thks

Do the datadir’s get replaced when you reinstall?

Is the settings.php pointing at the correct location for the datadir’s?

The file size and last update times of the files in the datadir’s you’ve shown us vary, suggesting the feeds did not all stop together or they are remains from an earlier install attempt, what happens with the first feed (feedid 1) you try to create after a fresh install? do you get any error messages like “unable to create feed” or “unable to save processlist” etc etc?

I’m afraid I’m running out of idea’s, which guide are you following and did you make any changes to the instruction at all?

Do AWS have a helpdesk? maybe it’s a quirk with their setup,

i reinstall emoncms on remote server and datadir its the same
im ussing this guide
openenergymonitor/emonhub/blob/emon-pi/configuration.md#c-emoncmsorg

If im reciving data from my emonpi inputs on remote emoncms inputs its because at some point the remote server is receiving data from emonpi , in my opinion the data are getting in emoncms remote AWS , the problem is some inside config on emoncms remote , because for some reason the data cant by displayed or proceced on Feeds , maybe im wrong

i see this into EmonHub Config Editor remote AWS

Do AWS have a helpdesk? maybe it’s a quirk with their setup,
yes have a helpdesk , where you suggest to look

But are the folder’s empty when you reinstall or are the previous files still there?

But you have not told us what guide you followed to install the remote emoncms instance.

I see no reason why you need emonhub on the remote server.

You still have not confirmed the datadir’s locations in emoncms/settings.php.

EDIT - another thing worth checking - do you have Redis installed? and is the configuration correct in emoncms/settings.php for Redis?

hi
i dont have Redis installed

i install emonhub , because that is the link
Alternativly emoncms can be installed on a Linux server see install instructions on emoncms github: GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data
All the best,
that suggest open energy monitor support when i request support for that ,
What do you recommend to install ?

Have you finally fixed the problem?
I have your problem as well

hi
i bought the shield only , but in my country the customs are very slow , soo waiting for it
anyway im working on a one part , only the shield with micro inside , to reduce cost and compability problems ,
what problems are you experimented>