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.
    • Thomas Braun
      Thomas Braun Most Active @Bastel2021 last edited by Thomas Braun

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

      wollte den History Adapter installieren

      Zuerst würde ich deinen System vollständig AKTUALISIEREN.

      Und dann schauen was der Javascript-Adapter für Wehwehchen hat. Ggf. auch anders herum.

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

        Das ausgeführt:

        for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
        

        Mit diesem Ergebnis:

        pi@raspberrypi:/opt/iobroker $ iobroker list instances
        + system.adapter.admin.0                  : admin                 : raspberrypi                                                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admi                                   n
        + system.adapter.backitup.0               : backitup              : raspberrypi                                                                 -  enabled
        + system.adapter.discovery.0              : discovery             : raspberrypi                                                                 -  enabled
        + system.adapter.javascript.0             : javascript            : raspberrypi                                                                 -  enabled
        + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                                                                 -  enabled, port: 1883, bind: 0.0.0.0
        + system.adapter.node-red.0               : node-red              : raspberrypi                                                                 -  enabled, port: 1880, bind: 0.0.0.0
        + system.adapter.pushover.0               : pushover              : raspberrypi                                                                 -  enabled
          system.adapter.sonoff.0                 : sonoff                : raspberrypi                                                                 - disabled, port: 1883, bind: 0.0.0.0
        + system.adapter.zigbee.0                 : zigbee                : raspberrypi                                                                 -  enabled, port: /dev/serial/by-id/usb-dresden_ele                                   ktronik_ingenieurtechnik_GmbH_ConBee_II_DE2131077-if00
        
        + instance is alive
        
        
        1 Reply Last reply Reply Quote 0
        • B
          Bastel2021 @Thomas Braun last edited by Bastel2021

          @thomas-braun
          update / upgrade hatte ich bereits vorher durchgeführt.

          Aber jetzt scheind kein Problem mehr mit dem Javascript-Adsapter zu sein.

          
          pi@raspberrypi:/opt/iobroker $ npm ls
          iobroker.inst@3.0.0 /opt/iobroker
          ├── iobroker.admin@6.3.2
          ├── iobroker.backitup@2.5.9
          ├── iobroker.discovery@3.1.0
          ├── iobroker.history@2.2.4 extraneous
          ├── 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.zigbee@1.7.6
          
          pi@raspberrypi:/opt/iobroker $
          
          
          Thomas Braun 2 Replies 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:

            update / upgrade hatte ich bereits vorher durchgeführt

            Kann nicht sein, du fährst da mit alten Versionen herum.

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

              @bastel2021

              iob diag
              

              sagt?

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

                @thomas-braun
                also erstmal alle Adapter updaten?

                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:

                  Adapter updaten?

                  Natürlich. Macht man eh immer regelmäßig.

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

                    @thomas-braun

                    Copy text starting here:

                    ======================= SUMMARY =======================
                                         v.2023-01-02
                    
                    
                    Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                    Installation:           Native
                    Timezone:               Europe/Berlin
                    User-ID:                1000
                    X-Server:               false
                    Boot Target:            multi-user.target
                    
                    Pending OS-Updates:     0
                    
                    Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                            /usr/bin/node           v16.19.0
                                            /usr/bin/npm            8.19.3
                                            /usr/bin/npx            8.19.3
                    
                    ioBroker Core:          js-controller           4.0.23
                                            admin                   6.3.2
                    
                    ioBroker Status:        iobroker is running on this host.
                    
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Status admin:
                    + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    
                    Pending iob updates:    5
                    
                    Active repo(s): stable
                    
                    Objects:                630
                    States:                 392
                    
                    Size of iob-Database:
                    
                    71M     /opt/iobroker/iobroker-data/objects.jsonl
                    1.8M    /opt/iobroker/iobroker-data/states.jsonl
                    
                    
                    =================== END OF SUMMARY ====================
                    
                    pi@raspberrypi:/opt/iobroker $
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Bastel2021 last edited by

                      @bastel2021

                      Wider Erwarten ist das OS auf Stand. Bleiben die 5 iob-Adaptee, inkl. js-controller

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            897
                                            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