Quantcast
Channel: SBFspot Issue Tracker Rss Feed
Viewing all 360 articles
Browse latest View live

Commented Unassigned: compiling error on debian jessie [139]

$
0
0
Hi,

I followed the guide for raspberry pi and try to compile the newest version (SBFspot_SRC_312_Linux_Win32.tar.gz).

It stops with this error:

```
boost_ext.cpp:52:1: error: expected ‘}’ at end of input
}
^
boost_ext.cpp: At global scope:
boost_ext.cpp:52:1: error: expected ‘}’ at end of input
makefile:153: recipe for target 'obj/Release_SQLite/boost_ext.o' failed
make: *** [obj/Release_SQLite/boost_ext.o] Error 1
```

Any idea what might be wrong?

Comments: Ok, what I forgot to mention I'm using debian jessie on a raspberry pi. Today I compiled the newest version without an error on debian wheezy. So there seems to be a problem with jessie...

Commented Unassigned: compiling error on debian jessie [139]

$
0
0
Hi,

I followed the guide for raspberry pi and try to compile the newest version (SBFspot_SRC_312_Linux_Win32.tar.gz).

It stops with this error:

```
boost_ext.cpp:52:1: error: expected ‘}’ at end of input
}
^
boost_ext.cpp: At global scope:
boost_ext.cpp:52:1: error: expected ‘}’ at end of input
makefile:153: recipe for target 'obj/Release_SQLite/boost_ext.o' failed
make: *** [obj/Release_SQLite/boost_ext.o] Error 1
```

Any idea what might be wrong?

Comments: What a coincidence! I'm in the middle of reinstalling my RPi with Jessie Lite, so I have to solve this ;-)

Commented Unassigned: compiling error on debian jessie [139]

$
0
0
Hi,

I followed the guide for raspberry pi and try to compile the newest version (SBFspot_SRC_312_Linux_Win32.tar.gz).

It stops with this error:

```
boost_ext.cpp:52:1: error: expected ‘}’ at end of input
}
^
boost_ext.cpp: At global scope:
boost_ext.cpp:52:1: error: expected ‘}’ at end of input
makefile:153: recipe for target 'obj/Release_SQLite/boost_ext.o' failed
make: *** [obj/Release_SQLite/boost_ext.o] Error 1
```

Any idea what might be wrong?

Comments: That's funny, I hope it's not to hard to fix! If there is anything I can help, I would be happy... Have a nice weekend!

Commented Unassigned: compiling error on debian jessie [139]

$
0
0
Hi,

I followed the guide for raspberry pi and try to compile the newest version (SBFspot_SRC_312_Linux_Win32.tar.gz).

It stops with this error:

```
boost_ext.cpp:52:1: error: expected ‘}’ at end of input
}
^
boost_ext.cpp: At global scope:
boost_ext.cpp:52:1: error: expected ‘}’ at end of input
makefile:153: recipe for target 'obj/Release_SQLite/boost_ext.o' failed
make: *** [obj/Release_SQLite/boost_ext.o] Error 1
```

Any idea what might be wrong?

