Tags: core scene
februari 24, 2016 om 4:37 am #2858
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!
Thank you!februari 25, 2016 om 12:12 pm #2879K.RensSleutelbeheerder
It could be a permission issue.
Try chowning all pulsestation files to the correct owner
chown -R http:http /volume1/web/PulseStation/*
- Deze reactie is gewijzigd 4 jaren, 7 maanden geleden door K.Rens.
K.Rensmaart 1, 2016 om 4:52 pm #2904
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.
Anymore ideas?maart 3, 2016 om 10:08 pm #2918
I found this in the logs when running with “http” user :
- PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/mysqlnd.so’ – /usr/lib/php/modules/mysqlnd.so: undefined symbol: BIO_new_mem_buf in Unknown on line 0
- PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/mysql.so’ – /usr/lib/php/modules/mysql.so: undefined symbol: _mysqlnd_fetch_lengths in Unknown on line 0
- PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/mysqli.so’ – /usr/lib/php/modules/mysqli.so: undefined symbol: mysqlnd_get_client_info in Unknown on line 0
- PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/pdo_mysql.so’ – /usr/lib/php/modules/pdo_mysql.so: undefined symbol: mysqlnd_get_client_info in Unknown on line 0
If I use “root” user errors are gone.
All 4 files are readable and executable by “http” user…
Thank you!maart 8, 2016 om 9:14 pm #2940MikaSleutelbeheerder
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.maart 9, 2016 om 3:53 am #2946
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!maart 18, 2016 om 9:17 pm #2982MikaSleutelbeheerder
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.