Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Alte iobroker installation aktualisieren

    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

    Alte iobroker installation aktualisieren

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

      @mr-moose sagte in Alte iobroker installation aktualisieren:

      wenn die auf 9 bleibt?

      Debian 9 ist schon gleich zweimal für Tod erklärt worden. Bring das erstmal auf Vordermann.

      Vermutlich ist es weniger Arbeit und erfolgsversprechender das gleich alles von Grund auf neuzumachen.

      Und auch auf einem Debian 9 / Stretch wurde nicht als root herumgeturnt.

      Zum Upgrade des js-controllers von so uralt Versionen aus: https://forum.iobroker.net/topic/52886/js-controller-4-0-x-jetzt-für-alle-user-im-stable

      M 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Mr. Moose last edited by

        @mr-moose sagte in Alte iobroker installation aktualisieren:

        node 10.x.x
        npm 8.x.x

        Sehr ich gerade erst. Passt hinten und vorne nicht übereinander.
        Npm 8 wurde zusammen mit nodejs16 ausgeliefert.
        Da musst du dann auch noch ran. Da haste ganz schön viele Baustellen zu beackern.

        1 Reply Last reply Reply Quote 0
        • M
          Mr. Moose @Thomas Braun last edited by

          @thomas-braun said in Alte iobroker installation aktualisieren:

          Vermutlich ist es weniger Arbeit und erfolgsversprechender das gleich alles von Grund auf neuzumachen.

          Also eine Neuinstallation und dann die Daten aus der alten Version irgend wie rüber?
          Dann werde ich das mal versuchen.

          Mag sein mit dem root, aber das ist der einzige User zu dem ich das Passwort noch kenne 😢

          Thomas Braun 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Mr. Moose last edited by

            @mr-moose sagte in Alte iobroker installation aktualisieren:

            aber das ist der einzige User zu dem ich das Passwort noch kenne

            Der root kann natürlich die Passworte für andere User neu setzen. root kann ja alles. Auch alles kaputt machen.

            1 Reply Last reply Reply Quote 2
            • Thomas Braun
              Thomas Braun Most Active @Mr. Moose last edited by Thomas Braun

              @mr-moose

              Ich würde das so machen:

              Nodejs sauber auf dem ollen Stretch hochziehen.
              Siehe in meiner Signatur wie das geht.
              Dann den js-contoller direkt aus npm ziehen, mit upgrade self geht das von der alten Version aus nicht. Dann die Adapter hochziehen. Dann ein Backup der ganzen Choose, altes OS endlich unter die Erde bringen, im neuen System (ohne aktivem root!!!!) das Backup einspielen.

              Künftig vom dämlichen Unfug 'Näwah tatsch ä runninck süstäm!' Abstand nehmen und das System in Gänze regelmäßig updaten.

              M mickym 2 Replies Last reply Reply Quote 0
              • M
                Mr. Moose @Thomas Braun last edited by

                @thomas-braun said in Alte iobroker installation aktualisieren:

                Dann den js-contoller direkt aus npm ziehen, mit upgrade self geht das von der alten Version aus nicht.

                Danke, ich werde das morgen mal versuchen.
                Den Befehl um js-controller per npm zu installieren muss ich dann noch irgendwo finden. Bisher stand überall die upgrade self Variante.

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Mr. Moose last edited by Thomas Braun

                  @mr-moose

                  cd /opt/iobroker
                  sudo -H -u iobroker npm install iobroker.js-controller
                  

                  müsste das sein.

                  Das bei allen Aktionen der iobroker gestoppt sein sollte versteht sich von selbst.

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

                    @thomas-braun sagte in Alte iobroker installation aktualisieren:

                    Künftig vom dämlichen Unfug 'Näwah tatsch ä runninck süstäm!' Abstand nehmen und das System in Gänze regelmäßig updaten.

                    Na da würde ich eher "ranning" sagen. 😉

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

                      @mickym
                      Stimmt. Aber da siehst du, das ich das Credo nicht so genau kenne.

                      1 Reply Last reply Reply Quote 1
                      • M
                        Mr. Moose @Thomas Braun last edited by

                        @thomas-braun said in Alte iobroker installation aktualisieren:

                        cd /opt/iobroker
                        sudo -H -u iobroker npm install iobroker.js-controller

                        müsste das sein.

                        Die Fehlermeldung bleibt leider die selbe wie bei upgrade self:

                        alex@iobroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                        [sudo] password for alex: 
                        npm WARN tarball tarball data for iobroker.objects-redis@file:iobroker.objects-redis (null) seems to be corrupted. Trying again.
                        npm WARN tarball tarball data for iobroker.objects-redis@file:iobroker.objects-redis (null) seems to be corrupted. Trying again.
                        npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                        npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
                        npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                        npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
                        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                        npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                        npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
                        npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
                        npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                        npm WARN deprecated passport.socketio@3.7.0: Please check the workaround in https://github.com/jfromaniello/passport.socketio/issues/148
                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                        npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                        npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
                        npm ERR! code ENOENT
                        npm ERR! syscall open
                        npm ERR! path /opt/iobroker/iobroker.objects-redis/package.json
                        npm ERR! errno -2
                        npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/iobroker.objects-redis/package.json'
                        npm ERR! enoent This is related to npm not being able to find a file.
                        npm ERR! enoent 
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2022-09-27T16_09_13_351Z-debug-0.log
                        
                        mikeal created this issue in request/request

                        open Request’s Past, Present and Future #3142

                        mikeal created this issue in request/request

                        open Request’s Past, Present and Future #3142

                        sliterok created this issue in jfromaniello/passport.socketio

                        closed For everyone who is struggling with this module #148

                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

                        mikeal created this issue in request/request

                        open Request’s Past, Present and Future #3142

                        timemachine3030 created this issue in axios/axios

                        closed Hotfix: Prevent SSRF #3410

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Mr. Moose last edited by

                          @mr-moose

                          Ich vermute das Modul iobroker.objects-redis ist obsolet. In meinem System ist es jedenfalls nicht installiert. Scheint mir ein Relikt zu sein.

                          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

                          852
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          3
                          12
                          890
                          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