Comments: Seems there is nothing to fix. Just compiled V3.1.2 without issues. _“Warning: swp{b} use is deprecated for this architecture”_ warnings are gone too. ``` pi@rpi01:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" NAME="Raspbian GNU/Linux" pi@rpi01:~ $ gcc -v gcc version 4.9.2 (Raspbian 4.9.2-10) pi@rpi01:~/sbfspot.3/SBFspot $ sudo make install_sqlite test -d bin/Release_SQLite || mkdir -p bin/Release_SQLite test -d obj/Release_SQLite || mkdir -p obj/Release_SQLite g++ -Wall -O2 -DUSE_SQLITE -c boost_ext.cpp -o obj/Release_SQLite/boost_ext.o g++ -Wall -O2 -DUSE_SQLITE -c db_SQLite.cpp -o obj/Release_SQLite/db_SQLite.o g++ -Wall -O2 -DUSE_SQLITE -c db_SQLite_Export.cpp -o obj/Release_SQLite/db_SQLite_Export.o g++ -Wall -O2 -DUSE_SQLITE -c misc.cpp -o obj/Release_SQLite/misc.o g++ -Wall -O2 -DUSE_SQLITE -c strptime.cpp -o obj/Release_SQLite/strptime.o g++ -Wall -O2 -DUSE_SQLITE -c sunrise_sunset.cpp -o obj/Release_SQLite/sunrise_sunset.o g++ -Wall -O2 -DUSE_SQLITE -c SBFNet.cpp -o obj/Release_SQLite/SBFNet.o g++ -Wall -O2 -DUSE_SQLITE -c Bluetooth.cpp -o obj/Release_SQLite/Bluetooth.o g++ -Wall -O2 -DUSE_SQLITE -c CSVexport.cpp -o obj/Release_SQLite/CSVexport.o g++ -Wall -O2 -DUSE_SQLITE -c Ethernet.cpp -o obj/Release_SQLite/Ethernet.o g++ -Wall -O2 -DUSE_SQLITE -c EventData.cpp -o obj/Release_SQLite/EventData.o g++ -Wall -O2 -DUSE_SQLITE -c ArchData.cpp -o obj/Release_SQLite/ArchData.o g++ -Wall -O2 -DUSE_SQLITE -c SBFspot.cpp -o obj/Release_SQLite/SBFspot.o g++ -Wall -O2 -DUSE_SQLITE -c TagDefs.cpp -o obj/Release_SQLite/TagDefs.o g++ -o bin/Release_SQLite/SBFspot obj/Release_SQLite/boost_ext.o obj/Release_SQLite/db_SQLite.o obj/Release_SQLite/db_SQLite_Export.o obj/Release_SQLite/misc.o obj/Release_SQLite/strptime.o obj/Release_SQLite/sunrise_sunset.o obj/Release_SQLite/SBFNet.o obj/Release_SQLite/Bluetooth.o obj/Release_SQLite/CSVexport.o obj/Release_SQLite/Ethernet.o obj/Release_SQLite/EventData.o obj/Release_SQLite/ArchData.o obj/Release_SQLite/SBFspot.o obj/Release_SQLite/TagDefs.o -s -lbluetooth -lboost_date_time -lboost_system -lpthread -lsqlite3 cp TagList*.txt bin/Release_SQLite cp date_time_zonespec.csv bin/Release_SQLite test -d /usr/local/bin/sbfspot.3 || mkdir -p /usr/local/bin/sbfspot.3 test -f /usr/local/bin/sbfspot.3/SBFspot.cfg || cp SBFspot.cfg /usr/local/bin/sbfspot.3/ cp -R bin/Release_SQLite/* /usr/local/bin/sbfspot.3/ ```

Created Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: Some questions: Is the daemon running or not? ``` ps -aux|grep SBFspotUploadDaemon ``` Is there something in the daemon log file? Is your daemon config file OK? Can you post some details?

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: thanks for the interest in my trouble. Daemon was running/configured properly prior to above implementations. Once I notice the trouble I restored the SD card with the backup I made just before the above implementations. Now both SBFspot and daemon are properly running as I never did the above, but of course I would like to implement the above. I attach the daemon log file from the backup of SBFfolder I've made just before the recover of the SD (so after the trouble): I don't remember exactly but I suppose that I implemented the above before 19:45 (3th of march). If this log is not enough for you I can run again the above implementations; just tell me what I have to additionally do (while doing these implementations) in order to let you understand the issue. Many thanks and ciao, gabriele

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: What if you remove the ramdisk? Does it work again? > I think the above didn't interfere with SBFspot at all; You have to be sure, so check after each step if daemon is still working

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: to remove ramdisk you mean to skip point 3?

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: No, step 4: unmount and remove it from fstab

Created Unassigned: problems with upacking libboost1.55 [141]

$
0
0
Hi, I'm trying to install SPFSpot in my raspberry but I have a problem with the installation of libboost :

