Page 1 sur 2
accès domoticz impossible
Publié : 31 janv. 2021, 18:36
par cocof
bonjour
sous un PI4, j''avais domoticz qui fonctionne impec depuis l'été dernier, mais depuis hier impossible d'y accéder soit sur le PI4 qui a une ihm (offline), soit via un PC sur le même réseau (adressepi:8080, la j'ai même pas offline, mais la connexion a échoué). J'ai bien vidé la cache !
quand je fait un sudo service domoticz.sh statu
domotics semble bien lancé !
domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Sun 2021-01-31 18:19:34 CET; 4min 49s ago
Docs: man:systemd-sysv-generator(8)
Process: 656 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
janv. 31 18:19:34 raspberrypi systemd[1]: Starting LSB: Home Automation System...
janv. 31 18:19:34 raspberrypi domoticz.sh[656]: 2021-01-31 18:19:34.750 Status: Domoticz V2020.2 (c)2012-2
janv. 31 18:19:34 raspberrypi domoticz.sh[656]: 2021-01-31 18:19:34.750 Status: Build Hash: b63341bc0, Dat
janv. 31 18:19:34 raspberrypi domoticz.sh[656]: 2021-01-31 18:19:34.751 Status: Startup Path: /home/pi/dom
janv. 31 18:19:34 raspberrypi domoticz.sh[656]: domoticz: Domoticz is starting up....
janv. 31 18:19:34 raspberrypi domoticz[684]: Domoticz is starting up....
janv. 31 18:19:34 raspberrypi domoticz[697]: Domoticz running...
janv. 31 18:19:34 raspberrypi systemd[1]: Started LSB: Home Automation System.
sur le même pi j'ai les services deconz et tvheadend pour lesquels j'ai aucun pb de connexion donc ce n'est a priori pas un pb de réseau.
hier j'ai fait une reinstall d'une partition de début janvier, ça a fonctionné jusque cet après midi, puis rebelotte. Pour info hier j'ai aussi perdu l'heure, j'ai donc activé timedatectl ca a peut être un lien...
L'un de vous a une idée ?
Re: accès domoticz impossible
Publié : 31 janv. 2021, 18:51
par Thierry_06
Bonsoir
une adresse IP qui a changé suite à un reboot de la box ?
Utilise Advanced IP Scanner pour voir l'IP du Pi4 .
Re: accès domoticz impossible
Publié : 31 janv. 2021, 18:56
par Keros
Est-ce DomoticZ est accessible en local sur le Pi4 ?
Est-ce que tu as regardé les logs de DomoticZ pour voir s'il y avait une erreur ? (
Un fichier log pour Domoticz si besoin)
Re: accès domoticz impossible
Publié : 31 janv. 2021, 19:17
par cocof
bonjour
l'ip n'a pas changé car j’accède bien à phoscon et tvheadend. J'arrive bien aussi à me connecter via putty.
En local non plus domoticz n'est pas dispo (offline malgres les nonbreux restart du service). mais en locale j'utilise adressPi:8080. quand je fais en locale 127.0.0.1:8080 j'ai rien non plus. (c'est bien ca l'adresse locale ?)
j'ai tenté de creer un log,
j'ai eu ca mais impossible a dire si c'est bien ou pas ... (y a des erreurs mais je ne les comprends pas)
2021-01-31 19:04:07.237 Status: Domoticz V2020.2 (c)2012-2020 GizMoCuz
2021-01-31 19:04:07.238 Status: Build Hash: b63341bc0, Date: 2020-04-26 13:47:55
2021-01-31 19:04:07.238 Status: Startup Path: /home/pi/domoticz/
2021-01-31 19:04:07.263 Sunrise: 08:22:00 SunSet: 18:09:00
2021-01-31 19:04:07.263 Day length: 09:47:00 Sun at south: 13:16:00
2021-01-31 19:04:07.263 Civil twilight start: 07:51:00 Civil twilight end: 18:40:00
2021-01-31 19:04:07.263 Nautical twilight start: 07:16:00 Nautical twilight end: 19:15:00
2021-01-31 19:04:07.263 Astronomical twilight start: 06:42:00 Astronomical twilight end: 19:50:00
2021-01-31 19:04:07.334 Status: PluginSystem: Started, Python version '3.7.3'.
2021-01-31 19:04:07.339 Active notification Subsystems: email (1/13)
2021-01-31 19:04:07.341 Status: WebServer(HTTP) started on address: :: with port 8080
2021-01-31 19:04:07.404 Status: WebServer(SSL) started on address: :: with port 443
2021-01-31 19:04:07.405 Status: Camera: settings (re)loaded
2021-01-31 19:04:07.406 Starting shared server on: :::6144
2021-01-31 19:04:07.406 Status: TCPServer: shared server started...
2021-01-31 19:04:07.407 Status: RxQueue: queue worker started...
2021-01-31 19:04:09.407 Status: RFXCOM: Worker started...
2021-01-31 19:04:09.408 Status: Hardware Monitor: Started
2021-01-31 19:04:09.432 Status: PVOutput (Input): Worker started...
2021-01-31 19:04:09.432 Status: (ONDULEURx) Started.
2021-01-31 19:04:09.432 Status: EnphaseAPI Worker started...
2021-01-31 19:04:09.433 Status: EnOcean: Worker started...
2021-01-31 19:04:09.434 Status: EcoCompteur: Worker started...
2021-01-31 19:04:09.434 Status: EcoCompteur: Worker started...
2021-01-31 19:04:09.434 Status: (Conbee) Started.
2021-01-31 19:04:09.434 Status: (Clim Mitsubischi) Started.
2021-01-31 19:04:09.434 Status: (linky_production) Started.
2021-01-31 19:04:09.434 Status: NotificationSystem: thread started...
2021-01-31 19:04:09.435 Status: EventSystem: reset all events...
2021-01-31 19:04:09.436 Status: EventSystem: reset all device statuses...
2021-01-31 19:04:09.616 Error: Domoticz(pid:7389, tid:7423('MainWorker')) received fatal signal 6 (Aborted)
2021-01-31 19:04:09.616 Error: siginfo address=0x1cdd, address=0xffffffff
2021-01-31 19:04:09.640 Status: EnOcean: Using serial port: /dev/ttyUSB21
2021-01-31 19:04:09.640 Status: EnOcean Send: 55 00 01 00 05 70 08 38
2021-01-31 19:04:09.640 Status: EnOcean Send: 55 00 01 00 05 70 03 09
2021-01-31 19:04:09.715 Status: EnOcean: 02 (05/01) 00 FF A0 34 80 0A
2021-01-31 19:04:09.715 Status: EnOcean: Transceiver ID_Base: 0xffa03480
2021-01-31 19:04:09.765 Status: PluginSystem: Entering work loop.
2021-01-31 19:04:09.896 Status: (ONDULEURx) Entering work loop.
2021-01-31 19:04:09.896 Status: (ONDULEURx) Initialized version 0.2.3, author 'logread'
2021-01-31 19:04:09.915 Status: EnOcean: 02 (21/00) 00 02 0B 01 00 02 06 03 00 01 9D 40 69 45 4F 01 03 47 41 54 45 57 41 59 43 54 52 4C 00 00 00 00 00
2021-01-31 19:04:09.915 Status: EnOcean: Version_Info, App: 02.0b.01.00, API: 02.06.03.00, ChipID: 01.9d.40.69, ChipVersion: 45.4f.01.03, Description: GATEWAYCTRL
2021-01-31 19:04:12.238 Status: RFXCOM: Using serial port: /dev/ttyUSB11
2021-01-31 19:04:12.270 Error: Thread 12 (Thread 0xafeff220 (LWP 7423)):
2021-01-31 19:04:12.270 Error: #0 __waitpid (options=0, stat_loc=0xafefd2e0, pid=7490) at ../sysdeps/unix/sysv/linux/waitpid.c:30
2021-01-31 19:04:12.271 Error: #1 __waitpid (pid=7490, stat_loc=0xafefd2e0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:25
2021-01-31 19:04:12.271 Error: #2 0x002db8ec in dumpstack_gdb(bool) ()
2021-01-31 19:04:12.271 Error: #3 0x002dbeb8 in signal_handler(int, siginfo_t*, void*) ()
2021-01-31 19:04:12.271 Error: #4 <signal handler called>
2021-01-31 19:04:12.271 Error: #5 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
2021-01-31 19:04:12.271 Error: #6 0xb6987230 in __GI_abort () at abort.c:79
2021-01-31 19:04:12.271 Error: #7 0x0096d02c in __gnu_cxx::__verbose_terminate_handler() ()
2021-01-31 19:04:12.271 Error: #8 0x008d04cc in __cxxabiv1::__terminate(void (*)()) ()
2021-01-31 19:04:12.271 Error: #9 0x008d0540 in std::terminate() ()
2021-01-31 19:04:12.271 Error: #10 0x008daff0 in __cxa_throw ()
2021-01-31 19:04:12.271 Error: #11 0x00909a48 in std::__throw_invalid_argument(char const*) ()
2021-01-31 19:04:12.271 Error: #12 0x0039cd74 in unsigned long long __gnu_cxx::__stoa<unsigned long long, unsigned long long, char, int>(unsigned long long (*)(char const*, char**, int), char const*, char const*, unsigned int*, int) ()
2021-01-31 19:04:12.271 Error: #13 0x0037e4f0 in http::server::CWebServer::GetJSonDevices(Json::Value&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
2021-01-31 19:04:12.271 Error: #14 0x0024e2d0 in CEventSystem::UpdateJsonMap(CEventSystem::_tDeviceStatus&, unsigned long long) [clone .constprop.1295] ()
2021-01-31 19:04:12.271 Error: #15 0x00261354 in CEventSystem::GetCurrentStates() ()
2021-01-31 19:04:12.271 Error: #16 0x00261cb4 in CEventSystem::StartEventSystem() ()
2021-01-31 19:04:12.271 Error: #17 0x002aa984 in MainWorker::Do_Work() ()
2021-01-31 19:04:12.271 Error: #18 0x009447ec in execute_native_thread_routine ()
2021-01-31 19:04:12.271 Error: #19 0xb6b94494 in start_thread (arg=0xafeff220) at pthread_create.c:486
2021-01-31 19:04:12.271 Error: #20 0xb6a47578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Re: accès domoticz impossible
Publié : 31 janv. 2021, 19:40
par Keros
Prends la première erreur Error: Domoticz(pid:7389, tid:7423('MainWorker') et tu la mets dans un moteur de recherche.
Re: accès domoticz impossible
Publié : 31 janv. 2021, 19:46
par cocof
merci mais je trouve pas grand chose (et mon anglais est approximatif)
j'ai vu un forum qui incriminait le manque de place en ram, j'ai alors lancé la commande free et ca me retourne qu'il me reste 7 Go de ram (j'ai un Pi4 8 Go).
Re: accès domoticz impossible
Publié : 01 févr. 2021, 09:00
par cocof
Bonjour
Hier soir je reinstal un gost, tout refonctionnait bien, j'upload la base de donnée domoticz de vendredi dernier, tout est impeccable. Ce matin j ai perdu tous mes périphériques de mesure, la page m'indique " pas de capteur de mesure trouve ou ajoute" ( la page des interrupteur est ok). J ai aussi plus aucun dispositifs ... Et bien sûr tout plein de message d'erreur dans le log...
Webserveur P0 exception occurred : "stoull". Je vais tenter un base de donne plus vielle...
Ce qui est marrant c est que j' ai une notification sur un de mes capteur de mesure et elle semble bien fonctionner ! Bizarre
Re: accès domoticz impossible
Publié : 01 févr. 2021, 16:13
par secator
Active: active (exited) since Sun 2021-01-31 18:19:34 CET; 4min 49s ago
je crois que ça veut dire que le processus ne tourne plus, d'où le offline. pour ceux qui fonctionnent avec un Raspberry, est ce que ça ne peut pas venir d'une SD défectueuse ? ( Je ne donne pas mon avis car je suis sous mini pc donc pas d'expérience du Raspberry)
Re: accès domoticz impossible
Publié : 01 févr. 2021, 20:58
par cocof
Mon pi tourne sur un SSD depuis 6 mois (après 3 ans sans soucis sur une micro sd) un comble si c'est ça!
Ce soir j' ai tente de mettre une sauvegarde plus ancienne je verrais bien demain matin si ça marche ou pas, je sens un PB lié a une mesure qui n'est pas au bon format dans un de mes script ( pourtant mes script n'ont pas changé mais certain vont chercher des infos sur le net, c'est la qu'il y a eu peut être un changement. Je vais les désactiver un à un et voir si il y en a un qui fait planter ( je miserai sur celui de ma tondeuse word qui va chercher des info sur une appli Android)
Re: accès domoticz impossible
Publié : 03 févr. 2021, 10:26
par DomoTiBI
Bonjour,
Si ça peut aider : j'ai résolu mes soucis d’accès en passant au filaire (Ethernet) pour la connexion du Raspberry au réseau.