Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Ubuntu 22.10 - falsche node Version?

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    859

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    650

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

Ubuntu 22.10 - falsche node Version?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
16 Beiträge 3 Kommentatoren 412 Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T Offline
    T Offline
    tholterhus
    schrieb am zuletzt editiert von
    #1

    ich migriere gerade meine bestehende (aktuelle) Installation weg von Docker auf dem raspi4 in eine VM auf einem proxmox Host mit Ubuntu 22.10.
    Das iobroker Installationsscript läuft durch und "meint" node 16.x zu installieren, jedoch ist node 18.x installiert. Jegliche Versuche, diese Version 18 auf 16 runter zu bekommen scheitern.

    xxx@iobroker-xxx:~$ curl -sLf https://iobroker.net/install.sh | bash -
    library: loaded
    Library version=2022-12-09
    
    ==========================================================================
    
        Welcome to the ioBroker installer!
        Installer version: 2022-12-22
        
        You might need to enter your password a couple of times.
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/4)
    ==========================================================================
    
    Hit:1 http://de.archive.ubuntu.com/ubuntu kinetic InRelease
    Hit:2 http://de.archive.ubuntu.com/ubuntu kinetic-updates InRelease
    Hit:3 http://de.archive.ubuntu.com/ubuntu kinetic-backports InRelease
    Hit:4 http://de.archive.ubuntu.com/ubuntu kinetic-security InRelease
    Reading package lists... Done
    
    ==========================================================================
    
        Node.js not found. Installing...
    
    ==========================================================================
    
    
    ## Installing the NodeSource Node.js 16.x repo...
    
    
    ## Populating apt-get cache...
    
    + apt-get update
    Hit:1 http://de.archive.ubuntu.com/ubuntu kinetic InRelease
    Hit:2 http://de.archive.ubuntu.com/ubuntu kinetic-updates InRelease
    Hit:3 http://de.archive.ubuntu.com/ubuntu kinetic-backports InRelease
    Hit:4 http://de.archive.ubuntu.com/ubuntu kinetic-security InRelease
    Reading package lists... Done
    
    ## Confirming "kinetic" is supported...
    
    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/kinetic/Release'
    
    ## Adding the NodeSource signing key to your keyring...
    
    + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
    
    ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
    
    + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x kinetic main' > /etc/apt/sources.list.d/nodesource.list
    + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x kinetic main' >> /etc/apt/sources.list.d/nodesource.list
    
    ## Running `apt-get update` for you...
    
    + apt-get update
    Hit:1 http://de.archive.ubuntu.com/ubuntu kinetic InRelease
    Hit:2 http://de.archive.ubuntu.com/ubuntu kinetic-updates InRelease
    Hit:3 http://de.archive.ubuntu.com/ubuntu kinetic-backports InRelease
    Get:4 https://deb.nodesource.com/node_16.x kinetic InRelease [4585 B]
    Hit:5 http://de.archive.ubuntu.com/ubuntu kinetic-security InRelease
    Get:6 https://deb.nodesource.com/node_16.x kinetic/main amd64 Packages [777 B]
    Fetched 5362 B in 1s (3973 B/s)   
    Reading package lists... Done
    
    ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
    ## You may also need development tools to build native addons:
         sudo apt-get install gcc g++ make
    ## To install the Yarn package manager, run:
         curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
         echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
         sudo apt-get update && sudo apt-get install yarn
    
    
    Installed nodejs
    Node.js Installed successfully!
    Installed npm
    Changing npm registry to https://registry.npmjs.org
    Installed acl
    Installed build-essential
    Installed gcc-c++
    Installed libudev-dev
    Installed libpam0g-dev
    Installed git
    Installed unzip
    Installed libcairo2-dev
    Installed libpango1.0-dev
    Installed libjpeg-dev
    Installed libgif-dev
    Installed librsvg2-dev
    Installed net-tools
    Installed cmake
    
    ==========================================================================
        Creating ioBroker user and directory (2/4)
    ==========================================================================
    
    User iobroker created
    Created /etc/sudoers.d/iobroker
    Directory /opt/iobroker created
    
    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    
    ==========================================================================
        Finalizing installation (4/4)
    ==========================================================================
    
    Enabling autostart...
    Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
    Autostart enabled!
    Fixing directory permissions...
    
    ==========================================================================
    
        ioBroker was installed successfully
        Open http://192.168.178.88:8081 in a browser and start configuring!
    
    ==========================================================================
    
    
    You need to re-login before doing anything else on the console!
    
    xxx@iobroker-xxx:~$ node -v
    v18.7.0
    

    Ich kann das Backup weder über iobroker restore 0 noch über die GUI zurückspielen und ich vermute, dass das ausschließlich an der zu neuen node/nodejs Version liegt. Kann das sein?

    HomoranH 1 Antwort Letzte Antwort
    0
    • T tholterhus

      ich migriere gerade meine bestehende (aktuelle) Installation weg von Docker auf dem raspi4 in eine VM auf einem proxmox Host mit Ubuntu 22.10.
      Das iobroker Installationsscript läuft durch und "meint" node 16.x zu installieren, jedoch ist node 18.x installiert. Jegliche Versuche, diese Version 18 auf 16 runter zu bekommen scheitern.

      xxx@iobroker-xxx:~$ curl -sLf https://iobroker.net/install.sh | bash -
      library: loaded
      Library version=2022-12-09
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2022-12-22
          
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Hit:1 http://de.archive.ubuntu.com/ubuntu kinetic InRelease
      Hit:2 http://de.archive.ubuntu.com/ubuntu kinetic-updates InRelease
      Hit:3 http://de.archive.ubuntu.com/ubuntu kinetic-backports InRelease
      Hit:4 http://de.archive.ubuntu.com/ubuntu kinetic-security InRelease
      Reading package lists... Done
      
      ==========================================================================
      
          Node.js not found. Installing...
      
      ==========================================================================
      
      
      ## Installing the NodeSource Node.js 16.x repo...
      
      
      ## Populating apt-get cache...
      
      + apt-get update
      Hit:1 http://de.archive.ubuntu.com/ubuntu kinetic InRelease
      Hit:2 http://de.archive.ubuntu.com/ubuntu kinetic-updates InRelease
      Hit:3 http://de.archive.ubuntu.com/ubuntu kinetic-backports InRelease
      Hit:4 http://de.archive.ubuntu.com/ubuntu kinetic-security InRelease
      Reading package lists... Done
      
      ## Confirming "kinetic" is supported...
      
      + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/kinetic/Release'
      
      ## Adding the NodeSource signing key to your keyring...
      
      + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
      
      ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
      
      + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x kinetic main' > /etc/apt/sources.list.d/nodesource.list
      + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x kinetic main' >> /etc/apt/sources.list.d/nodesource.list
      
      ## Running `apt-get update` for you...
      
      + apt-get update
      Hit:1 http://de.archive.ubuntu.com/ubuntu kinetic InRelease
      Hit:2 http://de.archive.ubuntu.com/ubuntu kinetic-updates InRelease
      Hit:3 http://de.archive.ubuntu.com/ubuntu kinetic-backports InRelease
      Get:4 https://deb.nodesource.com/node_16.x kinetic InRelease [4585 B]
      Hit:5 http://de.archive.ubuntu.com/ubuntu kinetic-security InRelease
      Get:6 https://deb.nodesource.com/node_16.x kinetic/main amd64 Packages [777 B]
      Fetched 5362 B in 1s (3973 B/s)   
      Reading package lists... Done
      
      ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
      ## You may also need development tools to build native addons:
           sudo apt-get install gcc g++ make
      ## To install the Yarn package manager, run:
           curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
           echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
           sudo apt-get update && sudo apt-get install yarn
      
      
      Installed nodejs
      Node.js Installed successfully!
      Installed npm
      Changing npm registry to https://registry.npmjs.org
      Installed acl
      Installed build-essential
      Installed gcc-c++
      Installed libudev-dev
      Installed libpam0g-dev
      Installed git
      Installed unzip
      Installed libcairo2-dev
      Installed libpango1.0-dev
      Installed libjpeg-dev
      Installed libgif-dev
      Installed librsvg2-dev
      Installed net-tools
      Installed cmake
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      User iobroker created
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
      Autostart enabled!
      Fixing directory permissions...
      
      ==========================================================================
      
          ioBroker was installed successfully
          Open http://192.168.178.88:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      You need to re-login before doing anything else on the console!
      
      xxx@iobroker-xxx:~$ node -v
      v18.7.0
      

      Ich kann das Backup weder über iobroker restore 0 noch über die GUI zurückspielen und ich vermute, dass das ausschließlich an der zu neuen node/nodejs Version liegt. Kann das sein?

      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #2

      @tholterhus was sagt iob diag?

      kein Support per PN! - Fragen im Forum stellen -
      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      T 1 Antwort Letzte Antwort
      0
      • HomoranH Homoran

        @tholterhus was sagt iob diag?

        T Offline
        T Offline
        tholterhus
        schrieb am zuletzt editiert von
        #3

        @homoran

        ======================= SUMMARY =======================
        		     v.2023-01-02
        
        
        Operatingsystem: 	Ubuntu 22.10
        Installation: 		kvm
        Timezone: 		Europe/Berlin
        User-ID: 		1000
        X-Server: 		false
        Boot Target: 		graphical.target
        
        Pending OS-Updates: 	0
        
        Nodejs-Installation: 	/usr/bin/nodejs 	v18.7.0
        			/usr/bin/node 		v18.7.0
        			/usr/bin/npm 		8.18.0
        			/usr/bin/npx 		8.18.0
        
        ioBroker Core: 		js-controller 		4.0.24
        			admin 			6.3.5
        
        ioBroker Status: 	iobroker is not running on this host.
        
        
        Objects type: jsonl
        States  type: jsonl
        
        Status admin:
          system.adapter.admin.0                  : admin                 : iobroker-tim                             -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
          system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8089, bind: 0.0.0.0, run as: admin
        
        Pending iob updates: 	0
        
        Active repo(s): stable
        
        Objects: 		10897
        States: 		8755
        
        Size of iob-Database:
        
        18M	/opt/iobroker/iobroker-data/objects.jsonl
        2.0M	/opt/iobroker/iobroker-data/states.jsonl
        
        
        =================== END OF SUMMARY ====================
        
        

        ich hatte mittlerweile schon eine zweite admin instanz auf einem anderen port erstellt, da nach Einspielung des Backups nix mehr ging. Aber auch die ist nicht erreichbar. Netstat zeigt's:

        $ netstat -tulpen
        (Not all processes could be identified, non-owned process info
         will not be shown, you would have to be root to see it all.)
        Active Internet connections (only servers)
        Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
        tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      104        21706      -                   
        tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          1955       -                   
        tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN      104        21708      -                   
        tcp6       0      0 :::111                  :::*                    LISTEN      0          1956       -                   
        tcp6       0      0 :::22                   :::*                    LISTEN      0          655        -                   
        udp        0      0 127.0.0.54:53           0.0.0.0:*                           104        21707      -                   
        udp        0      0 127.0.0.53:53           0.0.0.0:*                           104        21705      -                   
        udp        0      0 192.168.178.88:68       0.0.0.0:*                           101        815        -                   
        udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          19246      -                   
        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           107        709        -                   
        udp        0      0 0.0.0.0:56621           0.0.0.0:*                           107        711        -                   
        udp6       0      0 :::42625                :::*                                107        712        -                   
        udp6       0      0 :::111                  :::*                                0          1957       -                   
        udp6       0      0 :::5353                 :::*                                107        710        -                   
        
        

        und so sieht der restore-Versuch über die Konsole aus

        $ iobroker restore 0
        host.iobroker Using backup file yahka.0_2023_03_11-17_19_43_backupiobroker.tar.gz
        host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
        

        ein Blick in das genannte Verzeichnis zeigt jedoch, dass backup.json dort gar nicht vorhanden ist:

        $ l /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/
        total 34244
        drwxr-xr-x+ 4 iobroker iobroker     4096 Mar 12 14:31 .
        drwxr-xr-x+ 3 iobroker iobroker     4096 Mar 12 14:31 ..
        -rw-rw-r--+ 1 iobroker iobroker 35048721 Mar 12 13:52 backup_.json
        drwxr-xr-x+ 3 iobroker iobroker     4096 Mar 12 13:52 eusec.0
        drwxr-xr-x+ 7 iobroker iobroker     4096 Mar 12 13:52 files
        
        T HomoranH 3 Antworten Letzte Antwort
        0
        • T tholterhus

          @homoran

          ======================= SUMMARY =======================
          		     v.2023-01-02
          
          
          Operatingsystem: 	Ubuntu 22.10
          Installation: 		kvm
          Timezone: 		Europe/Berlin
          User-ID: 		1000
          X-Server: 		false
          Boot Target: 		graphical.target
          
          Pending OS-Updates: 	0
          
          Nodejs-Installation: 	/usr/bin/nodejs 	v18.7.0
          			/usr/bin/node 		v18.7.0
          			/usr/bin/npm 		8.18.0
          			/usr/bin/npx 		8.18.0
          
          ioBroker Core: 		js-controller 		4.0.24
          			admin 			6.3.5
          
          ioBroker Status: 	iobroker is not running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin:
            system.adapter.admin.0                  : admin                 : iobroker-tim                             -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8089, bind: 0.0.0.0, run as: admin
          
          Pending iob updates: 	0
          
          Active repo(s): stable
          
          Objects: 		10897
          States: 		8755
          
          Size of iob-Database:
          
          18M	/opt/iobroker/iobroker-data/objects.jsonl
          2.0M	/opt/iobroker/iobroker-data/states.jsonl
          
          
          =================== END OF SUMMARY ====================
          
          

          ich hatte mittlerweile schon eine zweite admin instanz auf einem anderen port erstellt, da nach Einspielung des Backups nix mehr ging. Aber auch die ist nicht erreichbar. Netstat zeigt's:

          $ netstat -tulpen
          (Not all processes could be identified, non-owned process info
           will not be shown, you would have to be root to see it all.)
          Active Internet connections (only servers)
          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
          tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      104        21706      -                   
          tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          1955       -                   
          tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN      104        21708      -                   
          tcp6       0      0 :::111                  :::*                    LISTEN      0          1956       -                   
          tcp6       0      0 :::22                   :::*                    LISTEN      0          655        -                   
          udp        0      0 127.0.0.54:53           0.0.0.0:*                           104        21707      -                   
          udp        0      0 127.0.0.53:53           0.0.0.0:*                           104        21705      -                   
          udp        0      0 192.168.178.88:68       0.0.0.0:*                           101        815        -                   
          udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          19246      -                   
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           107        709        -                   
          udp        0      0 0.0.0.0:56621           0.0.0.0:*                           107        711        -                   
          udp6       0      0 :::42625                :::*                                107        712        -                   
          udp6       0      0 :::111                  :::*                                0          1957       -                   
          udp6       0      0 :::5353                 :::*                                107        710        -                   
          
          

          und so sieht der restore-Versuch über die Konsole aus

          $ iobroker restore 0
          host.iobroker Using backup file yahka.0_2023_03_11-17_19_43_backupiobroker.tar.gz
          host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
          

          ein Blick in das genannte Verzeichnis zeigt jedoch, dass backup.json dort gar nicht vorhanden ist:

          $ l /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/
          total 34244
          drwxr-xr-x+ 4 iobroker iobroker     4096 Mar 12 14:31 .
          drwxr-xr-x+ 3 iobroker iobroker     4096 Mar 12 14:31 ..
          -rw-rw-r--+ 1 iobroker iobroker 35048721 Mar 12 13:52 backup_.json
          drwxr-xr-x+ 3 iobroker iobroker     4096 Mar 12 13:52 eusec.0
          drwxr-xr-x+ 7 iobroker iobroker     4096 Mar 12 13:52 files
          
          T Offline
          T Offline
          tholterhus
          schrieb am zuletzt editiert von
          #4

          nachdem ich das yahka backup file aus /opt/iobroker/backups entfernt habe, scheint der Restore über cli jetzt zu laufen. Bin gespannt, ob das System danach auf die Füße kommt... es sieht soweit erstmal ganz gut aus

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • T tholterhus

            nachdem ich das yahka backup file aus /opt/iobroker/backups entfernt habe, scheint der Restore über cli jetzt zu laufen. Bin gespannt, ob das System danach auf die Füße kommt... es sieht soweit erstmal ganz gut aus

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #5

            @tholterhus

            falsche node Version?

            Eher falsche Ubuntu-Version.
            Man installiert für den Betrieb als Server nie die Interimsreleases sonden die jeweils aktuelle LTS-Version. Im Moment wäre das Ubuntu 22.04.

            Jetzt hast du die dfsg-Version von nodejs serviert bekommen, die willst du aber nicht.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Antwort Letzte Antwort
            0
            • T tholterhus

              @homoran

              ======================= SUMMARY =======================
              		     v.2023-01-02
              
              
              Operatingsystem: 	Ubuntu 22.10
              Installation: 		kvm
              Timezone: 		Europe/Berlin
              User-ID: 		1000
              X-Server: 		false
              Boot Target: 		graphical.target
              
              Pending OS-Updates: 	0
              
              Nodejs-Installation: 	/usr/bin/nodejs 	v18.7.0
              			/usr/bin/node 		v18.7.0
              			/usr/bin/npm 		8.18.0
              			/usr/bin/npx 		8.18.0
              
              ioBroker Core: 		js-controller 		4.0.24
              			admin 			6.3.5
              
              ioBroker Status: 	iobroker is not running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              
              Status admin:
                system.adapter.admin.0                  : admin                 : iobroker-tim                             -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8089, bind: 0.0.0.0, run as: admin
              
              Pending iob updates: 	0
              
              Active repo(s): stable
              
              Objects: 		10897
              States: 		8755
              
              Size of iob-Database:
              
              18M	/opt/iobroker/iobroker-data/objects.jsonl
              2.0M	/opt/iobroker/iobroker-data/states.jsonl
              
              
              =================== END OF SUMMARY ====================
              
              

              ich hatte mittlerweile schon eine zweite admin instanz auf einem anderen port erstellt, da nach Einspielung des Backups nix mehr ging. Aber auch die ist nicht erreichbar. Netstat zeigt's:

              $ netstat -tulpen
              (Not all processes could be identified, non-owned process info
               will not be shown, you would have to be root to see it all.)
              Active Internet connections (only servers)
              Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
              tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      104        21706      -                   
              tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          1955       -                   
              tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN      104        21708      -                   
              tcp6       0      0 :::111                  :::*                    LISTEN      0          1956       -                   
              tcp6       0      0 :::22                   :::*                    LISTEN      0          655        -                   
              udp        0      0 127.0.0.54:53           0.0.0.0:*                           104        21707      -                   
              udp        0      0 127.0.0.53:53           0.0.0.0:*                           104        21705      -                   
              udp        0      0 192.168.178.88:68       0.0.0.0:*                           101        815        -                   
              udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          19246      -                   
              udp        0      0 0.0.0.0:5353            0.0.0.0:*                           107        709        -                   
              udp        0      0 0.0.0.0:56621           0.0.0.0:*                           107        711        -                   
              udp6       0      0 :::42625                :::*                                107        712        -                   
              udp6       0      0 :::111                  :::*                                0          1957       -                   
              udp6       0      0 :::5353                 :::*                                107        710        -                   
              
              

              und so sieht der restore-Versuch über die Konsole aus

              $ iobroker restore 0
              host.iobroker Using backup file yahka.0_2023_03_11-17_19_43_backupiobroker.tar.gz
              host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
              

              ein Blick in das genannte Verzeichnis zeigt jedoch, dass backup.json dort gar nicht vorhanden ist:

              $ l /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/
              total 34244
              drwxr-xr-x+ 4 iobroker iobroker     4096 Mar 12 14:31 .
              drwxr-xr-x+ 3 iobroker iobroker     4096 Mar 12 14:31 ..
              -rw-rw-r--+ 1 iobroker iobroker 35048721 Mar 12 13:52 backup_.json
              drwxr-xr-x+ 3 iobroker iobroker     4096 Mar 12 13:52 eusec.0
              drwxr-xr-x+ 7 iobroker iobroker     4096 Mar 12 13:52 files
              
              HomoranH Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von
              #6

              @tholterhus da fehlt 70% vom iob diag
              bitte nachreichen

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Antwort Letzte Antwort
              0
              • T tholterhus

                @homoran

                ======================= SUMMARY =======================
                		     v.2023-01-02
                
                
                Operatingsystem: 	Ubuntu 22.10
                Installation: 		kvm
                Timezone: 		Europe/Berlin
                User-ID: 		1000
                X-Server: 		false
                Boot Target: 		graphical.target
                
                Pending OS-Updates: 	0
                
                Nodejs-Installation: 	/usr/bin/nodejs 	v18.7.0
                			/usr/bin/node 		v18.7.0
                			/usr/bin/npm 		8.18.0
                			/usr/bin/npx 		8.18.0
                
                ioBroker Core: 		js-controller 		4.0.24
                			admin 			6.3.5
                
                ioBroker Status: 	iobroker is not running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Status admin:
                  system.adapter.admin.0                  : admin                 : iobroker-tim                             -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                  system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8089, bind: 0.0.0.0, run as: admin
                
                Pending iob updates: 	0
                
                Active repo(s): stable
                
                Objects: 		10897
                States: 		8755
                
                Size of iob-Database:
                
                18M	/opt/iobroker/iobroker-data/objects.jsonl
                2.0M	/opt/iobroker/iobroker-data/states.jsonl
                
                
                =================== END OF SUMMARY ====================
                
                

                ich hatte mittlerweile schon eine zweite admin instanz auf einem anderen port erstellt, da nach Einspielung des Backups nix mehr ging. Aber auch die ist nicht erreichbar. Netstat zeigt's:

                $ netstat -tulpen
                (Not all processes could be identified, non-owned process info
                 will not be shown, you would have to be root to see it all.)
                Active Internet connections (only servers)
                Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
                tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      104        21706      -                   
                tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          1955       -                   
                tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN      104        21708      -                   
                tcp6       0      0 :::111                  :::*                    LISTEN      0          1956       -                   
                tcp6       0      0 :::22                   :::*                    LISTEN      0          655        -                   
                udp        0      0 127.0.0.54:53           0.0.0.0:*                           104        21707      -                   
                udp        0      0 127.0.0.53:53           0.0.0.0:*                           104        21705      -                   
                udp        0      0 192.168.178.88:68       0.0.0.0:*                           101        815        -                   
                udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          19246      -                   
                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           107        709        -                   
                udp        0      0 0.0.0.0:56621           0.0.0.0:*                           107        711        -                   
                udp6       0      0 :::42625                :::*                                107        712        -                   
                udp6       0      0 :::111                  :::*                                0          1957       -                   
                udp6       0      0 :::5353                 :::*                                107        710        -                   
                
                

                und so sieht der restore-Versuch über die Konsole aus

                $ iobroker restore 0
                host.iobroker Using backup file yahka.0_2023_03_11-17_19_43_backupiobroker.tar.gz
                host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
                

                ein Blick in das genannte Verzeichnis zeigt jedoch, dass backup.json dort gar nicht vorhanden ist:

                $ l /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/
                total 34244
                drwxr-xr-x+ 4 iobroker iobroker     4096 Mar 12 14:31 .
                drwxr-xr-x+ 3 iobroker iobroker     4096 Mar 12 14:31 ..
                -rw-rw-r--+ 1 iobroker iobroker 35048721 Mar 12 13:52 backup_.json
                drwxr-xr-x+ 3 iobroker iobroker     4096 Mar 12 13:52 eusec.0
                drwxr-xr-x+ 7 iobroker iobroker     4096 Mar 12 13:52 files
                
                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von Homoran
                #7

                @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                eine zweite admin instanz

                auf einem 2. host?

                Status admin:

                system.adapter.admin.0 : admin : iobroker-tim - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin

                system.adapter.admin.1 : admin : iobroker - enabled, port: 8089, bind: 0.0.0.0, run as: admin

                auch mit https aufgerufen?

                kein Support per PN! - Fragen im Forum stellen -
                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                T 1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                  eine zweite admin instanz

                  auf einem 2. host?

                  Status admin:

                  system.adapter.admin.0 : admin : iobroker-tim - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin

                  system.adapter.admin.1 : admin : iobroker - enabled, port: 8089, bind: 0.0.0.0, run as: admin

                  auch mit https aufgerufen?

                  T Offline
                  T Offline
                  tholterhus
                  schrieb am zuletzt editiert von
                  #8

                  @homoran und @Thomas-Braun es läuft jetzt alles, der Fehler schien tatsächlich gewesen zu sein, dass mein yahka backup file in dem o.g. Ordner vorhanden war und den restore "gestört" hat. Nachdem ich die Datei gelöscht habe, lief der Restore anstandslos durch und alles läuft auf der neuen VM. Danke euch für die schnelle Unterstützung!

                  Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                  0
                  • T tholterhus

                    @homoran und @Thomas-Braun es läuft jetzt alles, der Fehler schien tatsächlich gewesen zu sein, dass mein yahka backup file in dem o.g. Ordner vorhanden war und den restore "gestört" hat. Nachdem ich die Datei gelöscht habe, lief der Restore anstandslos durch und alles läuft auf der neuen VM. Danke euch für die schnelle Unterstützung!

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von Thomas Braun
                    #9

                    @tholterhus

                    Nur bist du immer noch auf einem Release, das im Juli 2023 abgekündigt werden wird, weil die Interimsreleases nur 9 Monate unterstützt werden.
                    Und die nodejs-Version ist auch immer noch die falsche.

                    sudo apt update
                    apt policy nodejs
                    

                    sagt?

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    T 1 Antwort Letzte Antwort
                    0
                    • T tholterhus

                      @homoran und @Thomas-Braun es läuft jetzt alles, der Fehler schien tatsächlich gewesen zu sein, dass mein yahka backup file in dem o.g. Ordner vorhanden war und den restore "gestört" hat. Nachdem ich die Datei gelöscht habe, lief der Restore anstandslos durch und alles läuft auf der neuen VM. Danke euch für die schnelle Unterstützung!

                      HomoranH Nicht stören
                      HomoranH Nicht stören
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #10

                      @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                      Danke euch für die schnelle Unterstützung!

                      Danke für die NichtInformationen, die zu einer echten Hilfe notwendig gewesen wären.

                      @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                      es läuft jetzt alles

                      trifft es wahrscheinlich nicht

                      kein Support per PN! - Fragen im Forum stellen -
                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      T 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @tholterhus

                        Nur bist du immer noch auf einem Release, das im Juli 2023 abgekündigt werden wird, weil die Interimsreleases nur 9 Monate unterstützt werden.
                        Und die nodejs-Version ist auch immer noch die falsche.

                        sudo apt update
                        apt policy nodejs
                        

                        sagt?

                        T Offline
                        T Offline
                        tholterhus
                        schrieb am zuletzt editiert von
                        #11

                        @thomas-braun

                        $ sudo apt update
                        Hit:1 http://de.archive.ubuntu.com/ubuntu kinetic InRelease
                        Get:2 http://de.archive.ubuntu.com/ubuntu kinetic-updates InRelease [118 kB]
                        Hit:3 https://deb.nodesource.com/node_16.x kinetic InRelease
                        Get:4 http://de.archive.ubuntu.com/ubuntu kinetic-backports InRelease [99.9 kB]
                        Get:5 http://de.archive.ubuntu.com/ubuntu kinetic-security InRelease [109 kB]
                        Fetched 326 kB in 1s (336 kB/s)  
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        All packages are up to date.
                        xxx@iobroker-xxx:~$ apt policy nodejs
                        nodejs:
                          Installed: 18.7.0+dfsg-5ubuntu1
                          Candidate: 18.7.0+dfsg-5ubuntu1
                          Version table:
                         *** 18.7.0+dfsg-5ubuntu1 500
                                500 http://de.archive.ubuntu.com/ubuntu kinetic/universe amd64 Packages
                                100 /var/lib/dpkg/status
                             16.19.1-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_16.x kinetic/main amd64 Packages
                        
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • T tholterhus

                          @thomas-braun

                          $ sudo apt update
                          Hit:1 http://de.archive.ubuntu.com/ubuntu kinetic InRelease
                          Get:2 http://de.archive.ubuntu.com/ubuntu kinetic-updates InRelease [118 kB]
                          Hit:3 https://deb.nodesource.com/node_16.x kinetic InRelease
                          Get:4 http://de.archive.ubuntu.com/ubuntu kinetic-backports InRelease [99.9 kB]
                          Get:5 http://de.archive.ubuntu.com/ubuntu kinetic-security InRelease [109 kB]
                          Fetched 326 kB in 1s (336 kB/s)  
                          Reading package lists... Done
                          Building dependency tree... Done
                          Reading state information... Done
                          All packages are up to date.
                          xxx@iobroker-xxx:~$ apt policy nodejs
                          nodejs:
                            Installed: 18.7.0+dfsg-5ubuntu1
                            Candidate: 18.7.0+dfsg-5ubuntu1
                            Version table:
                           *** 18.7.0+dfsg-5ubuntu1 500
                                  500 http://de.archive.ubuntu.com/ubuntu kinetic/universe amd64 Packages
                                  100 /var/lib/dpkg/status
                               16.19.1-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_16.x kinetic/main amd64 Packages
                          
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #12

                          @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                          *** 18.7.0+dfsg-5ubuntu1

                          Siehste...

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          T 1 Antwort Letzte Antwort
                          0
                          • HomoranH Homoran

                            @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                            Danke euch für die schnelle Unterstützung!

                            Danke für die NichtInformationen, die zu einer echten Hilfe notwendig gewesen wären.

                            @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                            es läuft jetzt alles

                            trifft es wahrscheinlich nicht

                            T Offline
                            T Offline
                            tholterhus
                            schrieb am zuletzt editiert von
                            #13

                            @homoran

                            sorry - bei mir ist jetzt alles grün und alle Module laufen soweit.

                            Da ich meine initialen "Probleme" den Restore ans Fliegen zu bringen irrtümlicher Weise mit der zu hohen nodejs Version in Verbindung gebracht habe, sich das aber im Laufe meines eigenen Postings hier für mich als mein eigener Fehler/Dummheit heraus gestellt hat (Datei zu viel im backup Verz.), war jetzt zunächst alles geklärt.

                            1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                              *** 18.7.0+dfsg-5ubuntu1

                              Siehste...

                              T Offline
                              T Offline
                              tholterhus
                              schrieb am zuletzt editiert von
                              #14

                              @thomas-braun

                              Ja genau, aber ich habe (mit meinen anscheinend sehr beschränkten apt-Kenntnissen) keinen Weg gefunden, die 18.x zu entfernen und auf die 16.x downzugraden. Mit der 18 läuft es bislang problemlos

                              Thomas BraunT 2 Antworten Letzte Antwort
                              0
                              • T tholterhus

                                @thomas-braun

                                Ja genau, aber ich habe (mit meinen anscheinend sehr beschränkten apt-Kenntnissen) keinen Weg gefunden, die 18.x zu entfernen und auf die 16.x downzugraden. Mit der 18 läuft es bislang problemlos

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #15

                                @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                                Mit der 18 läuft es bislang problemlos

                                Die dfsg-Version ist nur grundsätzlich anderes (modularer) gepackt. Das wird dir früher oder später um die Ohren fliegen.
                                Und warum hast du die 22.10 installiert und nicht die LTS-Version 22.04? Dann wärst du gar nicht in das Phänomen gerannt.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                1 Antwort Letzte Antwort
                                0
                                • T tholterhus

                                  @thomas-braun

                                  Ja genau, aber ich habe (mit meinen anscheinend sehr beschränkten apt-Kenntnissen) keinen Weg gefunden, die 18.x zu entfernen und auf die 16.x downzugraden. Mit der 18 läuft es bislang problemlos

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #16

                                  @tholterhus sagte in Ubuntu 22.10 - falsche node Version?:

                                  die 18.x zu entfernen und auf die 16.x downzugraden.

                                  Kann man natürlich. Nennt sich apt pinning.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Antwort Letzte Antwort
                                  0

                                  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
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

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

                                  358

                                  Online

                                  32.8k

                                  Benutzer

                                  82.9k

                                  Themen

                                  1.3m

                                  Beiträge
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                  ioBroker Community 2014-2025
                                  logo
                                  • Anmelden

                                  • Du hast noch kein Konto? Registrieren

                                  • Anmelden oder registrieren, um zu suchen
                                  • Erster Beitrag
                                    Letzter Beitrag
                                  0
                                  • Home
                                  • Aktuell
                                  • Tags
                                  • Ungelesen 0
                                  • Kategorien
                                  • Unreplied
                                  • Beliebt
                                  • GitHub
                                  • Docu
                                  • Hilfe