fvoges / openhabpi

Automatically exported from code.google.com/p/openhabpi
0 stars 0 forks source link

Errors in install script led to wrong results? #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

i encountered errors when executin the install script on raspi b:

„openhab-demo-1.2.0.zip“ entfernt
„openhab-runtime-1.2.0.zip“ entfernt
„addons/org.openhab.io.multimedia.tts.freetts-1.2.0.jar“ entfernt
mv: Verschieben von „runtime-20130709“ in eigenes Unterverzeichnis 
(„runtime-20130709/runtime-20130709“) nicht möglich
/home/pi/openhabpi
cp: Aufruf von stat für „addon/initscript“ nicht möglich: Datei oder 
Verzeichnis nicht gefunden
chmod: Zugriff auf „/etc/init.d/openhab“ nicht möglich: Datei oder 
Verzeichnis nicht gefunden
update-rc.d: using dependency based boot sequencing
update-rc.d: error: unable to read /etc/init.d/openhab
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
samba ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
cp: Aufruf von stat für „openhab.cfg-samba“ nicht möglich: Datei oder 
Verzeichnis nicht gefunden
cp: Aufruf von stat für „addons/oh_cmd“ nicht möglich: Datei oder 
Verzeichnis nicht gefunden
chmod: Zugriff auf „/usr/local/bin/oh_cmd“ nicht möglich: Datei oder 
Verzeichnis nicht gefunden
cp: Aufruf von stat für „addons/oh_cmd-bash_completion“ nicht möglich: 
Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf „/etc/bash_completion.d/oh_cmd“ nicht möglich: Datei 
oder Verzeichnis nicht gefunden
root@raspberrypi:/home/pi/openhabpi# ls

sorry for the german, i forgot to set back to english.

What can i do to have openhub running correctly?

Thank you!

Kind regards 

Bernd

Original issue reported on code.google.com by bernd.ge...@gmail.com on 9 Jul 2013 at 5:26

GoogleCodeExporter commented 9 years ago
Hi Bernd,

thanks for pointing out - I made a mistake when changing directories.
I was just about to test but I'm just lacking a power cable :( Anyway, I 
committed the appropriate changes.

Issue should be fixed - can you verify?

Thanks,
Sascha

Original comment by hlw31...@gmail.com on 9 Jul 2013 at 7:50

GoogleCodeExporter commented 9 years ago
Sorry, New clone, same result:

mv: Verschieben von „runtime-20130710“ in eigenes Unterverzeichnis 
(„runtime-20130710/runtime-20130710“) nicht möglich
cp: Aufruf von stat für „/home/pi/openhabpi/addons/initscript.sh“ nicht 
möglich: Datei oder Verzeichnis nicht gefunden
update-rc.d: using dependency based boot sequencing
insserv: Service openntpd has to be enabled to start service openhab
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
samba ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
cp: Aufruf von stat für „/home/pi/openhabpi/addons/openhab.cfg-samba“ 
nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für „/home/pi/openhabpi/addons/oh_cmd“ nicht möglich: 
Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf „/usr/local/bin/oh_cmd“ nicht möglich: Datei oder 
Verzeichnis nicht gefunden
cp: Aufruf von stat für „/home/pi/openhabpi/addons/oh_cmd-bash_completion“ 
nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf „/etc/bash_completion.d/oh_cmd“ nicht möglich: Datei 
oder Verzeichnis nicht gefunden

Original comment by bernd.ge...@gmail.com on 10 Jul 2013 at 2:37

GoogleCodeExporter commented 9 years ago
Hi,

I pushed the fixed and was able to test it this time myself.
Please do an install based on Raspbian as described in install.txt - it should 
work for you to.

Thanks for your patience :)

Original comment by hlw31...@gmail.com on 10 Jul 2013 at 6:07

GoogleCodeExporter commented 9 years ago
success! after i exchanged ntpd by openntpd everything worked fine. Thank you 
very much!

Original comment by bernd.ge...@gmail.com on 11 Jul 2013 at 7:28

GoogleCodeExporter commented 9 years ago
openntpd is needed by 'official' Raspbian. Hexxehs Image (as supposed to be 
used) by install.txt needs ntp there. I added Issue 5 for your remark on ntp ;)

Original comment by hlw31...@gmail.com on 11 Jul 2013 at 8:33