Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Nach Docker Umzug keine Updates möglich

    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

    [gelöst] Nach Docker Umzug keine Updates möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      ZoXx @ZoXx last edited by

      habe den ordner .bin mal komplett gelöscht.
      Installation klappt nun, Fehler gibt es trotzdem:

      $ iobroker upgrade shelly@5.3.2
      
      Update shelly from @4.0.7 to @5.3.2
      
      NPM version: 6.14.16
      
      npm install iobroker.shelly@5.3.2 --loglevel error --prefix "/opt/iobroker" (System call)
      
      internal/modules/cjs/loader.js:905
      
      throw err; ^Error: Cannot find module '../lib/main'Require stack:- /opt/iobroker/node_modules/.bin/node-pre-gyp at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:101:18) at Object.<anonymous> (/opt/iobroker/node_modules/.bin/node-pre-gyp:4:1) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/.bin/node-pre-gyp' ]}
      
      upload [13] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/words.js words.js application/javascript
      
      Update "system.adapter.shelly.0"
      
      upload [12] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/shelly.png shelly.png image/png
      
      upload [11] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/jsonConfig.json jsonConfig.json application/json
      
      upload [10] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/index_m.html index_m.html text/html
      
      upload [9] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
      
      upload [8] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
      
      upload [7] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
      
      upload [6] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
      
      upload [5] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
      
      upload [4] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/it/translations.json i18n/it/translations.json application/json
      
      upload [3] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
      
      upload [2] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/es/translations.json i18n/es/translations.json application/json
      
      upload [1] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/en/translations.json i18n/en/translations.json application/json
      
      upload [0] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/i18n/de/translations.json i18n/de/translations.json application/json
      
      Adapter "shelly" updated
      
      Process exited with code 0
      
      Z 1 Reply Last reply Reply Quote 0
      • Z
        ZoXx @ZoXx last edited by

        niemand sonst eine Idee? 😞

        Z 1 Reply Last reply Reply Quote 0
        • Z
          ZoXx @ZoXx last edited by

          Heute wieder Fehler beim Update des js-controller

          root@iobroker:/opt/iobroker# iobroker upgrade self
          Update js-controller from @3.3.22 to @4.0.19
          NPM version: 6.14.16
          npm install iobroker.js-controller@4.0.19 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
          npm ERR! code EEXIST
          npm ERR! path /opt/iobroker/node_modules/.bin/iobroker
          npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/iobroker: is outside /opt/iobroker/node_modules/iobroker.js-controller and not a link
          npm ERR! File exists: /opt/iobroker/node_modules/.bin/iobroker
          npm ERR! Remove the existing file and try again, or run npm
          npm ERR! with --force to overwrite files recklessly.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /opt/iobroker/.npm/_logs/2022-03-11T17_55_39_912Z-debug.log
          

          es wäre klasse, wenn mir wer helfen könnte 😞

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

            @zoxx sagte in Nach Docker Umzug keine Updates / Installationen möglich:

            root@iobroker

            Erste Hilfe: Nicht als root agieren.

            Zweite Hilfe:
            Als user:

            sudo -u iobroker rm /opt/iobroker/node_modules/.bin/iobroker
            

            Was ist das eigentlich für ein komisches Verzeichnis

            /mnt/cache/appdata/iobroker

            da?

            Z 1 Reply Last reply Reply Quote 0
            • Z
              ZoXx @Thomas Braun last edited by

              @thomas-braun said in Nach Docker Umzug keine Updates / Installationen möglich:

              Erste Hilfe: Nicht als root agieren.

              Werde ich die Tage einen neuen User anlegen.

              @thomas-braun said in Nach Docker Umzug keine Updates / Installationen möglich:

              Zweite Hilfe:
              Als user:
              sudo -u iobroker rm /opt/iobroker/node_modules/.bin/iobroker

              Erledigt.
              Fehler danach beim ausführen von "iobroker upgrade self"

              root@iobroker:/opt/iobroker# iobroker upgrade self
              Update js-controller from @3.3.22 to @4.0.19
              NPM version: 6.14.16
              npm install iobroker.js-controller@4.0.19 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
              npm ERR! code EEXIST
              npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime
              npm ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/mime and not a link
              npm ERR! File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime
              npm ERR! Remove the existing file and try again, or run npm
              npm ERR! with --force to overwrite files recklessly.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /opt/iobroker/.npm/_logs/2022-03-11T18_07_56_004Z-debug.log
              

              @thomas-braun said in Nach Docker Umzug keine Updates / Installationen möglich:

              Was ist das eigentlich für ein komisches Verzeichnis
              /mnt/cache/appdata/iobroker
              da?

              Verzeichnis von meinem unRAID-Server

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

                @zoxx sagte in Nach Docker Umzug keine Updates / Installationen möglich:

                Werde ich die Tage einen neuen User anlegen.

                Mach das JETZT und verfummel dir nicht weiter das System durch das rumgeeier als root.

                Z 1 Reply Last reply Reply Quote 0
                • Z
                  ZoXx @Thomas Braun last edited by

                  @thomas-braun
                  alles klar. Ist angelegt.
                  Was mache ich bzgl. der Fehler weiter?

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

                    @zoxx Remove the existing file

                    Z 1 Reply Last reply Reply Quote 0
                    • Z
                      ZoXx @Thomas Braun last edited by

                      @thomas-braun das habe ich doch bereits oben erledigt?

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

                        @zoxx
                        Kiste neugestartet wg. der Rechte des neuen users?
                        Als user angemeldet?
                        Was sagt

                        iobroker update -u
                        
                        Z 1 Reply Last reply Reply Quote 0
                        • Z
                          ZoXx @Thomas Braun last edited by ZoXx

                          @thomas-braun said in Nach Docker Umzug keine Updates / Installationen möglich:

                          @zoxx
                          Kiste neugestartet wg. der Rechte des neuen users?
                          Als user angemeldet?
                          Was sagt

                          iobroker update -u
                          

                          meckert mit dem anderen user.
                          Da muss ich die Tage schauen, warum ich mich nicht via putty verbinden kann (ob unraid überhaupt andere user zulässt).

                          Habe es als root wieder ausgeführt:

                          root@iobroker:/opt/iobroker# iobroker update -u
                          Used repository: stable
                          hash unchanged, use cached sources
                          update done
                          Controller "js-controller" : 4.0.19   , installed 3.3.22 [Updateable]
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @ZoXx last edited by

                            @zoxx sagte in Nach Docker Umzug keine Updates / Installationen möglich:

                            Habe es als root wieder ausgeführt:

                            Dann bin ich raus.

                            Z 1 Reply Last reply Reply Quote 1
                            • Z
                              ZoXx @Thomas Braun last edited by ZoXx

                              @thomas-braun said in Nach Docker Umzug keine Updates / Installationen möglich:

                              @zoxx sagte in Nach Docker Umzug keine Updates / Installationen möglich:

                              Habe es als root wieder ausgeführt:

                              Dann bin ich raus.

                              Ehrlich? 👎
                              Danke für deine Bemühungen trotzdem.
                              Schade, dass es an sowas scheitert. Hätte ja trotzdem weiter schauen können 😉

                              Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @ZoXx last edited by

                                @zoxx

                                Ja.

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

                                  @zoxx sagte in Nach Docker Umzug keine Updates / Installationen möglich:

                                  Ehrlich?

                                  Ja!
                                  da die Arbeit mit Root dazu führen kann das Rechte dermaßen verbogen werden, dass selbst der Fixer nichts mehr richten kann.

                                  EDIT:
                                  zu deinen jetzt noch hinzugefügten Sätzen:

                                  @zoxx sagte in Nach Docker Umzug keine Updates / Installationen möglich:

                                  Danke für deine Bemühungen trotzdem.
                                  Schade, dass es an sowas scheitert. Hätte ja trotzdem weiter schauen können

                                  eben nicht.
                                  Weil man dann nicht erkennen kann warum der Systemuser iobroker nicht arbeiten kann
                                  Root darf zu viel

                                  Z 2 Replies Last reply Reply Quote 1
                                  • Z
                                    ZoXx @Thomas Braun last edited by

                                    @thomas-braun said in Nach Docker Umzug keine Updates / Installationen möglich:

                                    @zoxx

                                    Ja.

                                    Und wenn ich mich jetzt die nächsten 3 Stunden dran setze, den anderen User hinbekomme, bist du wieder dabei? 👮

                                    1 Reply Last reply Reply Quote 0
                                    • Z
                                      ZoXx @Homoran last edited by

                                      @homoran said in Nach Docker Umzug keine Updates / Installationen möglich:

                                      @zoxx sagte in Nach Docker Umzug keine Updates / Installationen möglich:

                                      Ehrlich?

                                      Ja!
                                      da die Arbeit mit Root dazu führen kann das Rechte dermaßen verbogen werden, dass selbst der Fixer nichts mehr richten kann.

                                      na danke! Das ist doch mal ne Aussage mit der ich arbeiten kann.
                                      Also setze ich mich dran.

                                      1 Reply Last reply Reply Quote 0
                                      • Z
                                        ZoXx @Homoran last edited by

                                        @homoran said in Nach Docker Umzug keine Updates / Installationen möglich:

                                        Weil man dann nicht erkennen kann warum der Systemuser iobroker nicht arbeiten kann
                                        Root darf zu viel

                                        Alles klar (wieder was gelernt).
                                        Bin jetzt mit einem user drin.

                                        Was kann ich nun machen?

                                        Z 1 Reply Last reply Reply Quote 0
                                        • Z
                                          ZoXx @ZoXx last edited by

                                          bin die Kommandos von oben durchgegangen.

                                          Ohne Erfolg. Fehler bleibt weiterhin.
                                          Auch das löschen des .bin Ordners bringt keinen Erfolg.

                                          Z 1 Reply Last reply Reply Quote 0
                                          • Z
                                            ZoXx @ZoXx last edited by

                                            niemand mehr eine Idee? 😞

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            944
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            42
                                            1464
                                            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