Community
OpenEnergyMonitor

Community

Synology NAS - ERROR: Feed could not be created, undefined

synology
nas
emoncms
Tags: #<Tag:0x00007f880a46a368> #<Tag:0x00007f880a46a228> #<Tag:0x00007f880a46a020>
(Anil Ghatikar) #1

Hello ,
I am new to the world of Linux and servers but have pretty good grasp of basics of database etc.
Here i the problem. I installed Emoncms on my Synology NAS DS214 with .DSM 6.1.1-15101 Update 4
EMONCMS is 9.8.6 | 2017.05.10

when I try to create feed I get the error- "ERROR: Feed could not be created, undefined"
Same error for PHPFINA and PHPFIWA engines

The emoncms log shows entry - ERROR|PHPFina.php|create_meta() could not write meta data file fopen(/var/lib/phpfina/8.meta): failed to open stream: Operation not permitted
2017-05-28 15:00:53.806|WARN|feed_model.php|create() failed to create feed model feedid=8

following is the log from debug console -

jquery-1.11.3.min.js:5 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.

view:370 Object {id: “16”, nodeid: “3”, name: “batteryamps”, description: “”, processList: “1:2”…}
view:385 contextid=16
view:385 contextprocesslist=1,2
process_ui.js:23 contextid=16
process_ui.js:24 contextprocesslist=
view:370 Object {id: “26”, nodeid: “3”, name: “BMVMidpoint_Deviate_Voltage”, description: “”, processList: “”…}
view:385 contextid=26
view:385 contextprocesslist=
---- I have checked the directory permissions on NAS

drwxrwxrwx 2 root root 4096 May 28 15:27 phpfina
drwxrwxrwx 2 root root 4096 May 28 15:27 phpfiwa
drwxrwxrwx 2 root root 4096 May 28 15:27 phptimeseries

(Bjarni) #2

did you get this to work? and do you remember what the fix was?

(Anil Ghatikar) #3

I broke so many things in PHP and MariaDB that Finally I reset it back and used a Raspberry pi which was much easier

1 Like