Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x

    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

    Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @AxelF1977 last edited by

      @AxelF1977
      Dann müsste jetzt bei

      newgrp & groups
      

      zusätzlich die Gruppe 'iobroker' aufgeführt sein. Prüf das mal.

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

        @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

        @AxelF1977
        Dann müsste jetzt bei

        newgrp & groups
        

        zusätzlich die Gruppe 'iobroker' aufgeführt sein. Prüf das mal.

        Leider nein

        gordon@ioBrokerPC:~$ newgrp & groups
        [1] 13270
        gordon cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @AxelF1977 last edited by

          @AxelF1977 Dann log den gordon mal aus und dann wieder ein.
          Dann zieht der die Gruppen neu. Mit

          groups
          

          nochmal schauen dann.

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

            @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

            groups

            top

            gordon@ioBrokerPC:~$ groups
            gordon cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanne                                                                                                                                                             r iobroker
            gordon@ioBrokerPC:~$ newgrp & groups
            [1] 20437
            gordon cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner iobroker
            gordon@ioBrokerPC:~$
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @AxelF1977 last edited by

              @AxelF1977 Dann schauen wir jetzt mal, ob das System auf dem letzten Stand ist:

              sudo apt update
              
              AxelF1977 1 Reply Last reply Reply Quote 1
              • AxelF1977
                AxelF1977 @Thomas Braun last edited by

                @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                sudo apt update

                
                gordon@ioBrokerPC:~$ sudo apt update
                OK:1 http://security.debian.org/debian-security buster/updates InRelease
                OK:2 http://deb.debian.org/debian buster InRelease
                OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                OK:4 http://deb.debian.org/debian buster-updates InRelease
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                Aktualisierung für 9 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                
                gordon@ioBrokerPC:~$ apt list --upgradable
                Auflistung... Fertig
                gir1.2-javascriptcoregtk-4.0/stable 2.26.4-1~deb10u3 amd64 [aktualisierbar von: 2.24.4-1~deb10u1]
                gir1.2-webkit2-4.0/stable 2.26.4-1~deb10u3 amd64 [aktualisierbar von: 2.24.4-1~deb10u1]
                libjavascriptcoregtk-4.0-18/stable 2.26.4-1~deb10u3 amd64 [aktualisierbar von: 2.24.4-1~deb10u1]
                libldap-2.4-2/stable 2.4.47+dfsg-3+deb10u2 amd64 [aktualisierbar von: 2.4.47+dfsg-3+deb10u1]
                libldap-common/stable 2.4.47+dfsg-3+deb10u2 all [aktualisierbar von: 2.4.47+dfsg-3+deb10u1]
                libwebkit2gtk-4.0-37/stable 2.26.4-1~deb10u3 amd64 [aktualisierbar von: 2.24.4-1~deb10u1]
                linux-image-amd64/stable 4.19+105+deb10u3 amd64 [aktualisierbar von: 4.19+105+deb10u1]
                linux-libc-dev/stable 4.19.98-1+deb10u1 amd64 [aktualisierbar von: 4.19.98-1]
                nodejs/unbekannt 12.16.3-1nodesource1 amd64 [aktualisierbar von: 12.16.2-1nodesource1]
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @AxelF1977 last edited by

                  @AxelF1977

                  sudo apt dist-upgrade
                  

                  Und dann das System einmal mit

                  sudo reboot now
                  

                  neustarten. (Da ist ein Kernel-Update dabei, deswegen einmal durchstarten)

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

                    @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                    sudo reboot now

                    Erledigt

                    
                    gordon@ioBrokerPC:~$ sudo apt update
                    [sudo] Passwort für gordon:
                    OK:1 http://security.debian.org/debian-security buster/updates InRelease
                    OK:2 https://deb.nodesource.com/node_12.x buster InRelease
                    OK:3 http://deb.debian.org/debian buster InRelease
                    OK:4 http://deb.debian.org/debian buster-updates InRelease
                    Paketlisten werden gelesen... Fertig
                    Abhängigkeitsbaum wird aufgebaut.
                    Statusinformationen werden eingelesen.... Fertig
                    Alle Pakete sind aktuell.
                    gordon@ioBrokerPC:~$
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @AxelF1977 last edited by Thomas Braun

                      @AxelF1977 Das System war ja erfreulich aktuell.
                      Jetzt sollten wir schon mal eine saubere Grundlage haben, dann schauen wir uns jetzt den iobroker an:

                      iobroker status
                      
                      AxelF1977 1 Reply Last reply Reply Quote 1
                      • AxelF1977
                        AxelF1977 @Thomas Braun last edited by

                        @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                        @AxelF1977 Das System war ja erfreulich aktuell.
                        Jetzt sollten wir schon mal eine saubere Grundlage haben, dann schauen wir uns jetzt den iobroker an:

                        iobroker status
                        `
                        

                        ich führe regelmäßig

                        apt-get update && apt-get upgrade
                        

                        aus, in der Hoffnung das System aktuell zu halten

                        @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                        iobroker status

                        gordon@ioBrokerPC:~$ iobroker status
                        iobroker is running on this host.
                        
                        At least one iobroker host is running.
                        
                        Objects type: file
                        States  type: file
                        
                        

                        ``

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

                          @AxelF1977 said in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                          apt-get update && apt-get upgrade

                          Das dann ab sofort so ausführen:

                          sudo apt-get update && sudo apt-get upgrade
                          
                          iobroker version
                          

                          liefert 3.0.20 zurück?

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

                            @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                            @AxelF1977 said in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                            apt-get update && apt-get upgrade

                            Das dann ab sofort so ausführen:

                            sudo apt-get update && sudo apt-get upgrade
                            
                            iobroker version
                            

                            liefert 3.0.20 zurück?

                            Ok, habe mir für die nächste Aktualisierung ein Lesezeichen gesetzt

                            Ja, das System liefert 3.0.20 zurück

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

                              @AxelF1977

                              cd /opt/iobroker
                              

                              Dann

                              iobroker stop
                              iobroker fix
                              
                              AxelF1977 1 Reply Last reply Reply Quote 1
                              • AxelF1977
                                AxelF1977 @Thomas Braun last edited by

                                @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                                iobroker fix

                                gordon@ioBrokerPC:/$ cd /opt/iobroker
                                gordon@ioBrokerPC:/opt/iobroker$ iobroker stop
                                gordon@ioBrokerPC:/opt/iobroker$ iobroker fix
                                library: loaded
                                Library version=2020-04-12
                                
                                ==========================================================================
                                
                                    Welcome to the ioBroker installation fixer!
                                    Script version: 2020-04-12
                                
                                    You might need to enter your password a couple of times.
                                
                                ==========================================================================
                                
                                
                                ==========================================================================
                                    Installing prerequisites (1/3)
                                ==========================================================================
                                
                                OK:1 http://deb.debian.org/debian buster InRelease
                                OK:2 http://deb.debian.org/debian buster-updates InRelease
                                OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                                OK:4 http://security.debian.org/debian-security buster/updates InRelease
                                Paketlisten werden gelesen... Fertig
                                Installed gcc-c++
                                
                                ==========================================================================
                                    Checking ioBroker user and directory permissions (2/3)
                                ==========================================================================
                                
                                Created /etc/sudoers.d/iobroker
                                Fixing directory permissions...
                                
                                ==========================================================================
                                    Checking autostart (3/3)
                                ==========================================================================
                                
                                Enabling autostart...
                                Autostart enabled!
                                
                                ==========================================================================
                                
                                    Your installation was fixed successfully
                                    Run iobroker start to start ioBroker again!
                                
                                ==========================================================================
                                
                                gordon@ioBrokerPC:/opt/iobroker$ iobroker start
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @AxelF1977 last edited by

                                  @AxelF1977
                                  War es das vielleicht schon? Was sagen die skripte nun?

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

                                    @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                                    @AxelF1977
                                    War es das vielleicht schon? Was sagen die skripte nun?

                                    Leider nein, daran hat sich bisher nichts geändert. Die javascript Instanz springt jetzt aber permanent von grün auf rot auf grün usw.

                                    AxelF1977 Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • AxelF1977
                                      AxelF1977 @AxelF1977 last edited by

                                      @AxelF1977 sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                                      @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                                      @AxelF1977
                                      War es das vielleicht schon? Was sagen die skripte nun?

                                      Leider nein, daran hat sich bisher nichts geändert. Die javascript Instanz springt jetzt aber permanent von grün auf rot auf grün usw.

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

                                        @AxelF1977 Backup vom iobroker am Start?
                                        Dann versuchen wir vielleicht mal ein rebuild

                                        iobroker list instances
                                        
                                        AxelF1977 1 Reply Last reply Reply Quote 1
                                        • AxelF1977
                                          AxelF1977 @Thomas Braun last edited by

                                          @Thomas-Braun sagte in Scripte laufen nicht mehr seit Update auf JS-Controler 3.0x:

                                          iobroker list instances

                                          gordon@ioBrokerPC:/opt/iobroker$ iobroker list instances
                                          + system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                            system.adapter.alexa2.0                : alexa2                - disabled
                                          + system.adapter.backitup.0              : backitup              -  enabled
                                            system.adapter.cloud.0                 : cloud                 - disabled
                                            system.adapter.deconz.0                : deconz                - disabled, port: 80
                                          + system.adapter.denon.0                 : denon                 -  enabled
                                          + system.adapter.discovery.0             : discovery             -  enabled
                                            system.adapter.dwd.0                   : dwd                   -  enabled
                                          + system.adapter.enocean.0               : enocean               -  enabled
                                            system.adapter.feiertage.0             : feiertage             -  enabled
                                          + system.adapter.fhem.0                  : fhem                  -  enabled, port: 7072
                                            system.adapter.firetv.0                : firetv                - disabled
                                            system.adapter.flot.0                  : flot                  - disabled
                                          + system.adapter.fullybrowser.0          : fullybrowser          -  enabled
                                          + system.adapter.harmony.0               : harmony               -  enabled
                                            system.adapter.heatingcontrol.0        : heatingcontrol        - disabled
                                          + system.adapter.history.0               : history               -  enabled
                                          + system.adapter.hm-rega.1               : hm-rega               -  enabled
                                          + system.adapter.hm-rpc.1                : hm-rpc                -  enabled, port: 18701
                                          + system.adapter.hm-rpc.2                : hm-rpc                -  enabled, port: 12001
                                          + system.adapter.hm-rpc.3                : hm-rpc                -  enabled, port: 12010
                                            system.adapter.homeconnect.0           : homeconnect           -  enabled
                                          + system.adapter.hue-extended.0          : hue-extended          -  enabled
                                          + system.adapter.hue-extended.1          : hue-extended          -  enabled
                                            system.adapter.hue-extended.2          : hue-extended          - disabled
                                            system.adapter.hue.0                   : hue                   - disabled, port: 80
                                            system.adapter.ical.0                  : ical                  -  enabled
                                            system.adapter.ical.1                  : ical                  -  enabled
                                            system.adapter.ical.2                  : ical                  -  enabled
                                            system.adapter.icons-icons8.0          : icons-icons8          - disabled
                                            system.adapter.icons-material-png.0    : icons-material-png    - disabled
                                            system.adapter.icons-mfd-svg.0         : icons-mfd-svg         - disabled
                                          + system.adapter.info.0                  : info                  -  enabled
                                          + system.adapter.iot.0                   : iot                   -  enabled
                                          + system.adapter.javascript.0            : javascript            -  enabled
                                            system.adapter.kodi.0                  : kodi                  - disabled, port: 9090
                                          + system.adapter.lgtv.0                  : lgtv                  -  enabled
                                            system.adapter.lightify.0              : lightify              - disabled
                                          + system.adapter.mihome-vacuum.0         : mihome-vacuum         -  enabled, port: 54321
                                          + system.adapter.mihome.0                : mihome                -  enabled, port: 9898, bind: 0.0.0.0
                                            system.adapter.mobile.0                : mobile                - disabled
                                          + system.adapter.ping.0                  : ping                  -  enabled
                                            system.adapter.proxy.0                 : proxy                 -  enabled
                                          + system.adapter.pushover.0              : pushover              -  enabled
                                            system.adapter.radar2.0                : radar2                - disabled
                                            system.adapter.rpi2.0                  : rpi2                  - disabled
                                          + system.adapter.scenes.0                : scenes                -  enabled
                                            system.adapter.simple-api.0            : simple-api            -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                                            system.adapter.snmp.0                  : snmp                  - disabled
                                          + system.adapter.socketio.0              : socketio              -  enabled, port: 8084, bind: 192.168.178.46, run as: admin
                                          + system.adapter.sonoff.0                : sonoff                -  enabled, port: 1884, bind: 0.0.0.0
                                          + system.adapter.sourceanalytix.0        : sourceanalytix        -  enabled
                                          + system.adapter.spotify-premium.0       : spotify-premium       -  enabled
                                          + system.adapter.spotify-premium.1       : spotify-premium       -  enabled
                                          + system.adapter.spotify-premium.2       : spotify-premium       -  enabled
                                          + system.adapter.spotify-premium.3       : spotify-premium       -  enabled
                                          + system.adapter.sql.0                   : sql                   -  enabled
                                            system.adapter.statistics.0            : statistics            - disabled
                                          + system.adapter.systeminfo.0            : systeminfo            -  enabled
                                          + system.adapter.telegram.0              : telegram              -  enabled, port: 8443, bind: 0.0.0.0
                                          + system.adapter.terminal.0              : terminal              -  enabled, port: 8088, bind: 0.0.0.0, run as: admin
                                          + system.adapter.tr-064.0                : tr-064                -  enabled
                                          + system.adapter.upnp.0                  : upnp                  -  enabled
                                            system.adapter.virtualpowermeter.0     : virtualpowermeter     - disabled
                                            system.adapter.vis-bars.0              : vis-bars              - disabled
                                            system.adapter.vis-colorpicker.0       : vis-colorpicker       - disabled
                                            system.adapter.vis-history.0           : vis-history           - disabled
                                            system.adapter.vis-hqwidgets.0         : vis-hqwidgets         - disabled
                                            system.adapter.vis-justgage.0          : vis-justgage          - disabled
                                            system.adapter.vis-material.0          : vis-material          - disabled
                                            system.adapter.vis-metro.0             : vis-metro             - disabled
                                            system.adapter.vis-timeandweather.0    : vis-timeandweather    - disabled
                                            system.adapter.vis.0                   : vis                   -  enabled
                                          + system.adapter.web.0                   : web                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                          
                                          + instance is alive
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @AxelF1977 last edited by

                                            @AxelF1977

                                            iobroker rebuild javascript --install
                                            
                                            AxelF1977 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            670
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly javascript javascript adapter js-controler 3.0x skripte update
                                            14
                                            126
                                            8627
                                            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