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 @Thomas Braun last edited by

      @thomas-braun
      heißt ich soll die Adapter mal aktualisieren?

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

        @thomas-braun
        habe die Adapter jetzt aktualisiert.
        Nur bei dem Javascript-Adapter gibt es Probleme: ERROR: Process exited with code 25

        Der History Adapter lässt sich jetzt installieren!

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

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

          Nur bei dem Javascript-Adapter gibt es Probleme: ERROR: Process exited with code 25

          Dann installier den mit --debug Option.

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

            @thomas-braun
            also du meinst im Terminal?
            Und wenn ja, wie muss ich dann eine Aktualisierung durchführen?

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

              @bastel2021

              in der Konsole mit :

              iob upgrade javascript --debug
              

              dann die Ausgabe hier posten

              B 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            922
                                            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