Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Fehler bei Installation js-controller 6.0.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Fehler bei Installation js-controller 6.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hotspot_2 last edited by

      Hallo zusammen,

      ich habe den "npm i" Befehl zur Installationes des js-controller 6.0.x (beta) leider zuerst nicht in "/opt/iobroker" ausgeführt. Kann mir jemand sagen welche Verzeichnisse ich dann wieder löschen kann? Das wäre super. Danke schon mal!

      Thomas Braun haus-automatisierung 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @hotspot_2 last edited by

        @hotspot_2

        Warum überhaupt per npm? Der js-controller liegt doch im Beta-Repo bereit...

        In welchem Verzeichnis hast du denn dringestanden?

        Dort dann

        ls -lah
        

        ausführen und schauen.

        H 1 Reply Last reply Reply Quote 0
        • haus-automatisierung
          haus-automatisierung Developer Most Active @hotspot_2 last edited by

          @hotspot_2 sagte in Fehler bei Installation js-controller 6.0.x:

          "npm i" Befehl zur Installationes des js-controller 6.0.x (beta)

          Das ist keine gute Idee. Jetzt weiß wohl niemand, was genau passiert ist.

          Einfach nie direkt npm nutzen. Nie. Braucht man nicht machen.

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

            @thomas-braun

            Ok, über das Beta Repos wollte er 6.0.6 einfach nicht installieren. Ich habe es dann mit npm gemacht, hat alles geklappt (zumindest läuft alles wieder hervorragend).

            Hier die Ausgabe:

            
            marcus@iobroker:~$ ls -lah
            total 220K
            drwx------   8 marcus marcus 4.0K Jun 21 21:03 .
            drwxr-xr-x   4 root   root   4.0K Jul 28  2023 ..
            -rw-------   1 marcus marcus  21K Jul  1 09:48 .bash_history
            -rw-r--r--   1 marcus marcus  220 Jul 28  2023 .bash_logout
            -rw-r--r--   1 marcus marcus 3.7K May 29 19:58 .bashrc
            drwxr-xr-x   4 marcus marcus 4.0K Jul 28  2023 .cache
            drwx------   3 marcus marcus 4.0K May 29 17:50 .config
            -rw-r--r--   1 marcus marcus 2.2K Oct 31  2023 .influx_history
            drwxr-xr-x   2 marcus marcus 4.0K Jul 28  2023 .iobroker
            drwxr-xr-x   4 marcus marcus 4.0K Jul 28  2023 .npm
            -rw-------   1 marcus marcus   36 Jul 28  2023 .npmrc
            -rw-r--r--   1 marcus marcus  807 Jul 28  2023 .profile
            -rw-r--r--   1 marcus marcus    0 Jul 28  2023 .sudo_as_admin_successful
            -rw-r--r--   1 marcus marcus  173 Jul 29  2023 .wget-hsts
            -rw-r--r--   1 marcus marcus   84 Jun 21 21:03 10.8.1
            -rwxr-xr--   1 marcus marcus  115 Jun 21 21:01 iob
            -rwxr--r--   1 marcus marcus  16K Oct  1  2023 iob_node_update
            -rwxr-xr--   1 marcus marcus  115 Jun 21 21:01 iobroker
            drwxr-xr-x   3 marcus marcus 4.0K Jul  1 09:36 iobroker-data
            -rw-------   1 root   root    18K Mar  6 08:48 mosquitto.db
            drwxr-xr-x 195 marcus marcus 4.0K Jul  1 09:36 node_modules
            -rw-r--r--   1 marcus marcus  87K Jul  1 09:36 package-lock.json
            -rw-r--r--   1 marcus marcus  100 Jul  1 09:36 package.json
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • H
              hotspot_2 @haus-automatisierung last edited by

              @haus-automatisierung Ok, Danke für den Hinweis. Merke ich mir. NPM nie selbst updaten und auch nie direkt nutzen!

              Hoffe das ich jetzt nicht alles abgeschossen habe, aber bis jetzt läuft alles sehr stabil.

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

                @hotspot_2 sagte in Fehler bei Installation js-controller 6.0.x:

                über das Beta Repos wollte er 6.0.6 einfach nicht installieren.

                Das würde mir dann aber auch schon zu denken geben...

                Die ganzen Dateien/Verzeichnisse vom 01.07. dürften von der Aktion herrühren. Da liegen aber auch noch andere Dinge falsch.

                Die mosquitto.db liegt z. B. üblicherweise in /var/lib/mosquitto und nicht 'unter falscher Flagge' root:root im home von marcus.

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

                  @thomas-braun

                  Die mosquitto.db liegt da normalerweise auch. Das war mal ein Backup weil ich Probleme damit hatte das Shellys immer wieder sich angeschaltet haben. Das löschen der mosquitto.db hat da Abhilfe geschaffen.

                  Ich abe jetzt mal alles von 01.07. gelöscht und das Backup der mosquitto.db auch.

                  Danke für die Hilfe!

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  972
                  Online

                  31.7k
                  Users

                  79.7k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  261
                  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