ldleman / yana-server

Interface PHP de domotique Y.A.N.A (You Are Not Alone)
http://projet.idleman.fr/yana
107 stars 59 forks source link

probleme pas de socket.php #166

Closed rikimaruneo closed 8 years ago

rikimaruneo commented 8 years ago

voila j'ai mis a jour essaye de lancer le serveur mais voila rien snif

pi@raspberrypi:~ $ /var/www/yana-server/socket.php bash: /var/www/yana-server/socket.php: Aucun fichier ou dossier de ce type pi@raspberrypi:~ $ cd /var/www/yana-server pi@raspberrypi:/var/www/yana-server $ sudo git pull Already up-to-date. pi@raspberrypi:/var/www/yana-server $ /var/www/yana-server/socket.php bash: /var/www/yana-server/socket.php: Aucun fichier ou dossier de ce type pi@raspberrypi:/var/www/yana-server $ cd pi@raspberrypi:~ $ sudo apt-get install php5-cli Lecture des listes de paquets... Fait Construction de l'arbre des dépendances
Lecture des informations d'état... Fait php5-cli est déjà la plus récente version disponible. 0 mis à jour, 0 nouvellement installés, 0 à enlever et 21 non mis à jour.

si j'ai oublier quelque chose merci de m'aidé bonne soirée

gwenoleR commented 8 years ago

Hello, Si tu fais un cd /var/www/yana-server puis un ls ca donne quoi ?

gwenoleR commented 8 years ago

Attention, il semble que tu n'utilise pas la bonne commande pour lancer le socket, Pour le lancer il faut ajouter le mot php devant la commande, ca te donnerais quelque chose du genre : php /var/www/yana-server/socket.php

ldleman commented 8 years ago

+1

rikimaruneo commented 8 years ago

Bonjour pour le premier message pi@raspberrypi:~ $ cd /var/www/yana-server pi@raspberrypi:/var/www/yana-server $ ls 404.html classes db index.php plugins setting.php action.php common.php footer.php install.php RainTPL.php templates cache constant.php header.php install.sh README.md test.txt

et pour le second pi@raspberrypi:~ $ php /var/www/yana-server/socket.php Could not open input file: /var/www/yana-server/socket.php

voila sa ne veut pas fonctionné chez moi

ldleman commented 8 years ago

Il te manque le fichier socket.php, essaye de faire un git pull cd /var/www/yana-server && git pull

rikimaruneo commented 8 years ago

mise a jour me dit qur c'est a jour pi@raspberrypi:~ $ cd /var/www/yana-server && git pull error: impossible d'ouvrir .git/FETCH_HEAD : Permission non accordée

pi@raspberrypi:/var/www/yana-server $ sudo git pull Already up-to-date. pi@raspberrypi:/var/www/yana-server $ cd pi@raspberrypi:~ $ php /var/www/yana-server/socket.php Could not open input file: /var/www/yana-server/socket.php

je vais tout reinstaler

j'avais installé yana avec ce lien sudo wget https://raw.githubusercontent.com/ldleman/yana-server/master/install.sh && sudo chmod +x install.sh && sudo ./install.sh

je reinstale tout est je vous tiens au courant

ldleman commented 8 years ago

Oui c'est étrange le fichier socket.php est pourtant bien sur le dépot git, a mon avis il se plante dans les MAJ je ne vois que ça.

rikimaruneo commented 8 years ago

J'ai tout réinstaller Et miracle sa marche merci les gars