[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
chmod=0770
chown=root:pi
U mnie to wygląda tak i działa...
Supla virtual device MQTT
-
Beku
- Posts: 453
- Joined: Tue Nov 06, 2018 1:49 pm
Spróbuj coś poczytać. Nie tylko ty masz taki problem:
Code: Select all
https://github.com/Supervisor/supervisor/issues/173
-
szym3k
- Posts: 270
- Joined: Mon May 15, 2017 10:32 am
Beku wrote: Mon Feb 24, 2020 6:25 pm dodałem trochę dodatkowych logów.
Proszę wykonaj:
i uruchom ponownie program. Daj znać co masz w logachCode: Select all
cd src/supla-dev/Debug git pull make all
Code: Select all
suplalpine:/home/supla/supla-virtual-device# ./supla-virtual-device
SUPLA-VIRTUAL-DEVICE v1.0.1
DEBUG[1582624590.303039] searching channel with number 0
DEBUG[1582624590.303058] adding channel with number 0
DEBUG[1582624590.303068] adding channel with number 0
DEBUG[1582624590.303082] searching channel with number 0
DEBUG[1582624590.303094] c_number: 0
DEBUG[1582624590.303155] Protocol v12
DEBUG[1582624590.303168] Starting...
DEBUG[1582624590.303342] Device GUID: DBCD8AA0E51E8A513AB1E0AAD7BDC16D
DEBUG[1582624590.303507] initializing channels...
DEBUG[1582624590.303539] reading channel_0 value from file /home/supla/supla-filesensors/temp.txt
DEBUG[1582624590.303593] sending value of channel_0 to supla server...
Segmentation fault
suplalpine:/home/supla/supla-virtual-device# cd ..
suplalpine:/home/supla# cd supla-filesensors
suplalpine:/home/supla/supla-filesensors# cat temp.txt
11.94Edit:
sprawdziłem jeszcze na publicznej chmurze - jest to samo.
Nie wiem co mogę jeszcze ew. sprawdzić.
-
Beku
- Posts: 453
- Joined: Tue Nov 06, 2018 1:49 pm
zrób jeszcze raz to samo. Poprawiłem coś.szym3k wrote: Tue Feb 25, 2020 9:59 amBeku wrote: Mon Feb 24, 2020 6:25 pm dodałem trochę dodatkowych logów.
Proszę wykonaj:
i uruchom ponownie program. Daj znać co masz w logachCode: Select all
cd src/supla-dev/Debug git pull make allCode: Select all
suplalpine:/home/supla/supla-virtual-device# ./supla-virtual-device SUPLA-VIRTUAL-DEVICE v1.0.1 DEBUG[1582624590.303039] searching channel with number 0 DEBUG[1582624590.303058] adding channel with number 0 DEBUG[1582624590.303068] adding channel with number 0 DEBUG[1582624590.303082] searching channel with number 0 DEBUG[1582624590.303094] c_number: 0 DEBUG[1582624590.303155] Protocol v12 DEBUG[1582624590.303168] Starting... DEBUG[1582624590.303342] Device GUID: DBCD8AA0E51E8A513AB1E0AAD7BDC16D DEBUG[1582624590.303507] initializing channels... DEBUG[1582624590.303539] reading channel_0 value from file /home/supla/supla-filesensors/temp.txt DEBUG[1582624590.303593] sending value of channel_0 to supla server... Segmentation fault suplalpine:/home/supla/supla-virtual-device# cd .. suplalpine:/home/supla# cd supla-filesensors suplalpine:/home/supla/supla-filesensors# cat temp.txt 11.94
Edit:
sprawdziłem jeszcze na publicznej chmurze - jest to samo.
Nie wiem co mogę jeszcze ew. sprawdzić.
-
szym3k
- Posts: 270
- Joined: Mon May 15, 2017 10:32 am
Bingo! Działa! Świetna robota!
Code: Select all
DEBUG[1582629195.500437] searching channel with number 0
DEBUG[1582629195.500460] adding channel with number 0
DEBUG[1582629195.500481] adding channel with number 0
DEBUG[1582629195.500499] searching channel with number 0
DEBUG[1582629195.500509] c_number: 0
DEBUG[1582629195.500579] Protocol v12
DEBUG[1582629195.500597] Starting...
DEBUG[1582629195.500755] Device GUID: DBCD8AA0E51E8A513AB1E0AAD7BDC16D
DEBUG[1582629195.502144] initializing channels...
DEBUG[1582629195.502171] reading channel_0 value from file /home/supla/supla-filesensors/temp.txt
DEBUG[1582629195.502220] sending value of channel_0 to supla server...
DEBUG[1582629195.502283] initializing server connection...
DEBUG[1582629195.502367] entering main loop...
INFO[1582629195.502402] SSL version: OpenSSL 1.1.1d 10 Sep 2019
DEBUG[1582629195.505744] Connecting...
DEBUG[1582629195.512243] Connected with ECDHE-RSA-AES256-GCM-SHA384 encryption
DEBUG[1582629195.512274] Server certificates:
DEBUG[1582629195.512284] Subject: /OU=Domain Control Validated/OU=PositiveSSL/CN=XXX
DEBUG[1582629195.512304] Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
DEBUG[1582629195.512349] Register in progress...
DEBUG[1582629195.776688] setting callbacks for value changing...
DEBUG[1582629195.776729] callbacks are set
DEBUG[1582629195.776742] Registered and ready.
DEBUG[1582629205.5648] reading channel_0 value from file /home/supla/supla-filesensors/temp.txt
DEBUG[1582629205.5747] sending value of channel_0 to supla server...
Last edited by szym3k on Tue Feb 25, 2020 11:17 am, edited 1 time in total.
-
Beku
- Posts: 453
- Joined: Tue Nov 06, 2018 1:49 pm
Pięknieszym3k wrote: Tue Feb 25, 2020 11:16 am Bingo! Działa! Świetna robota!
Teraz mogę ustawiać wszystko! Jeszcze raz dziękuje za cierpliwośćCode: Select all
DEBUG[1582629195.500437] searching channel with number 0 DEBUG[1582629195.500460] adding channel with number 0 DEBUG[1582629195.500481] adding channel with number 0 DEBUG[1582629195.500499] searching channel with number 0 DEBUG[1582629195.500509] c_number: 0 DEBUG[1582629195.500579] Protocol v12 DEBUG[1582629195.500597] Starting... DEBUG[1582629195.500755] Device GUID: DBCD8AA0E51E8A513AB1E0AAD7BDC16D DEBUG[1582629195.502144] initializing channels... DEBUG[1582629195.502171] reading channel_0 value from file /home/supla/supla-filesensors/temp.txt DEBUG[1582629195.502220] sending value of channel_0 to supla server... DEBUG[1582629195.502283] initializing server connection... DEBUG[1582629195.502367] entering main loop... INFO[1582629195.502402] SSL version: OpenSSL 1.1.1d 10 Sep 2019 DEBUG[1582629195.505744] Connecting... DEBUG[1582629195.512243] Connected with ECDHE-RSA-AES256-GCM-SHA384 encryption DEBUG[1582629195.512274] Server certificates: DEBUG[1582629195.512284] Subject: /OU=Domain Control Validated/OU=PositiveSSL/CN=XXX DEBUG[1582629195.512304] Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA DEBUG[1582629195.512349] Register in progress... DEBUG[1582629195.776688] setting callbacks for value changing... DEBUG[1582629195.776729] callbacks are set DEBUG[1582629195.776742] Registered and ready. DEBUG[1582629205.5648] reading channel_0 value from file /home/supla/supla-filesensors/temp.txt DEBUG[1582629205.5747] sending value of channel_0 to supla server...![]()
-
Beku
- Posts: 453
- Joined: Tue Nov 06, 2018 1:49 pm
Aby supervisor nie rzucał błędem to w pliku supervisord.conf musisz mieć wpisane chmod=0770
Ty masz wpisane chmod=0700
Zmień i zrestartuj supervisor poleceniem
sudo systemctl restart supervisor
