Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Adapter Installation -> fehler (NodeJs angeblich falsch)

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Adapter Installation -> fehler (NodeJs angeblich falsch)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @hofi77 last edited by

      @hofi77

      iob stop
      iob fix
      iob upload all
      iob start
      
      H 1 Reply Last reply Reply Quote 0
      • H
        hofi77 @Thomas Braun last edited by

        @thomas-braun

        Vielen Dank für den Tipp!
        Hab ich gleich gemacht 🙂

        Leider besteht das Problem immer noch.
        Beim Versuch einen Adapter upzudaten erhalte ich folgende Fehlermeldung:

        Screenshot 2022-07-16_17-04-42-676.png

        Ich bin echt mit meinem Latein am Ende 😞

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @hofi77 last edited by

          @hofi77

          cd /opt/iobroker
          npm ls | grep -E 'github.com|ERR'
          sudo ln -s /usr/bin/node /usr/bin/nodejs
          uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          
          H 2 Replies Last reply Reply Quote 0
          • H
            hofi77 @Thomas Braun last edited by

            @thomas-braun said in Adapter Installation -> fehler (NodeJs angeblich falsch):

            uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

            Nochmals DANKE! 🙂

            aber leider ändert sich nichts. Das Problem besteht immer noch 😞

            Glasfaser Thomas Braun 3 Replies Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @hofi77 last edited by

              @hofi77

              die Ausgabe davon posten !!!

              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @hofi77 last edited by

                @hofi77

                Das soll auch nix ändern, das soll nur die Informationen liefern um da helfen zu können.
                Bitte vollständige Ein- und Ausgaben zu den vier Zeilen posten.

                1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @hofi77 last edited by Glasfaser

                  @hofi77

                  Ich habe die stable als auch die Betaversion versucht. Mit beiden das gleiche Problem.

                  bitte noch zusätzlich die Ausgabe von

                  iobroker update -i
                  
                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hofi77 @Thomas Braun last edited by Homoran

                    @thomas-braun

                    Sorry hätte ich wissen müssen 😞

                    Bitte sehr:

                    iobroker@iobroker:~$ cd /opt/iobroker
                    iobroker@iobroker:/opt/iobroker$ npm ls | grep -E 'github.com|ERR'
                    ├── iobroker.icons-open-icon-library-png@0.1.3 (git+ssh://git@github.com/ioBroker/ioBroker.icons-open-icon-library-png.git#0847a79d713ee6725ccb6ccfb044c025b73ec946)
                    iobroker@iobroker:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/nodejs
                    [sudo] Passwort für iobroker: 
                    ln: Die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
                    iobroker@iobroker:/opt/iobroker$ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    x86_64
                    /usr/bin/nodejs
                    /usr/local/bin/node
                    /usr/local/bin/npm
                    v16.16.0
                    v16.16.0
                    8.11.0
                    iobroker
                    /opt/iobroker
                    OK:1 http://at.archive.ubuntu.com/ubuntu focal InRelease
                    OK:2 http://at.archive.ubuntu.com/ubuntu focal-updates InRelease               
                    OK:3 https://linux.teamviewer.com/deb stable InRelease                         
                    OK:4 http://at.archive.ubuntu.com/ubuntu focal-backports InRelease             
                    OK:5 https://deb.nodesource.com/node_16.x focal InRelease                      
                    OK:6 http://security.ubuntu.com/ubuntu focal-security InRelease            
                    Paketlisten werden gelesen... Fertig
                    Abhängigkeitsbaum wird aufgebaut.       
                    Statusinformationen werden eingelesen.... Fertig
                    Alle Pakete sind aktuell.
                    nodejs:
                      Installiert:           16.16.0-deb-1nodesource1
                      Installationskandidat: 16.16.0-deb-1nodesource1
                      Versionstabelle:
                     *** 16.16.0-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                            100 /var/lib/dpkg/status
                         10.19.0~dfsg-3ubuntu1 500
                            500 http://at.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                    iobroker@iobroker:/opt/iobroker$ 
                    

                    MOD-EDIT: Code in code-tags gesetzt!

                    DANKE 🙂

                    1 Reply Last reply Reply Quote 0
                    • H
                      hofi77 @Glasfaser last edited by Homoran

                      @glasfaser said in Adapter Installation -> fehler (NodeJs angeblich falsch):

                      iobroker update -i

                      DANKE! 🙂

                      Bitte sehr:

                      iobroker@iobroker:/opt/iobroker$ iobroker update -i
                      Used repository: stable
                      Adapter    "admin"        : 5.3.8    , installed 6.0.0
                      Adapter    "backitup"     : 2.4.9    , installed 2.4.8  [Updatable]
                      Adapter    "cloud"        : 4.1.1    , installed 4.1.1
                      Adapter    "devices"      : 1.0.12   , installed 1.0.10 [Updatable]
                      Adapter    "discovery"    : 3.0.3    , installed 3.0.3
                      Adapter    "echarts"      : 1.0.7    , installed 1.0.8
                      Adapter    "flot"         : 1.11.0   , installed 1.10.7 [Updatable]
                      Adapter    "fuelpricemonitor": 0.2.10, installed 0.2.10
                      Adapter    "history"      : 1.11.1   , installed 2.0.1
                      Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                      Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                      Adapter    "ical"         : 1.12.1   , installed 1.12.1
                      Adapter    "icons-fatcow-hosting": 0.1.0, installed 0.1.0
                      Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                      Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                      Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.3
                      Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
                      Adapter    "javascript"   : 5.7.0    , installed 5.5.4  [Updatable]
                      Controller "js-controller": 4.0.23   , installed 4.0.23
                      Adapter    "luftdaten"    : 2.2.4    , installed 2.2.4
                      Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
                      Adapter    "onkyo"        : 2.1.2    , installed 2.1.2
                      Adapter    "openweathermap": 0.2.4   , installed 0.2.4
                      Adapter    "parser"       : 1.1.7    , installed 1.1.5  [Updatable]
                      Adapter    "radar2"       : 2.0.3    , installed 2.0.3
                      Adapter    "simple-api"   : 2.7.0    , installed 2.6.5  [Updatable]
                      Adapter    "socketio"     : 4.2.0    , installed 6.1.3
                      Adapter    "sql"          : 1.16.2   , installed 2.0.2
                      Adapter    "statistics"   : 2.1.1    , installed 1.1.1  [Updatable]
                      Adapter    "vis"          : 1.4.15   , installed 1.4.15
                      Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                      Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                      Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                      Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                      Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                      Adapter    "vis-hqwidgets": 1.2.0    , installed 1.2.0
                      Adapter    "vis-icontwo"  : 0.87.0   , installed 0.87.0
                      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                      Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
                      Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
                      Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
                      Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
                      Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                      Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
                      Adapter    "vis-timeandweather": 1.1.7, installed 1.1.7
                      Adapter    "vis-weather"  : 2.5.5    , installed 2.5.5
                      Adapter    "web"          : 4.3.0    , installed 5.2.0
                      Adapter    "ws"           : 1.3.0    , installed 2.1.0
                      iobroker@iobroker:/opt/iobroker$
                      

                      MOD-EDIT: Code in code-tags gesetzt!

                      Glasfaser Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @hofi77 last edited by

                        @hofi77 sagte in Adapter Installation -> fehler (NodeJs angeblich falsch):

                        Adapter "admin" : 5.3.8 , installed 6.0.0

                        ich warte erst auf @Thomas-Braun ... der sagt dir was zu Nodejs

                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @hofi77 last edited by Thomas Braun

                          @hofi77

                          Auch hier die obligatorische Frage: Wie wurde nodejs16 installiert? Nach welcher Anleitung?

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

                            @hofi77 sagte in Adapter Installation -> fehler (NodeJs angeblich falsch):

                            installed 6.0.0

                            wie erwartet bei der Fehlermeldung!

                            1 Reply Last reply Reply Quote 0
                            • H
                              hofi77 @Thomas Braun last edited by

                              @thomas-braun said in Adapter Installation -> fehler (NodeJs angeblich falsch):

                              Auch hier die obligatorische Frage: Wie wurde nodejs16 installiert? Nach welcher Anleitung?

                              Wie hier beschrieben:

                              https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @hofi77 last edited by

                                @hofi77

                                Das kann nicht sein, das würde nicht zu der falschen Installation führen.

                                Schau in meiner Signatur wie es richtig gemacht wird und gerade gebogen werden kann.

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  hofi77 @Thomas Braun last edited by

                                  @thomas-braun

                                  Ja du hast recht.
                                  Ein Freund von mir (mit dem ich gerne bastle) hat vor kurzem ein Update mit der Installationsroutine der Node JS Seite gemacht.

                                  Du hast also recht es wurde hier eine falsche Installation durchgeführt. Sorry das hatte ich nicht gewusst.

                                  Danke für den Tipp, werde es mir dann gleich ansehen und alles wieder gerade biegen.

                                  Nochmals vielen Dank für deine Hilfe und sorry für das Missverständnis.

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

                                    @hofi77 sagte in Adapter Installation -> fehler (NodeJs angeblich falsch):

                                    hat vor kurzem ein Update mit der Installationsroutine der Node JS Seite gemacht.

                                    hast du da mal den Link?
                                    Wir suchen nämlich immer noch wie man node in /local/ bekommt

                                    crunchip 1 Reply Last reply Reply Quote 0
                                    • crunchip
                                      crunchip Forum Testing Most Active @Homoran last edited by

                                      @homoran sagte in Adapter Installation -> fehler (NodeJs angeblich falsch):

                                      Wir suchen nämlich immer noch

                                      Tip ja immer noch auf das "tool" wenn ich z.b sowas sehe, Link

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @crunchip last edited by

                                        @crunchip

                                        Ich hab da gerade noch mal ein Auge riskiert.
                                        Erschreckender Schwachsinn wird da zum besten gegeben. Mit den ganzen chown und chmod-Befehlen killt der Schwachmat die ACLs.

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

                                          Ich vermute dass viele seiner Machwerke immer noch unverändert aus der Steinzeit von ioBroker stammen und nie an die aktuelle Realität angepasst wurden.

                                          Damals wurde node in /local/ installiert und die Installation lief unter root, weil einiges unter user damals nicht machbar war.

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Homoran last edited by Thomas Braun

                                            @homoran

                                            Dann soll der Heini mal 'ne Zeitreise machen.
                                            Ich sehe gerade auch bei der Passage zu

                                            !!!! Cannot read system.config: null (OK when migrating or restoring)
                                            iobroker is not running on this host. !!!! ''

                                            bekannte Formulierungen. Könnten fast von mir sein... 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            890
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            21
                                            741
                                            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