Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Empfehlung: CCU.IO und ioBroker Parallel-Installation

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Empfehlung: CCU.IO und ioBroker Parallel-Installation

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      adarof last edited by

      Hallo,

      Ich möchte von CCU.IO dann auch mal zu ioBroker wechseln.

      Das ganze muss dafür ein wenig parallel laufen, bis alles (und mehr) unter ioBroker tut.

      Nur: Wie geht das aktuell auf einem RPi2?

      Wenn ich der ioBroker-Installation http://www.iobroker.net/docu/?page_id=5106&lang=de

      folge, deinstalliere ich das NodeJS – das deinstalliert dann auch das CCU.IO, schlecht.

      Was ist aktuell das richtige Vorgehen? Ich finde nur 2 Jahre alte Infos 😕

      Gruss - Adarof

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Hallo und Willkommen im Forum!

        @adarof:

        deinstalliere ich das NodeJS – das deinstalliert dann auch das CCU.IO, `
        Nope!

        Nur nodejs wird deinstalliert, wenn ein neues drauf ist läuft auch ccu.io wieder, aber….

        Welche Nodejs-Version hast du jetzt drauf?

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • A
          adarof last edited by

          Hallo,

          (Sorry für das Delay … hatte mir noch keine eMail benachrichtigungen konfiguriert, also habe ich die Antwort nicht mitbekommen 😞 )

          Ich habe NodeJS von jessie einfach "aktuell":

          pi@raspberrypi ~ $ apt-show-versions nodejs
          nodejs:armhf/jessie 0.10.29~dfsg-2 uptodate
          
          

          Wenn ich den Hinweis aus der Anleitung auf NodeJS ignoriere und damit versuche den io broker zu bauen:

          pi@raspberrypi /opt/iobroker $ sudo npm install iobroker --unsafe-perm
          /
          > iobroker@0.9.0 install /opt/iobroker/node_modules/iobroker
          > node lib/setup.js
          
          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.9.0 install: `node lib/setup.js`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the iobroker@0.9.0 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 4.9.24-v7+
          npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" "--unsafe                                                                                        -perm"
          npm ERR! cwd /opt/iobroker
          npm ERR! node -v v0.10.29
          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
          
          

          Aber wenn ich nodejs deinstalliere würde er auch ccu.io deinstallieren:

          pi@raspberrypi /opt/iobroker $ sudo apt-get remove nodejs
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          The following packages were automatically installed and are no longer required:
            gyp libc-ares-dev libc-ares2 libjs-node-uuid libjs-underscore libssl-dev libssl-doc libv8-3.14-dev libv8-3.14.5
          Use 'apt-get autoremove' to remove them.
          The following packages will be REMOVED:
            ccu.io node-abbrev node-ansi node-ansi-color-table node-archy node-async node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
            node-forever-agent node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits node-ini
            node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data
            node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha node-sigmund node-slide node-tar
            node-tunnel-agent node-underscore node-which nodejs nodejs-dev npm
          0 upgraded, 0 newly installed, 50 to remove and 0 not upgraded.
          After this operation, 107 MB disk space will be freed.
          
          

          Also: Was tun?

          Wäre über jeden Hinweis dankbar!

          Gruss - Adarof

          1 Reply Last reply Reply Quote 0
          • A
            adarof last edited by

            Hallo

            Wäre wirklich schön, wenn mir hier jemand helfen könnte.

            Eigentlich ist es doch genau das 0815 System - und ich bin doch nicht der erste, der parallel CCU.IO betreiben muss um nicht allzuviel Ärger mit dem Haushaltsvorstand zu bekommen, oder?

            Gruss - Adarof

            1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 last edited by

              Ich denke auf deinem System ist nur ein "node" binary. Üblich inzwischen ist ein nodejs.

              Was kommt denn bei

              node -v

              nodejs -v

              ?

              Für Deine Linux Distro könnte es ein Sonder-Paket geben was den Symlink nachreicht oder legst Ihn selbst an

              1 Reply Last reply Reply Quote 0
              • A
                adarof last edited by

                Hallo,

                Ich denk ich habe ein nodejs - zumindest verhält sich das node anders als nodejs:

                pi@raspberrypi ~ $ node -v

                <keine ausgabe="">pi@raspberrypi ~ $ which node

                /usr/sbin/node

                pi@raspberrypi ~ $ nodejs -v

                v0.10.29

                pi@raspberrypi ~ $ which nodejs

                /usr/bin/nodejs

                pi@raspberrypi ~ $ ls -la /usr/bin/nodejs

                -rwxr-xr-x 1 root root 1154384 Apr 18 2015 /usr/bin/nodejs

                Das ist eigentlich ein ganz normales Raspbian….hoffe ich 😉

                Danke + Gruss - Adarof</keine>

                1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 last edited by

                  Und da liegt das Problem … "node" wird erwartet das es tut ... 😞

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate
                  FAQ Cloud / IOT
                  HowTo: Node.js-Update
                  HowTo: Backup/Restore
                  Downloads
                  BLOG

                  723
                  Online

                  32.0k
                  Users

                  80.4k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  969
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  The ioBroker Community 2014-2023
                  logo