Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Tiers][Sujet Principal] Motion

Pour échanger sur les plugins classés en catégorie "Sécurité"
Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 23 sept. 2016, 11:00

Donc motion a bien démarrer avec ton flux et analyse les images.
Si tu fait un mouvement tu vas obtenir un snap voir une video.

Pour le player, qu'a tu dans le flux, un image vide ou la camera barré?
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

weevil
Timide
Messages : 66
Inscription : 15 sept. 2016, 13:26

Re: [Sujet officiel] Motion

Message par weevil » 23 sept. 2016, 11:03

J'ai la caméra barrée quand je clique sur Editer dans Détection :
cap_cam_motion.png
cap_cam_motion.png (31.14 Kio) Consulté 1390 fois
Jeedom sur Debian (NUC) + KNX + RTS + MySensor

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 23 sept. 2016, 11:13

weevil a écrit :J'ai la caméra barrée quand je clique sur Editer dans Détection :
cap_cam_motion.png
Ha c'est bisard car la il n'arrive pas a ouvrir le flux.
Est ce que tu as des fichier générer dans le dossier de snap
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

weevil
Timide
Messages : 66
Inscription : 15 sept. 2016, 13:26

Re: [Sujet officiel] Motion

Message par weevil » 23 sept. 2016, 11:20

Je suis à distance et je n'ai pas (encore) la possibilité de vérifier.

Par contre je me prends des erreurs sur Jeedom alors que je ne fais rien : 500 : Internal Server Error
et il semblerait que le démon pose problème (rouge NOK sur la page de config) ... je ne pourrai pas en savoir plus avant ce soir donc inutile de perdre du temps sur le sujet pour l'instant. Je vais arrêter motion sinon il va me remplir le disque de logs.

Je te tiens au courant dès que possible.

Merci.
Jeedom sur Debian (NUC) + KNX + RTS + MySensor

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 23 sept. 2016, 11:32

Errror 500 => il faut regarder les log de http_error.
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] Motion

Message par spark » 23 sept. 2016, 20:18

@mika-nt28

voici le résultat dans putty:


jeedom@jeedom:~ $ sudo apt-get install motion
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package motion


jeedom@jeedom:~ $ sudo apt-cache search motion
cinepaint - Motion picture image painting and retouching tool.
ffmpeg - audio/video encoder, streaming server & audio/video file converter
libavcodec56 - Library to encode decode multimedia streams - runtime files
libavcodec-dev - Library to encode decode multimedia streams - devel files
photofilmstrip - Slideshow creator with Ken Burns effect
toonloop - live animation editor
fonts-roboto - sans-serif font family released with Android Ice Cream Sandwich
jeedom@jeedom:~ $ sudo apt-get install motion
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package motion

weevil
Timide
Messages : 66
Inscription : 15 sept. 2016, 13:26

Re: [Sujet officiel] Motion

Message par weevil » 23 sept. 2016, 23:08

Je viens de chercher dans la log d'accès apache. Il y a des erreurs récurrentes :

Code : Tout sélectionner

194.154.xxx.xxx - - [23/Sep/2016:15:01:38 +0200] "POST /jeedom/plugins/motion/core/ajax/motion.ajax.php HTTP/1.1" 500 510 "http://xxxxxxxx.fr:8081/jeedom/index.php?v=d&p=dashboard" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36"
Dans le error.log il y a ça qui revient fréquemment :

Code : Tout sélectionner

error.log:[Fri Sep 23 15:44:01.579258 2016] [:error] [pid 32040] [client 194.154.xxx.xxx:64920] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/jeedom/plugins/motion/core/class/motion.class.php on line 442, referer: http://xxxx.fr:zzzz/jeedom/index.php?v=d&p=dashboard
Jeedom sur Debian (NUC) + KNX + RTS + MySensor

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 24 sept. 2016, 07:15

Ok je vais regarder ça
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] Motion

Message par spark » 27 sept. 2016, 20:17

plugin toujours NOK chez moi:

Code : Tout sélectionner

