Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. tholterhus

    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

    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Best 0
    • Groups 1

    tholterhus

    @tholterhus

    Starter

    0
    Reputation
    5
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tholterhus Follow
    Starter

    Latest posts made by tholterhus

    • RE: Ubuntu 22.10 - falsche node Version?

      @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

      posted in ioBroker Allgemein
      T
      tholterhus
    • RE: Ubuntu 22.10 - falsche node Version?

      @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.

      posted in ioBroker Allgemein
      T
      tholterhus
    • RE: Ubuntu 22.10 - falsche node Version?

      @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
      
      
      posted in ioBroker Allgemein
      T
      tholterhus
    • RE: Ubuntu 22.10 - falsche node Version?

      @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!

      posted in ioBroker Allgemein
      T
      tholterhus
    • RE: Ubuntu 22.10 - falsche node Version?

      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

      posted in ioBroker Allgemein
      T
      tholterhus
    • RE: Ubuntu 22.10 - falsche node Version?

      @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
      
      posted in ioBroker Allgemein
      T
      tholterhus
    • Ubuntu 22.10 - falsche node Version?

      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?

      posted in ioBroker Allgemein
      T
      tholterhus
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo