As I had a Raspberry Pi with Stretch handy, I thought when I received my two emonTH units, I’d simply give the manual installation a go:
Before I give up and simply write an emonSD, perhaps someone can help me debug the problem:
emonCMS itself is running. It has recognised the inputs, but not that they are emonTHs and therefore the values of the input are arbitrary and have no units. Additionally, there seem to be some menu items missing:
Although the inputs are updated every few seconds, if I try to create a feed from one of them, the feed is not updated.
@lgheorghe Your post refers to the emonpi version of emonhub, whilst the build guide which @jeff has used, uses the standard emonhub (the sooner that those 2 versions are combined - the better!!!), so please disregard that post Jeff.
@jeff as @borpin has said, have you created any feeds from the inputs as per Brian’s link? if so, and they still don’t update, please check that your database has been updated at menu Setup > Administration (if you can’t see the Administration menu - log out and log back in again).
Whilst in Administration, check the error log for any messages.
Then recheck the Create data repositories for emoncms feed engines: section of the build guide to see if you may have missed a step.
Once you get feeds to log ok, we can sort out assigning ‘units’.
If you have done a manual install, you need to add in the additional modules you want (such as Apps, dashboard etc). You need to root around in the GitHub repository to find them as they are not packaged with the core Emoncms install.
For some reason, the ownership & permissions on your data folders doesn’t look correct.
They should be; drwxr-xr-x 2 www-data root 4096 Feb 7 22:24 phpfina
You need to correct this using chmod and chown.
To Jeff’s point, the files in the folders don’t need 755 unless they’re either directories or executables. Since they are neither of those two things, they really should not be marked with the “x” bit.
They definitely do need 644 (which they have).
The group does appear to be wrong still though - but the group permission is the same as the everyone permission anyway so I’d be very surprised if that made any difference at all.
Try clicking ‘auto refresh’ above the logger window. You will then see the real time log. What Logging level are you set at? Set to LOG and you will at least see the call to get the latest log entries.