The following packages will be upgraded:
libboost1.55-dev
1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 587 kB/6,397 kB of archives.
After this operation, 94.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libsqlite3-dev armhf 3.8.7.1-1+deb8u1 [488 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main sqlite3 armhf 3.8.7.1-1+deb8u1 [99.5 kB]
Fetched 587 kB in 1s (308 kB/s)
(Reading database … 127755 files and directories currently installed.)
Preparing to unpack …/libboost1.55-dev_1.55.0+dfsg-3_armhf.deb …
Unpacking libboost1.55-dev:armhf (1.55.0+dfsg-3) over (1.55.0+dfsg-3) …

after this, the system seems to not work more . I wait even for 20 minutes but it does not change ...

someone can help me ?

Thanks .

Commented Unassigned: Set /tmp Directory [137]

$
0
0
Is it possible to set tempory file to /tmp directory?
Comments: Sorry for the late comment ;) busy month ;) I noticed when running SBFspot it's create an TMP file in the SBFspot folder... to transfare data between your program to SQLite..

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: So, I've done a step by step process. All commands belonging to points 1 to 3 (included) did not interfere with SBFspot and daemon. On 15th dec evening I run points 4.1 and 4.2 (included row "tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0" in the file "/etc/fstab") and had no troubles as well. On 16th dec evening i run command 4.3 (sudo mount -a); after that it happens that: - csv files are properly generated (both spot file and normal data file) - daemon log file is not generated anymore (last file generated is dated 16th dec) any idea what to do now?

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: Is the daemon still running? Check with ``` ps -aux | grep SBFspotUploadDaemon ``` Something in syslog after you mount the RAMdrive? ``` cat /var/log/syslog | grep SBFspotUploadDaemon ```

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: 1. If I run: ``` ps -aux ``` I do not see SBFspot... in the list 2. If I run: ``` grep SBFspotUploadDaemon ``` the command never ends, so I have to stop it with CTRL+Z 3. If I run: ``` cat /var/log/syslog ``` result in attached file syslog.txt 4. If I run: ``` grep SBFspotUploadDaemon ``` the command never ends, so I have to stop it with CTRL+Z

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: "ps -aux | grep SBFspotUploadDaemon" is only 1 command, same for "cat syslog..." Seems daemon doesn't run anymore... try to restart it

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: sorry, how to restart the daemon?

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: I restarted the Daemon with: ``` /usr/local/bin/sbfspot.3/SBFspotUploadDaemon ``` a new log file in smadata/logs has been created, but the content is: [21:39:29] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [21:39:29] ERROR: Unable to open output file. See syslog for details. after that If I run ``` ps -aux | grep SBFspotUploadDaemon ``` I get: warning: bad ps syntax, perhaps a bogus '-'? See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ root 2297 5.5 0.6 10616 6488 ? Ss Dec15 636:06 /usr/local/bin/sbfspot.3/SBFspotUploadDaemon pi 5843 0.0 0.1 3560 1828 pts/0 S+ 21:41 0:00 grep --color=auto SBFspotUploadDaemon If I run: ``` cat /var/log/syslog | grep SBFspotUploadDaemon ``` I get: Dec 23 21:39:29 raspberrypi SBFspotUploadDaemon: Unable to open output file /tmp/SBFspotUploadDaemon.out: Success :(

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: try it without '-' ``` ps aux | grep SBFspotUploadDaemon ``` Probably there is already a '/tmp/SBFspotUploadDaemon.out' Delete it if there is A reboot might help also

Commented Unassigned: upload daemon not working after rpi implementation [140]

$
0
0
Hi,
I installed SBFspot last summer on rpi and worked perfectly. On the same rpi is running domoticz too. Two weeks ago I bought a smappee device and wanted to connect it to domoticz. After following these instruction https://www.domoticz.com/wiki/Smappee I noticed that SBFspot.sh was running properly but not the upload daemon. I tried to reinstall both SBFspot and upload daemon but did not work as well, so I restored a SD backup. Yesterday I tried again to partial instruction for smappee (not all); in particular:
1. I run these commands:
1.1 sudo apt-get update
1.2 sudo apt-get upgrade
1.3 sudo reboot
1.4 sudo apt-get install lua5.2 git-core
2. I downloaded these two files from http://www.domoticz.com/forum/viewtopic.php?f=21&t=7279:
2.1 usrlocalsharelua52.tar.gz
2.2 usrlocalliblua52.tar.gz
3. I run these commands:
3.1 sudo mkdir -p /usr/local/share/lua/5.2/
3.2 cd /usr/local/share/lua/5.2/
3.3 sudo tar -xvf ~/temp/usrlocalsharelua52.tar.gz
3.4 sudo mkdir -p /usr/local/lib/lua/5.2/
3.5 cd /usr/local/lib/lua/5.2/
3.6 sudo tar -xvf ~/temp/usrlocalliblua52.tar.gz
I think the above didn't interfere with SBFspot at all;
4. then I applied below commands (as stated here http://www.domoticz.com/wiki/Setting_up_a_RAM_drive_on_Raspberry_Pi):
4.1 sudo nano /etc/fstab
4.2 tmpfs /var/tmp tmpfs nodev,nosuid,size=1M 0 0
4.3 sudo mount -a
4.4 df
then I stopped here and again the SBFspot (download from inverter) worked properly but upload daemon not.
Has anyone idea what's wrong?

thanks and ciao,
gabriele


Comments: rebooted and deleted 'tmp/SBFspotUploadDaemon.out' the result for command ``` ps aux | grep SBFspotUploadDaemon ``` is: root 2297 7.4 1.2 17332 11972 ? Rs 09:20 0:04 /usr/local/bin/sbfspot.3/SBFspotUploadDaemon pi 3125 0.0 0.1 3560 1760 pts/0 R+ 09:21 0:00 grep --color=auto SBFspotUploadDaemon whilst the content of file 'spotUpload20151224.log' is: [09:17:27] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:17:27] INFO: Starting Daemon... [09:18:26] INFO: Stopping Daemon... [09:18:26] INFO: Stopping Daemon... [09:18:33] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:18:33] INFO: Starting Daemon... [09:19:52] INFO: Stopping Daemon... [09:20:00] INFO: Starting SBFspotUploadDeamon Version 1.0.1 [09:20:01] INFO: Starting Daemon...
Viewing all 360 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>