Seite 1 von 1
openHAB cloud
Verfasst: 4. Sep 2024 18:56
von popel1083
Hallo,
Ich wollte auf meiner Synology DS-918+ die openHAB cloud einrichten aber wenn ich über Putty "cat /var/lib/openhab2/uuid" eingebe sagt er "cat: /var/lib/openhab2/uuid: No such file or directory". Ich habe auch geschaut und der ordner "openhab2" fehlt.
Re: openHAB cloud
Verfasst: 4. Sep 2024 19:04
von peter-pan
Welche Version von openHAB hast du denn ? Ab Version 3 heisst das Directory wieder "openhab".
Re: openHAB cloud
Verfasst: 4. Sep 2024 19:32
von popel1083
Version 4.2.1 aber im verzeichnis /var/lib/ sind nur die ordner "apt; dpkg; misc; pam; systemd; ucf"
Re: openHAB cloud
Verfasst: 4. Sep 2024 19:43
von peter-pan
Bei mir sieht das Verzeichnis
/var/lib/openhab so aus:
Code: Alles auswählen
hab4@raspi58:~ $ ls -alF /var/lib/openhab
insgesamt 76
drwxrwxr-x 16 openhab openhab 4096 3. Sep 19:35 ./
drwxr-xr-x 32 root root 4096 3. Jul 15:13 ../
drwxr-xr-x 2 openhab openhab 4096 29. Feb 2024 addons/
drwxr-sr-x 2 openhab openhab 4096 16. Mär 23:09 backups/
drwxr-xr-x 4 openhab openhab 4096 13. Aug 18:02 cache/
drwxr-xr-x 6 openhab openhab 4096 3. Sep 19:55 config/
drwxr-xr-x 3 openhab openhab 12288 27. Aug 17:09 etc/
drwxr-xr-x 3 openhab openhab 4096 29. Feb 2024 jsondb/
drwxr-xr-x 2 openhab openhab 4096 27. Aug 15:49 kar/
drwxr-xr-x 2 openhab openhab 4096 5. Mär 2024 .karaf/
drwxr-xr-x 3 openhab openhab 4096 3. Sep 19:35 marketplace/
drwxrwxr-x 4 openhab openhab 4096 27. Feb 2024 .npm/
drwxr-xr-x 5 openhab openhab 4096 29. Feb 2024 persistence/
drwxr-xr-x 2 openhab openhab 4096 29. Feb 2024 secrets/
drwxr-xr-x 9 openhab openhab 4096 4. Sep 07:55 tmp/
-rw-r--r-- 1 openhab openhab 36 29. Feb 2024 uuid
drwxr-xr-x 3 openhab openhab 4096 25. Mär 13:37 zigbee/
hab4@raspi58:~ $ cat /var/lib/openhab/uuid
366183fb-2c04-40d0-92bb-3910170dbbd8hab
und da ist auch die Datei "uuid" drin.
Der Ordner darüber hat wesentlich mehr Unterordner, als die, die du angibst:
Code: Alles auswählen
hab4@raspi58:~ $ ls -alF /var/lib
insgesamt 132
drwxr-xr-x 32 root root 4096 3. Jul 15:13 ./
drwxr-xr-x 11 root root 4096 27. Feb 2024 ../
drwxr-xr-x 2 root root 4096 3. Sep 17:36 alsa/
lrwxrwxrwx 1 root root 18 27. Feb 2024 app-info -> /var/lib/swcatalog/
drwxr-xr-x 5 root root 4096 3. Sep 17:35 apt/
drwx------ 3 root root 4096 11. Dez 2023 bluetooth/
drwxr-xr-x 2 root root 4096 27. Feb 2024 ca-certificates-java/
drwxr-xr-x 2 root root 4096 11. Dez 2023 dbus/
drwxr-xr-x 2 root root 4096 17. Apr 2023 dhcp/
drwxr-xr-x 7 root root 4096 3. Sep 17:35 dpkg/
drwxr-xr-x 2 root root 4096 28. Feb 2023 git/
drwxr-xr-x 2 root root 4096 4. Sep 00:00 logrotate/
drwxr-xr-x 2 root root 4096 11. Dez 2023 man-db/
drwxr-xr-x 2 root root 4096 9. Dez 2023 misc/
drwxr-xr-x 2 mosquitto root 4096 4. Sep 19:37 mosquitto/
drwx------ 2 root root 4096 3. Sep 17:37 NetworkManager/
drwxr-xr-x 4 root root 4096 11. Dez 2023 nfs/
drwxrwxr-x 16 openhab openhab 4096 3. Sep 19:35 openhab/
drwxr-xr-x 2 root root 4096 27. Feb 2024 PackageKit/
drwxr-xr-x 2 root root 4096 3. Sep 17:35 pam/
drwx------ 3 polkitd root 4096 11. Dez 2023 polkit-1/
drwx------ 2 root root 4096 11. Dez 2023 private/
drwxr-xr-x 2 root root 4096 11. Dez 2023 python/
drwxr-xr-x 3 root root 4096 11. Dez 2023 raspberrypi/
drwxr-xr-x 5 root root 4096 4. Sep 19:39 samba/
drwxr-xr-x 2 root root 4096 11. Dez 2023 sgml-base/
-rw-r--r-- 1 root root 110 3. Jul 15:13 shells.state
drwxr-xr-x 3 root root 4096 11. Dez 2023 sudo/
drwxr-xr-x 3 root root 4096 27. Feb 2024 swcatalog/
drwxr-xr-x 11 root root 4096 27. Feb 2024 systemd/
drwxr-xr-x 3 root root 4096 27. Feb 2024 ucf/
drwxr-xr-x 2 root root 4096 1. Jun 2022 usb_modeswitch/
drwxr-xr-x 3 root root 4096 11. Dez 2023 vim/
drwxr-xr-x 2 root root 4096 11. Dez 2023 xml-core/
Evtl. ist bei deiner Installation etwas schief gelaufen ?
Re: openHAB cloud
Verfasst: 4. Sep 2024 19:45
von popel1083
So sieht es bei mir aus
Re: openHAB cloud
Verfasst: 4. Sep 2024 20:09
von peter-pan
Ich kenne die Installationsweise von der Synology leider nicht. Wie heisst denn dein OPENHAB_USERDATA Pfad ?
Code: Alles auswählen
hab4@raspi58:~ $ env | grep -i openhab
OPENHAB_HOME=/usr/share/openhab
OPENHAB_USERDATA=/var/lib/openhab
OPENHAB_CONF=/etc/openhab
OPENHAB_HTTPS_PORT=8443
OPENHAB_BACKUPS=/var/lib/openhab/backups
OPENHAB_HTTP_PORT=8080
OPENHAB_LOGDIR=/var/log/openhab
OPENHAB_GROUP=openhab
OPENHAB_RUNTIME=/usr/share/openhab/runtime
OPENHAB_USER=openhab
Eventuell liegen deine Pfade in anderen Ordnern ?! Schau mal
hier
Re: openHAB cloud
Verfasst: 4. Sep 2024 20:35
von popel1083
Danke! Bei mir stand das auf /openhab/userdata.
Re: openHAB cloud
Verfasst: 4. Sep 2024 21:17
von popel1083
Es funktioniert jetzt alles aber in der Alexa App steht manchmal, so alle 5-10 Sekunden, Gerät reagiert nicht