NEWS
Installation auf NUC mit Proxmox
-
Ich bin inzwischen bei einem 4er Nuc HA Cluster mit proxmox und verteilten GlusterFS als Shared-FS … Bin gespannt wenn bei mir die nächste "alles rebooten" Runde ansteht
-
hallo,
mal ne Frage: Wenn ich die iobroker VM herunterfahre in Proxmox, bekommt man es irgendwie hin, dass iobroker vorher gestoppt wird ? Glaube ja nicht, dass das automatisch passiert. Qemu Agent ist installiert…
-
ALsowenn es ne korrekte installation ist und ioBroker als service automatisch beim Start der VM startet dann sollte er beim beenden automatisch gestoppt werden …
-
Hallo,
nachdem mein Proxmox eine Betriebszeit seit 2 Monaten hat und auch ohne Probleme durchläuft, mache ich mir gerade Gedanken über die anstehenden Updates des Host Betriebsystem. Sind mittleweile 20 Pakete zu updaten.
Wie macht ihr das? Bei den VMs kann man für den Fall der Fälle ja vorher Snapshots anlegen. Aber beim Host?
Gruß
Holger `
Update meinen Host im RZ seit 2 Jahren, ist nicht im Cluster und läuft 24/7. Hatte noch nie Probleme mit Proxmox und Updates. Mein Heimserver update ich auch immer. Wenn du automatische Backups von deinen VM/LXC hast, dann mach es doch einfach gleich danach wenn er die Backups erstellt hat. Wenn es dann etwas zerstören sollte, kannst gleich an der Kiste dran bleiben und versuchen das Problem zu beheben oder deinen Host neu aufsetzen.
Aber …
wie gesagt... hatte nie Probleme mit Updates. Hostsystem ist bei mir Debian und Proxmox extra installiert, also nicht das fertige Image bzw. die iso Installation von Proxmox. Im RZ mache ich sogar im laufendem Betrieb dist-upgrades und es schmiert keine VM oder Container ab, nach den Neustarts fährt auch alles ohne Probleme wieder hoch und startet durch. Im groben und ganzen bin ich mit Proxmox sehr zufrieden. `
Danke. Dann werde ich das mal nach der nächsten Backup Runde machen.
Gruß
Holger `
Hab heute auf den Knopf gedrückt. Hat garnicht wehgetan und alles läuft auch noch.
Dnake und Gruß
Holger
-
Update meinen Host im RZ seit 2 Jahren, ist nicht im Cluster und läuft 24/7. Hatte noch nie Probleme mit Proxmox und Updates. Mein Heimserver update ich auch immer. Wenn du automatische Backups von deinen VM/LXC hast, dann mach es doch einfach gleich danach wenn er die Backups erstellt hat. Wenn es dann etwas zerstören sollte, kannst gleich an der Kiste dran bleiben und versuchen das Problem zu beheben oder deinen Host neu aufsetzen.
Aber …
wie gesagt... hatte nie Probleme mit Updates. Hostsystem ist bei mir Debian und Proxmox extra installiert, also nicht das fertige Image bzw. die iso Installation von Proxmox. Im RZ mache ich sogar im laufendem Betrieb dist-upgrades und es schmiert keine VM oder Container ab, nach den Neustarts fährt auch alles ohne Probleme wieder hoch und startet durch. Im groben und ganzen bin ich mit Proxmox sehr zufrieden. `
Danke. Dann werde ich das mal nach der nächsten Backup Runde machen.
Gruß
Holger `
Hab heute auf den Knopf gedrückt. Hat garnicht wehgetan und alles läuft auch noch.
Dnake und Gruß
Holger `
Na super
weiter so.
-
Hallo zusammen
Ich habe nach einen Reboot immer das Problem mit der Uhrzeit, habt ihr eine Lösung? Ntp ist installiert
Gesendet von iPhone mit Tapatalk Pro
-
Hi,
ich baue mir auch gerade einen NUC auf.
Was muss man denn so an Speicherplatz rechnen?
Geplant habe ich eine 120GB SSD.
Diese soll für Proxmox, Linux in VM und evtl. Win7 oder Win10 reichen.
Ist das machbar? Das Windows kann ich auch zur Not weg lassen, wäre aber nett.
Ansonten braucht ioBroker ja nicht viel Speicherplatz!?
-
Hallo
Ja das sollte reichen . Guck dir pi hole an
Gesendet von iPad mit Tapatalk Pro
-
Danke.
Also reicht für alles?
Und man hat noch Luft? Oder wirds eng?
Was macht denn Pi hole?
Ich verstehe es nur als AdBlocker. Ich werde den NUC nicht grß als Rechner zum surfen nutzen. ALso für mich eher uninteressant.
-
Ja das wird reichen
Pi hole ist ein Adblocker für das ganze Netzwerk , egal mit welchem Gerät du surfst . Bekommst du keine Werbung mehr .
Brauch sehr wenig Ressourcen
Gesendet von iPad mit Tapatalk Pro
-
Wow, das klingt zu schön um wahr zu sein :mrgreen:
Gibts dann white- oder blacklisten?
Muss ich mich mal einlesen.
-
Ja gibt es . Selbst in den Apps auf dem Handy ist die Werbung weg . Bei läuft es seit 3 Monaten ohne Probleme
Gesendet von iPad mit Tapatalk Pro
-
Wie kann ich die Backupdatei (…...backupiobroker.tar.gz) vom IoBroker des RPI in eine IoBroker VM in Proxmox bringen. Auf der VM finde ich leider nicht die Ordnerstruktur vor. Wer kann helfen?
-
Ich habe zunächst den ioBroker ganz normal installiert und dann erst das Backup eingespielt.
-
Hab es hinbekommen und meinen Denkfehler gefunden. Hatte die falsche IP eingetragen und zwar die vom NUC selbst (Proxmox) und nicht die von der VM (Iobroker) :roll:
-
Edit: Ich habe inzwischen rausbekommen wie ich eine HDD einbinde:
In Proxmox Konsole:
> zpool create -f myzpool /dev/sdb
Dann unter Proxmox GUI, Datacenter -> Storage -> Add: ZFSsdb entsprechend wählen.
Ich habe im Server HDD, die ich als Backup benutzen möchte. Wie wäre der korrekte Mount-Befehl?
In Proxmox macht df -h:
root@proxmox2: Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 392M 5.7M 386M 2% /run /dev/mapper/pve-root 28G 4.8G 22G 19% / tmpfs 2.0G 43M 1.9G 3% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/fuse 30M 20K 30M 1% /etc/pve tmpfs 392M 0 392M 0% /run/user/0
Ich hätte gerne dev/sdb und /dev/sdc eingebunden. Ich habe bisher über Proxmox – Datacenter -- Storage Add -- Directory... ausprobiert. Aber es ist immer nur 27 GB groß.
fdisk -l ergibt:
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0005c6a7 Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 1953523711 1953521664 931.5G 7 HPFS/NTFS/exFAT Disk /dev/sdc: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0008c12e Device Boot Start End Sectors Size Id Type /dev/sdc1 2048 488396799 488394752 232.9G 7 HPFS/NTFS/exFAT
-
Meine Erfahrungen:
1. Nimm ein Debian LXC - Mit Ubuntu hatte ich immer Probleme, wieso auch immer.
2. Unbedingt die alte Installation durchführen
Installation ioBroker (alter Weg / optional)
Diese Installation bitte nur nutzen, wem die neue Installationsvariante mittels Script zu unsicher erscheint.
Dann sollte alles Laufen. Die neue Installation hat Probleme ahvci-deamon, weswegen scheinbar einige Adapter nicht einwandfrei funktionieren.
Übrigens LXC´s eigen sich sofern man im Nux eine SSD hat super um, den Ram zu Entlasten. Swap funktioniert erstaunlich gut und stabil.
-
Die neue Installation hat Probleme ahvci-deamon, weswegen scheinbar einige Adapter nicht einwandfrei funktionieren. `
https://forum.iobroker.net/topic/18417/patch-für-avahi-daemon-fehler-unter-proxmox-container
-
Hallo,
da der Raspberry mit seinem 1 GB RAM langsam am Ende ist, bin ich gerade dabei einen Intel NUC (NUC6CAYH) mit 4GB RAM und 320 GB HDD (RAM und HDD hatte ich noch rumliegen) einzurichten.
Soweit hat auch alles super funktioniert nur ein einziges Problem habe ich. Der zwave Adapter lässt sich nicht installieren. Da ich aber 12 Fibaro Rolladenaktoren habe, ist das leider ein OK Kriterium. Vielleicht hat ja noch einer eine Idee.
EDIT: Ich habe es geschafft. Damit das hier nicht so viel Platz weg nimmt habe ich den Rest mal in den Spoiler gepackt.
Da es letztlich nur indirekt an Proxmox lag, kann ein Mod das ja vielleicht komplett löschen.
Erstens fehlte noch unzip. Das seht nur in der Beschreibung des Adapters, dass man das braucht. Könnte man doch bestimmt bei der Installations automatisch installieren lassen.
Und dann war noch ein Problem, dass der USB Z-Wave stick nicht richtig an den Container weitergereicht wurde. Das habe ich mit der folgenden Anleitung behoben: http://coldcorner.de/2018/07/12/proxmox … wave-uzb1/
! Bei der Installation aus admin kommt:
$ ./iobroker add zwave --host iobroker-ct-deb NPM version: 6.4.1 npm install iobroker.zwave --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: >! #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. >! sudo: no tty present and no askpass program specified /opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:16 if (!suppressException) throw e; ^ >! Error: Command failed: sudo apt-get install libudev-dev -y >! We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: >! #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. >! sudo: no tty present and no askpass program specified >! at checkExecSyncError (child_process.js:607:13) at Object.execSync (child_process.js:647:13) at doScript (/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:13:15) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:26:7) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Function.Module.runMain (module.js:694:10) >! npm ERR! code ELIFECYCLE npm ERR! errno 1npm ERR! iobroker.zwave@1.3.1 preinstall: `node lib/preinstall.js`npm ERR! Exit status 1 >! npm ERR! npm ERR! Failed at the iobroker.zwave@1.3.1 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. >! npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-01-17T21_46_12_471Z-debug.log host.iobroker-ct-deb install adapter zwave NPM version: 6.4.1npm install iobroker.zwave --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) >! We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: >! #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. >! sudo: no tty present and no askpass program specified /opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:16 if (!suppressException) throw e; ^ >! Error: Command failed: sudo apt-get install libudev-dev -y >! We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: >! #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. >! sudo: no tty present and no askpass program specified >! at checkExecSyncError (child_process.js:607:13) at Object.execSync (child_process.js:647:13) at doScript (/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:13:15) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:26:7) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Function.Module.runMain (module.js:694:10) >! npm ERR! code ELIFECYCLE npm ERR! errno 1npm ERR! iobroker.zwave@1.3.1 preinstall: `node lib/preinstall.js`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.zwave@1.3.1 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. >! npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-01-17T21_46_28_337Z-debug.log host.iobroker-ct-deb install adapter zwave NPM version: 6.4.1npm install iobroker.zwave --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) >! We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: >! #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. >! sudo: no tty present and no askpass program specified /opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:16 if (!suppressException) throw e; ^ >! Error: Command failed: sudo apt-get install libudev-dev -y >! We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: >! #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. >! sudo: no tty present and no askpass program specified >! at checkExecSyncError (child_process.js:607:13) at Object.execSync (child_process.js:647:13) at doScript (/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:13:15) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.zwave/lib/preinstall.js:26:7) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Function.Module.runMain (module.js:694:10) >! npm ERR! code ELIFECYCLE npm ERR! errno 1npm ERR! iobroker.zwave@1.3.1 preinstall: `node lib/preinstall.js` npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.zwave@1.3.1 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. >! npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-01-17T21_46_43_961Z-debug.log host.iobroker-ct-deb install adapter zwave ERROR: host.iobroker-ct-deb Cannot install zwave ERROR: process exited with code 13</anonymous></anonymous></anonymous>
Bei der Installation mit "sudo -H npm i iobroker.zwave –unsafe-perm" aus der Konsole kommt:
> iobroker.zwave@1.3.1 preinstall /home/iobroker/.npm/_logs/node_modules/iobroker.zwave > node lib/preinstall.js >! ---> find /tmp -name 'CentralScene.h' ---> find /usr/include/ -name 'CentralScene.h' ---> find /usr/local/include/ -name 'CentralScene.h' CentralScene.h found in /usr/local/include/openzwave/command_classes/CentralScene.h >! ---> find /usr/local/include/ -name 'CentralScene.h'|grep 'createSupportedKeyAttributesValues' ---> Error: Command failed: find /usr/local/include/ -name 'CentralScene.h'|grep 'createSupportedKeyAttributesValues' ---> apt-get install libudev-dev -y ---> curl -L -O https://github.com/OpenZWave/open-zwave/archive/master.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 125 0 125 0 0 228 0 --:--:-- --:--:-- --:--:-- 228 100 1880k 0 1880k 0 0 840k 0 --:--:-- 0:00:02 --:--:-- 1940k ---> rm -rf open-zwave-master ---> unzip master.zip && rm master.zip ---> cd open-zwave-master && curl -O -L https://github.com/OpenZWave/open-zwave/pull/1125.patch && patch -p1 < 1125.patch % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 147 0 147 0 0 250 0 --:--:-- --:--:-- --:--:-- 250 100 16081 0 16081 0 0 12336 0 --:--:-- 0:00:01 --:--:-- 30001 ---> cd open-zwave-master && make && make install Makefile:224: Documentation not being built npm WARN saveError ENOENT: no such file or directory, open '/home/iobroker/.npm/_logs/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/iobroker/.npm/_logs/package.json' npm WARN _logs No description npm WARN _logs No repository field. npm WARN _logs No README data npm WARN _logs No license field. >! + iobroker.zwave@1.3.1 updated 1 package and audited 6 packages in 176.514s found 0 vulnerabilities
Versucht habe ich es mit einem Container mit Debian 9.5.1 und mit einem Container mit Ubuntu 18.10 jeweils priviligiert und unpriviligiert (was auch immer sich dadurch ändert). ioBroker habe ich jeweils einmal nach der neuen und einmal nach der alten Methode installiert und die avahi-daemon Änderung hat auch nichts gebracht.
! Mit einer virtuellen Maschine mit Debian 9.6.0 habe ich es auch noch versucht - leider auch erfolglos.
! Mir gehen langsam die Ideen aus, und aus Verzweiflung spiele ich schon mit dem Gedanken, den Raspberry als Multihost nur für Z-Wave weiterzubetrieben. -
Wenn du mehr wie einen Stick verwendest, wäre es ratsam, diese per Udev eindeutig zu benennen und dann erst durchzureichen