NEWS
Ubuntu MATE for the Raspberry Pi 2 && ioBroker
-
Hallo zusammen,
wollte mal ein Ubuntu auf meinem Pi haben.
! Ubuntu MATE for the Raspberry Pi 2
! https://ubuntu-mate.org/raspberry-pi/
! // ***** auf einem Linux-System mit SD-Kartenleser *****
! // Putting the image on microSDHC
! // Download the image and then:
! wget http://ger.ubuntu-mate.net/raspberry-pi … -2.img.bz2
! // Extract the .img.bz2 archive to get the image file.
! bunzip2 ubuntu-mate-15.04-desktop-armhf-raspberry-pi-2.img.bz2
! // The drive may be mounted on any /dev/sdX so use the command lsblk to check
! lsblk
! // Write the image file to the microSD card as root.
! sudo ddrescue -d -D --force ubuntu-mate-15.04-desktop-armhf-raspberry-pi-2.img /dev/mmcblk0
! // Insert SD-Karte in den RaspbarryPi2
! // Erstkonfiguration des Systems durchführen
! ssh installieren
Dann ioBroker installieren.su sudo apt-get update && sudo apt-get upgrade -y apt-get install node apt-get install nodejs-legacy apt-get install nodejs apt-get install npm mkdir /opt/iobroker cd /opt/iobroker npm install iobroker! ` > root@Pi2-2:/opt/iobroker# npm install iobroker
\
iobroker@0.5.6 install /opt/iobroker/node_modules/iobroker
node lib/setup.js
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! iobroker@0.5.6 install:
node lib/setup.jsnpm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the iobroker@0.5.6 install script.
npm ERR! This is most likely a problem with the iobroker package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/setup.js
npm ERR! You can get their info via:
npm ERR! npm owner ls iobroker
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.18.0-25-rpi2
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker"
npm ERR! cwd /opt/iobroker
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/iobroker/npm-debug.log
npm ERR! not ok code 0
root@Pi2-2:/opt/iobroker# `
! Was ist falsch gelaufen?
! EDIT: es fehlte:
! apt-get install node
! apt-get install nodejs-legacy
EDIT:` > root@Pi2-2:/opt/iobroker# npm install iobroker
\
iobroker@0.5.6 install /opt/iobroker/node_modules/iobroker
node lib/setup.js
npm install iobroker.js-controller –production --prefix /opt/iobroker
npm WARN engine hawk@3.1.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine boom@2.9.0: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm install iobroker.admin --production --prefix /opt/iobroker
npm WARN engine hawk@3.1.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine boom@2.9.0: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})
Write "./iobroker start" to start the ioBroker
Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
iobroker@0.5.6 node_modules/iobroker
└── yargs@1.2.6 (minimist@0.1.0)
root@Pi2-2:/opt/iobroker# `
auge@Pi2-2:~$ ps -A |grep " io.*" 3607 ? 00:00:34 io.js-controlle 3613 ? 00:00:14 io.admin.0Nun kann ich mit dem Testen beginnen
Gruß
Jürgen
-
Beim versuch ioBroker simple web Adapter (update auf 1.0.0 von 0.4.3) zu installieren tritt folgendes im LOG auf:
2015-09-30 16:03:09.698 - info: iobroker upgrade web 2015-09-30 16:03:12.852 - info: iobroker host.Pi2-2 Adapter "system.adapter.web.0" is stopped. 2015-09-30 16:03:12.865 - info: host.Pi2-2 object change system.adapter.web.0 2015-09-30 16:03:12.867 - info: host.Pi2-2 "system.adapter.web.0" disabled 2015-09-30 16:03:12.868 - info: host.Pi2-2 stopInstance system.adapter.web.0 2015-09-30 16:03:12.868 - info: host.Pi2-2 stopInstance system.adapter.web.0 killing pid 10536 2015-09-30 16:03:12.890 - info: iobroker npm install iobroker.web --production --prefix "/opt/iobroker" (System call) 2015-09-30 16:03:12.873 - info: web.0 terminating http server on port 8082 2015-09-30 16:03:12.879 - info: web.0 terminated http server on port 8082 2015-09-30 16:03:12.939 - info: web.0 terminating 2015-09-30 16:03:12.988 - info: host.Pi2-2 instance system.adapter.web.0 terminated with code 0 (OK) 2015-09-30 16:04:01.553 - info: iobroker npm 2015-09-30 16:04:01.564 - info: iobroker WARN engine hawk@3.1.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.25","npm":"1.4.21"}) 2015-09-30 16:04:01.560 - info: iobroker 2015-09-30 16:05:56.340 - info: iobroker npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"})npm WARN engine boom@2.9.0: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"}) npm WARN engine 2015-09-30 16:05:56.384 - info: iobroker cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.25","npm":"1.4.21"}) 2015-09-30 16:07:44.962 - info: iobroker host.Pi2-2 Adapter "system.adapter.web.0" is started 2015-09-30 16:07:44.980 - info: host.Pi2-2 object change system.adapter.web.0 2015-09-30 16:07:44.981 - info: host.Pi2-2 "system.adapter.web.0" enabled 2015-09-30 16:07:45.015 - info: host.Pi2-2 instance system.adapter.web.0 started with pid 10778 2015-09-30 16:07:45.047 - info: iobroker npm install --production --prefix "/opt/iobroker/node_modules/iobroker.web" (System call) 2015-09-30 16:07:48.134 - info: web.0 starting. Version 0.4.3 in /opt/iobroker/node_modules/iobroker.web 2015-09-30 16:07:49.850 - info: web.0 socket.io server listening on port 8082 2015-09-30 16:07:49.860 - info: web.0 http server listening on port 8082 2015-09-30 16:07:52.739 - info: iobroker got /opt/iobroker/node_modules/iobroker.web/admin 2015-09-30 16:07:52.762 - info: iobroker got /opt/iobroker/node_modules/iobroker.web/www 2015-09-30 16:07:52.769 - info: iobroker upload [1] web.admin /opt/iobroker/node_modules/iobroker.web/admin/web.png web.png image/png 2015-09-30 16:07:52.792 - info: iobroker upload [40] web /opt/iobroker/node_modules/iobroker.web/www/login/index.html login/index.html text/html 2015-09-30 16:07:52.900 - info: iobroker upload [0] web.admin /opt/iobroker/node_modules/iobroker.web/admin/index.html index.html text/html 2015-09-30 16:07:52.915 - info: iobroker upload [39] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/translate.js lib/js/translate.js application/javascript 2015-09-30 16:07:55.400 - info: iobroker upload [38] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/socket.io.js lib/js/socket.io.js application/javascript 2015-09-30 16:07:56.134 - info: iobroker upload [37] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/selectID.js lib/js/selectID.js application/javascript 2015-09-30 16:07:56.279 - info: iobroker upload [36] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/jquery.jqGrid-4.5.4.min.js lib/js/jquery.jqGrid-4.5.4.min.js application/javascript 2015-09-30 16:07:56.697 - info: iobroker upload [35] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/jquery.fancytree-all.min.js lib/js/jquery.fancytree-all.min.js application/javascript 2015-09-30 16:07:56.832 - info: iobroker upload [34] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/jquery-ui.1.11.2.slider.min.js lib/js/jquery-ui.1.11.2.slider.min.js application/javascript 2015-09-30 16:07:56.919 - info: iobroker upload [33] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/jquery-ui-1.11.3.full.min.js lib/js/jquery-ui-1.11.3.full.min.js application/javascript 2015-09-30 16:07:57.161 - info: iobroker upload [32] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/jquery-ui-1.10.3.full.min.js lib/js/jquery-ui-1.10.3.full.min.js application/javascript 2015-09-30 16:07:57.391 - info: iobroker upload [31] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/jquery-1.11.1.min.js lib/js/jquery-1.11.1.min.js application/javascript 2015-09-30 16:07:57.545 - info: iobroker upload [30] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/jquery-1.11.0.min.map lib/js/jquery-1.11.0.min.map application/json 2015-09-30 16:07:57.975 - info: iobroker upload [29] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/jquery-1.10.2.min.map lib/js/jquery-1.10.2.min.map application/json 2015-09-30 16:07:58.210 - info: iobroker upload [28] web /opt/iobroker/node_modules/iobroker.web/www/lib/js/grid.locale-all.js lib/js/grid.locale-all.js application/javascript 2015-09-30 16:07:58.302 - info: iobroker upload [27] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/jquery.ui.theme.css lib/css/themes/jquery-ui/redmond/jquery.ui.theme.css text/css 2015-09-30 16:07:58.396 - info: iobroker upload [26] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/jquery-ui.min.css lib/css/themes/jquery-ui/redmond/jquery-ui.min.css text/css 2015-09-30 16:07:58.492 - info: iobroker upload [25] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/jquery-ui.css lib/css/themes/jquery-ui/redmond/jquery-ui.css text/css 2015-09-30 16:07:58.585 - info: iobroker upload [24] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_f9bd01_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_f9bd01_256x240.png image/png 2015-09-30 16:07:58.662 - info: iobroker upload [23] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_d8e7f3_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_d8e7f3_256x240.png image/png 2015-09-30 16:07:58.736 - info: iobroker upload [22] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_cd0a0a_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_cd0a0a_256x240.png image/png 2015-09-30 16:07:58.814 - info: iobroker upload [21] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_6da8d5_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_6da8d5_256x240.png image/png 2015-09-30 16:07:58.892 - info: iobroker upload [20] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_469bdd_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_469bdd_256x240.png image/png 2015-09-30 16:07:58.966 - info: iobroker upload [19] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_2e83ff_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_2e83ff_256x240.png image/png 2015-09-30 16:07:59.040 - info: iobroker upload [18] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-icons_217bc0_256x240.png lib/css/themes/jquery-ui/redmond/images/ui-icons_217bc0_256x240.png image/png 2015-09-30 16:07:59.144 - info: iobroker upload [17] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png lib/css/themes/jquery-ui/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png image/png 2015-09-30 16:07:59.223 - info: iobroker upload [16] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png lib/css/themes/jquery-ui/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png image/png 2015-09-30 16:07:59.302 - info: iobroker upload [15] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png lib/css/themes/jquery-ui/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png image/png 2015-09-30 16:07:59.380 - info: iobroker upload [14] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-bg_glass_95_fef1ec_1x400.png lib/css/themes/jquery-ui/redmond/images/ui-bg_glass_95_fef1ec_1x400.png image/png 2015-09-30 16:07:59.465 - info: iobroker upload [13] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-bg_glass_85_dfeffc_1x400.png lib/css/themes/jquery-ui/redmond/images/ui-bg_glass_85_dfeffc_1x400.png image/png 2015-09-30 16:07:59.543 - info: iobroker upload [12] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png lib/css/themes/jquery-ui/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png image/png 2015-09-30 16:07:59.624 - info: iobroker upload [11] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-bg_flat_55_fbec88_40x100.png lib/css/themes/jquery-ui/redmond/images/ui-bg_flat_55_fbec88_40x100.png image/png 2015-09-30 16:07:59.712 - info: iobroker upload [10] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png lib/css/themes/jquery-ui/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png image/png 2015-09-30 16:07:59.796 - info: iobroker upload [9] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/themes/jquery-ui/redmond/images/animated-overlay.gif lib/css/themes/jquery-ui/redmond/images/animated-overlay.gif image/gif 2015-09-30 16:07:59.874 - info: iobroker upload [8] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/jqGrid/ui.jqgrid-4.5.4.css lib/css/jqGrid/ui.jqgrid-4.5.4.css text/css 2015-09-30 16:07:59.970 - info: iobroker upload [7] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/jqGrid/ellipsis-xbl.xml lib/css/jqGrid/ellipsis-xbl.xml application/xml 2015-09-30 16:08:00.054 - info: iobroker upload [6] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/ui.fancytree.min.css lib/css/fancytree/ui.fancytree.min.css text/css 2015-09-30 16:08:00.173 - info: iobroker upload [5] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/ui.fancytree.jquery.min.css lib/css/fancytree/ui.fancytree.jquery.min.css text/css 2015-09-30 16:08:00.266 - info: iobroker upload [4] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/state.png lib/css/fancytree/state.png image/png 2015-09-30 16:08:00.354 - info: iobroker upload [3] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/loading.gif lib/css/fancytree/loading.gif image/gif 2015-09-30 16:08:04.245 - info: iobroker upload [2] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/icons.gif lib/css/fancytree/icons.gif image/gif 2015-09-30 16:08:04.422 - info: iobroker upload [1] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/device.png lib/css/fancytree/device.png image/png 2015-09-30 16:08:04.540 - info: iobroker upload [0] web /opt/iobroker/node_modules/iobroker.web/www/lib/css/fancytree/channel.png lib/css/fancytree/channel.png image/png 2015-09-30 16:08:04.836 - info: host.Pi2-2 object change system.adapter.web.0 2015-09-30 16:08:04.837 - info: host.Pi2-2 stopInstance system.adapter.web.0 2015-09-30 16:08:04.838 - info: host.Pi2-2 stopInstance system.adapter.web.0 killing pid 10778 2015-09-30 16:08:04.859 - info: iobroker Adapter "web" updated 2015-09-30 16:08:04.844 - info: web.0 terminating http server on port 8082 2015-09-30 16:08:04.848 - info: web.0 terminated http server on port 8082 2015-09-30 16:08:04.903 - info: web.0 terminating 2015-09-30 16:08:04.919 - info: iobroker exit 0 2015-09-30 16:08:04.950 - info: host.Pi2-2 instance system.adapter.web.0 terminated with code 0 (OK) 2015-09-30 16:08:07.384 - info: host.Pi2-2 instance system.adapter.web.0 started with pid 10791 2015-09-30 16:08:10.313 - info: web.0 starting. Version 0.4.3 in /opt/iobroker/node_modules/iobroker.web 2015-09-30 16:08:11.784 - info: web.0 socket.io server listening on port 8082 2015-09-30 16:08:11.792 - info: web.0 http server listening on port 8082leider bleibt es bei der alten Version
Gruß
Jürgen
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden
