Gratis domotica › Forums › How can I …? › Synology NAS › Running scene manually only work when starting "core" manually
Tags: core scene
Dit onderwerp bevat 6 reacties, heeft 3 stemmen, en is het laatst gewijzigd door Mika 3 jaren, 8 maanden geleden.
I’m currently building scene and nothing was working at all.
When I decided to shut everything down form the admin console and start “/volume1/web/PulseStation/services/core/core” from my Synology box, everything started to work as coded in Blocky.
Any idea why I’m having this behavior?
If I start everything from the administration console, nothing work, nothing is logged as if no scene existed. But as soon as I start everything with the Synology “core” binary everything comes alive!
It could be a permission issue.
Try chowning all pulsestation files to the correct owner
chown -R http:http /volume1/web/PulseStation/*
I’ve tried your suggestion, but I’m having the same problem.
I’ve tried running the “core” service from console using “http” and everything work like a charm. As soon as I use the web interface to start everything, nothing work anymore.
I found this in the logs when running with “http” user :
If I use “root” user errors are gone.
All 4 files are readable and executable by “http” user…
What if you start from the package center ?
Another quick test can be to do “chmod 777 /volume1/web/PulseStation/services -R” via ssh
Did you modify something in the DSM in the “Control Panel > Web Services” ?
As you explain, for me the problem is that you have run the service as “root” and afterward as “http”. All the files created as “root” are not accessible to the “http” user.
None of this made any difference, but I finally found the problem :
/etc/php/conf.d/extensions.ini was in read-only by root.
Doing a “chmod 644” on the file fix everything!
I have no idea why this file had the wrong rights. One thing for sure, I didn’t touch that before.
Thank you for your help!
We didnt modify that file via the installation script. Maybe another spk…
Je moet ingelogd zijn om een reactie op dit onderwerp te kunnen geven.
Log in / Register