*****************************************************************************************************
*                                          Installation de FFMPEG                                   *
*****************************************************************************************************
Hit http://archive.raspberrypi.org jessie InRelease
Get:1 http://www.deb-multimedia.org jessie InRelease [38.2 kB]
Hit https://deb.nodesource.com jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Get:2 http://www.deb-multimedia.org jessie/main Sources [73.7 kB]
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://www.deb-multimedia.org jessie/non-free Sources
Hit https://deb.nodesource.com jessie/main Sources
Get:3 http://www.deb-multimedia.org jessie/main armhf Packages [114 kB]
Hit https://deb.nodesource.com jessie/main armhf Packages
Hit http://www.deb-multimedia.org jessie/non-free armhf Packages
Hit http://www.deb-multimedia.org jessie/main Translation-en
Hit http://www.deb-multimedia.org jessie/non-free Translation-en
Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_GB
Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Fetched 226 kB in 3s (66.1 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
deb-multimedia-keyring
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.7 kB of archives.
After this operation, 25.6 kB of additional disk space will be used.
Get:1 http://www.deb-multimedia.org/ jessie/main deb-multimedia-keyring all 2016.8.1 [10.7 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 10.7 kB in 0s (212 kB/s)
Selecting previously unselected package deb-multimedia-keyring.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 44614 files and directories currently installed.)
Preparing to unpack .../deb-multimedia-keyring_2016.8.1_all.deb ...
Unpacking deb-multimedia-keyring (2016.8.1) ...
Setting up deb-multimedia-keyring (2016.8.1) ...
Hit http://www.deb-multimedia.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit https://deb.nodesource.com jessie InRelease
Hit http://www.deb-multimedia.org jessie/main Sources
Hit http://www.deb-multimedia.org jessie/non-free Sources
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://www.deb-multimedia.org jessie/main armhf Packages
Hit http://www.deb-multimedia.org jessie/non-free armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://www.deb-multimedia.org jessie/main Translation-en
Hit http://www.deb-multimedia.org jessie/non-free Translation-en
Hit https://deb.nodesource.com jessie/main Sources
Hit https://deb.nodesource.com jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:6 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:9 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_GB
Get:10 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libass5 libasyncns0 libavc1394-0 libavdevice56 libavfilter5 libavresample2
libcaca0 libcdio-cdda1 libcdio-paranoia1 libcdio13 libdirectfb-1.2-9
libenca0 libflac8 libgraphite2-3 libharfbuzz0b libice6 libiec61883-0
libjack-jackd2-0 libpostproc53 libpulse0 libsdl1.2debian libsm6 libsndfile1
libswscale3 libvidstab1.0 libx11-xcb1 libxcb-shape0 libxcb-xfixes0 libxi6
libxtst6 libxv1 x11-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
ffmpeg libav-tools
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1,928 kB disk space will be freed.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 44618 files and directories currently installed.)
Removing libav-tools (10:2.6.9-dmo1) ...
Removing ffmpeg (10:2.6.9-dmo1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libffms2-3 liblsmash2
The following NEW packages will be installed:
ffmpeg libffms2-3 liblsmash2 x264
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,786 kB of archives.
After this operation, 2,793 kB of additional disk space will be used.
Get:1 http://www.deb-multimedia.org/ jessie/main libffms2-3 armhf 2.20-dmo2 [77.5 kB]
Get:2 http://www.deb-multimedia.org/ jessie/main ffmpeg armhf 10:2.6.9-dmo1 [1,252 kB]
Get:3 http://www.deb-multimedia.org/ jessie/main liblsmash2 armhf 2.3.0-dmo1 [153 kB]
Get:4 http://www.deb-multimedia.org/ jessie/main x264 armhf 3:0.146.2538+git121396c-dmo2 [304 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 1,786 kB in 1s (1,191 kB/s)
Selecting previously unselected package libffms2-3:armhf.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 44555 files and directories currently installed.)
Preparing to unpack .../libffms2-3_2.20-dmo2_armhf.deb ...
Unpacking libffms2-3:armhf (2.20-dmo2) ...
Selecting previously unselected package ffmpeg.
Preparing to unpack .../ffmpeg_10%3a2.6.9-dmo1_armhf.deb ...
Unpacking ffmpeg (10:2.6.9-dmo1) ...
Selecting previously unselected package liblsmash2.
Preparing to unpack .../liblsmash2_2.3.0-dmo1_armhf.deb ...
Unpacking liblsmash2 (2.3.0-dmo1) ...
Selecting previously unselected package x264.
Preparing to unpack .../x264_3%3a0.146.2538+git121396c-dmo2_armhf.deb ...
Unpacking x264 (3:0.146.2538+git121396c-dmo2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libffms2-3:armhf (2.20-dmo2) ...
Setting up ffmpeg (10:2.6.9-dmo1) ...
Setting up liblsmash2 (2.3.0-dmo1) ...
Setting up x264 (3:0.146.2538+git121396c-dmo2) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
*****************************************************************************************************
*                                          Compilation de motion:                                   *
*****************************************************************************************************
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package motion
chmod: cannot access ‘/etc/motion/’: No such file or directory
*****************************************************************************************************
*                                Installation de motion terminé                                     *
*****************************************************************************************************

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 28 sept. 2016, 08:06

@spark ton problème ne vien pas du plugin mais de ton os ou plutôt d'un paquet manquant.
Sous quel distribution est tu?
Qu'a tu dans le fichier /etc/apt/sources.list
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] Motion

