I have upgraded the rpi image with php 7 and rebuild supla server. all is ok after 10 hours of "lectures" (more problem with the openssl library).
At the moment the server is running and work.
The only problem is the status of the device on the "I / O Devices": I connected an arduino and with the app for Android i can control the connected device, but on the administration page it shows the status is always disconnected. please watch the attachment
supla server 2.0 on raspberry arduino device disconnected
-
- Posts: 8
- Joined: Wed Apr 19, 2017 9:49 pm
You do not have the required permissions to view the files attached to this post.
-
- Posts: 8
- Joined: Wed Apr 19, 2017 9:49 pm
nothing. /var/www/html/var/logs/prod.log is empty.
/var/www/html/var/sessions is empty. very strange.
/var/www/html/var/sessions is empty. very strange.
-
- Posts: 19400
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
/var/www/cloud.supla.org/var/logs
-
- Posts: 8
- Joined: Wed Apr 19, 2017 9:49 pm
My document root for apache is /var/www/html and var/log contain prod.log but is empty
-
- Posts: 19400
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
netstat -an |grep supla-server-ctrl.sock
-
- Posts: 19400
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
ls -l /tmp/supla-server-ctrl.sock
-
- Posts: 8
- Joined: Wed Apr 19, 2017 9:49 pm
You do not have the required permissions to view the files attached to this post.
-
- Posts: 19400
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
vi /etc/systemd/system/multi-user.target.wants/apache2.service
replace
PrivateTmp=true
to
PrivateTmp=false
systemctl daemon-reload
/etc/init.d/apache2 restart
replace
PrivateTmp=true
to
PrivateTmp=false
systemctl daemon-reload
/etc/init.d/apache2 restart