Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. History Adapter läßt sich nicht installieren

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    History Adapter läßt sich nicht installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bastel2021 @Glasfaser last edited by

      @glasfaser

      pi@raspberrypi:~ $ iob upgrade javascript --debug
      
      This upgrade of "javascript" will introduce the following changes:
      ==========================================================================
      -> 6.1.4:
      Corrected small error in rules
      Tried to fix debug mode
      
      -> 6.1.3:
      Prevent adapter crash when script could not be compiled
      
      -> 6.1.2:
      Added ukrainian translation
      
      -> 6.1.0:
      Add a configurable check for number of setStates per Minute to prevent scripts f                                              rom taking down ioBroker. Default are 1000 setState per minute. Only stops if th                                              e number is reached 2 minutes in a row!
      Add createAlias method to create aliases for states
      Add setStateDelayed to selector
      Add options to exec command
      Fix issues with cancelling schedules when stopping scripts
      Corrected debug mode
      ==========================================================================
      
      Would you like to upgrade javascript from @6.0.3 to @6.1.4 now? [(y)es, (n)o]: y
      Update javascript from @6.0.3 to @6.1.4
      NPM version: 8.19.3
      Installing iobroker.javascript@6.1.4... (System call)
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/iobroker.javascript
      npm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobr                                              oker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2023-02-05T19_03_34_717Z-debug-0.log
      host.raspberrypi Cannot install iobroker.javascript@6.1.4: 217
      pi@raspberrypi:~ $
      
      
      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @Bastel2021 last edited by

        @bastel2021 sagte in History Adapter läßt sich nicht installieren:

        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobr oker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'

        nochmal:

        for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
        
        B 1 Reply Last reply Reply Quote 0
        • B
          Bastel2021 @Glasfaser last edited by

          @glasfaser
          Siehe Terminal

          
          pi@raspberrypi:~ $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm                         -rf ${i%%/}; done
          pi@raspberrypi:~ $ ^C
          pi@raspberrypi:~ $ iob upgrade javascript --debug
          
          This upgrade of "javascript" will introduce the following changes:
          ==========================================================================
          -> 6.1.4:
          Corrected small error in rules
          Tried to fix debug mode
          
          -> 6.1.3:
          Prevent adapter crash when script could not be compiled
          
          -> 6.1.2:
          Added ukrainian translation
          
          -> 6.1.0:
          Add a configurable check for number of setStates per Minute to prevent scripts from taking down ioBroker. Default are 1000 set                        State per minute. Only stops if the number is reached 2 minutes in a row!
          Add createAlias method to create aliases for states
          Add setStateDelayed to selector
          Add options to exec command
          Fix issues with cancelling schedules when stopping scripts
          Corrected debug mode
          ==========================================================================
          
          Would you like to upgrade javascript from @6.0.3 to @6.1.4 now? [(y)es, (n)o]: y
          Update javascript from @6.0.3 to @6.1.4
          NPM version: 8.19.3
          Installing iobroker.javascript@6.1.4... (System call)
          ^C
          pi@raspberrypi:~ $
          
          
          Glasfaser crunchip 2 Replies Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Bastel2021 last edited by

            @bastel2021

            sehe kein Fehler .. sollte jetzt die aktuelle 6.1.4 sein

            B 1 Reply Last reply Reply Quote 0
            • B
              Bastel2021 @Glasfaser last edited by

              @glasfaser

              pi@raspberrypi:/opt/iobroker $ npm ls
              iobroker.inst@3.0.0 /opt/iobroker
              ├── iobroker.admin@6.3.5
              ├── iobroker.backitup@2.5.10
              ├── iobroker.discovery@3.1.0
              ├── iobroker.flot@1.11.0
              ├── iobroker.history@2.2.4
              ├── iobroker.javascript@6.0.3
              ├── iobroker.js-controller@4.0.23
              ├── iobroker.mqtt@4.0.7
              ├── iobroker.node-red@4.0.0
              ├── iobroker.pushover@3.0.3
              ├── iobroker.sonoff@2.5.1
              ├── iobroker.web@4.3.0
              └── iobroker.zigbee@1.8.10
              
              pi@raspberrypi:/opt/iobroker $
              
              
              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Bastel2021 last edited by

                @bastel2021

                iob list adapters
                

                sagt

                B 1 Reply Last reply Reply Quote 0
                • B
                  Bastel2021 @Glasfaser last edited by

                  @glasfaser

                  pi@raspberrypi:/opt/iobroker $ iob list adapters
                  system.adapter.admin                   : admin          - v6.3.5
                  system.adapter.backitup                : backitup       - v2.5.10
                  system.adapter.discovery               : discovery      - v3.1.0
                  system.adapter.flot                    : flot           - v1.11.0
                  system.adapter.history                 : history        - v2.2.4
                  system.adapter.javascript              : javascript     - v6.0.3
                  system.adapter.mqtt                    : mqtt           - v4.0.7
                  system.adapter.node-red                : node-red       - v4.0.0
                  system.adapter.pushover                : pushover       - v3.0.3
                  system.adapter.sonoff                  : sonoff         - v2.5.1
                  system.adapter.web                     : web            - v4.3.0
                  system.adapter.zigbee                  : zigbee         - v1.8.10
                  pi@raspberrypi:/opt/iobroker $
                  
                  
                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Bastel2021 last edited by

                    @bastel2021

                    Mache mal ein

                    sudo reboot
                    
                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Bastel2021 @Glasfaser last edited by

                      @glasfaser
                      nach Reboot

                      pi@raspberrypi:~ $ iob list adapters
                      system.adapter.admin                   : admin          - v6.3.5
                      system.adapter.backitup                : backitup       - v2.5.10
                      system.adapter.discovery               : discovery      - v3.1.0
                      system.adapter.flot                    : flot           - v1.11.0
                      system.adapter.history                 : history        - v2.2.4
                      system.adapter.javascript              : javascript     - v6.0.3
                      system.adapter.mqtt                    : mqtt           - v4.0.7
                      system.adapter.node-red                : node-red       - v4.0.0
                      system.adapter.pushover                : pushover       - v3.0.3
                      system.adapter.sonoff                  : sonoff         - v2.5.1
                      system.adapter.web                     : web            - v4.3.0
                      system.adapter.zigbee                  : zigbee         - v1.8.10
                      pi@raspberrypi:~ $
                      
                      
                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @Bastel2021 last edited by

                        @bastel2021

                        iobroker stop
                        rm /opt/iobroker/package*
                        iobroker start
                        
                        iob list adapters
                        
                        B 1 Reply Last reply Reply Quote 0
                        • B
                          Bastel2021 @Glasfaser last edited by

                          @glasfaser

                          pi@raspberrypi:~ $ iobroker stop
                          pi@raspberrypi:~ $ rm /opt/iobroker/package*
                          pi@raspberrypi:~ $ iobroker start
                          pi@raspberrypi:~ $ iob list adapters
                          system.adapter.admin                   : admin          - v6.3.5
                          system.adapter.backitup                : backitup       - v2.5.10
                          system.adapter.discovery               : discovery      - v3.1.0
                          system.adapter.flot                    : flot           - v1.11.0
                          system.adapter.history                 : history        - v2.2.4
                          system.adapter.javascript              : javascript     - v6.0.3
                          system.adapter.mqtt                    : mqtt           - v4.0.7
                          system.adapter.node-red                : node-red       - v4.0.0
                          system.adapter.pushover                : pushover       - v3.0.3
                          system.adapter.sonoff                  : sonoff         - v2.5.1
                          system.adapter.web                     : web            - v4.3.0
                          system.adapter.zigbee                  : zigbee         - v1.8.10
                          pi@raspberrypi:~ $
                          
                          
                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @Bastel2021 last edited by

                            @bastel2021 sagte in History Adapter läßt sich nicht installieren:

                            ^C

                            ist das überhaupt durchgelaufen?

                            B 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @Bastel2021 last edited by Glasfaser

                              @bastel2021

                              iob upgrade javascript --debug
                              iob list instances
                              

                              EDIT :

                              iob list adapters
                              
                              1 Reply Last reply Reply Quote 0
                              • B
                                Bastel2021 @crunchip last edited by

                                @crunchip
                                erst hatte ich gedacht das das System sich aufgehangen hat.
                                Nach "Installing iobroker.javascript@6.1.4... (System call)" kam lange Zeit nichts mehr.
                                Was das ^C zu bedeuten hat...?

                                Glasfaser 1 Reply Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @Bastel2021 last edited by

                                  @bastel2021

                                  Bitte nochmal die Befehle oben .....

                                  B 2 Replies Last reply Reply Quote 0
                                  • B
                                    Bastel2021 @Glasfaser last edited by

                                    @glasfaser

                                    habe ich gemacht!
                                    System hat sich aufgehangen (Terminal Fenster ohne Reaktion)
                                    IOBroker über Admin nicht mehr erreichbar

                                    Werde den RPI neustarten

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

                                      @bastel2021 bitte immer alle Konsolen Einý und Ausgaben als Text in code-tags posten!
                                      https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        Bastel2021 @Glasfaser last edited by

                                        @glasfaser
                                        nach Neustart

                                        pi@raspberrypi:~ $ iob list adapters
                                        node:internal/modules/cjs/loader:998
                                          throw err;
                                          ^
                                        
                                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
                                            at Function.Module._load (node:internal/modules/cjs/loader:841:27)
                                            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                                            at node:internal/main/run_main_module:22:47 {
                                          code: 'MODULE_NOT_FOUND',
                                          requireStack: []
                                        }
                                        pi@raspberrypi:~ $
                                        
                                        
                                        Glasfaser Homoran 2 Replies Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @Bastel2021 last edited by

                                          @bastel2021

                                          cd /opt/iobroker
                                          sudo -H -u iobroker npm install iobroker.js-controller
                                          iobroker restart
                                          
                                          B 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Bastel2021 last edited by Homoran

                                            @bastel2021 hast du den Stecker gezogen gehabt?
                                            War der Server nur schwer am arbeiten? und nicht wirklich tot?

                                            was ist das eigentlich für ein Pi?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            45
                                            2073
                                            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