Message par spark » 28 sept. 2016, 21:22

voici la réponse:

jeedom@jeedom:~ $ sudo nano /etc/apt/sources.list
GNU nano 2.2.6 File: /etc/apt/sources.list

#http://www.deb-multimedia.org
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free

weevil
Timide
Messages : 66
Inscription : 15 sept. 2016, 13:26

Re: [Sujet officiel] Motion

Message par weevil » 28 sept. 2016, 21:56

Perso j'ai ça et motion s'installe :
deb http://debian.proxad.net/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://debian.proxad.net/debian/ jessie-updates main contrib non-free

deb http://http.debian.net/debian jessie-backports main
Jeedom sur Debian (NUC) + KNX + RTS + MySensor

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 29 sept. 2016, 07:59

Oui il n'y a aucun server de paquet donc tu sera toujours embeter et pas que pour le plugin motion.
Met a jours ton sources.list avec ceci si tu est bien sur un debian jessie

Code : Tout sélectionner

# deb http://ftp.fr.debian.org/debian/ jessie main                                                                                                
deb http://ftp.fr.debian.org/debian/ jessie main
deb-src http://ftp.fr.debian.org/debian/ jessie main       
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main                    
# jessie-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ jessie-updates main
deb-src http://ftp.fr.debian.org/debian/ jessie-updates main
#http://www.deb-multimedia.org
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free
 
Puis fait un
#sudo apt-get update
#sudo apt-get upgrade

Puis tu peux réinstaller les dependance
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] Motion

Message par spark » 29 sept. 2016, 08:00

Ok merci je dois ajouter au début ou à la fin ou aucune importance ?

Envoyé de mon A0001 en utilisant Tapatalk

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 29 sept. 2016, 08:19

Tu remplace le tout
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] Motion

Message par spark » 29 sept. 2016, 17:49

je suis en Raspbian GNU/Linux 8.0 (jessie)

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 30 sept. 2016, 08:16

spark a écrit :je suis en Raspbian GNU/Linux 8.0 (jessie)
Oui comme moi tu peux donc sans soucis mettre a jours ton fichier sources.list avec ce que je t'ai donné.
Cela réglera ton problème et te permettra de mettre a jours ton os
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] Motion

Message par spark » 30 sept. 2016, 09:42

Ok je te remercie je ferais cela ce soir.

Par contre je comprends pas la différence entre debian chez toi et raspbian chez moi et tu dis qu'il s'agit des mêmes sources liste

Envoyé de mon A0001 en utilisant Tapatalk

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 7995
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Sujet officiel] Motion

Message par mika-nt28 » 30 sept. 2016, 10:04

Je devais pas etre reveiller.

Y a pas grande difference ormis que raspbian est adapter au raspberry
Ton /etc/apt/sources.list sera plutot ca

Code : Tout sélectionner

deb http://archive.raspbian.org/raspbian jessie main contrib non-free
deb-src http://archive.raspbian.org/raspbian jessie  main contrib non-free

#http://www.deb-multimedia.org
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free
il est possible que tu es un erreur de key après l'update.
pour la corriger
wget https://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] Motion

Message par spark » 30 sept. 2016, 10:12

Ha ok c'est plus logique aussi celon moi. Merci

Envoyé de mon A0001 en utilisant Tapatalk

Répondre

Revenir vers « [Catégorie] Sécurité »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 4 invités