Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. Visualization
    4. Vis does not start (Terminated (NO_ERROR): Without reason)

    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

    Vis does not start (Terminated (NO_ERROR): Without reason)

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @MahMahoritos last edited by liv-in-sky

      @mahmahoritos

      under special circumstances it helps to downgrade to vis version 1.4.0 and restart the server - if it is running after the downgrade make an update to latest version again

      iobroker upgrade iobroker.vis@1.4.0
      

      by the way - you should also try to install the web socket adapter and in the setting of the web adapter choose the web-socket adapter (ws0) for the connection

      M 1 Reply Last reply Reply Quote 0
      • M
        MahMahoritos @liv-in-sky last edited by

        @liv-in-sky said in Vis does not start (Terminated (NO_ERROR): Without reason):

        iobroker.vis@1.4.0

        Tried this, nothing changed. All settings of adapters are default (exept license of vis.0 and link to ws.0 in web.0)
        I never tried to use iobroker commands in CLI before, only in admin webpage, so I read some docs. During installation of custom version of vis I mention in the logs that vis tried to connect redis, but there is no redis instance in the docker image

        host.iobroker
        		2023-01-11 22:37:02.921	info	instance system.adapter.vis.0 terminated while should be started once
        vis.0
        	1453	2023-01-11 22:37:02.376	info	Terminated (NO_ERROR): Without reason
        vis.0
        	1453	2023-01-11 22:37:01.668	info	vis license is OK.
        vis.0
        	1453	2023-01-11 22:37:01.106	info	starting. Version 1.4.0 in /opt/iobroker/node_modules/iobroker.vis, node: v16.19.0, js-controller: 4.0.24
        vis.0
        	1453	2023-01-11 22:37:01.016	debug	States connected to redis: 127.0.0.1:9000
        vis.0
        	1453	2023-01-11 22:37:00.968	debug	States create User PubSub Client
        vis.0
        	1453	2023-01-11 22:37:00.967	debug	States create System PubSub Client
        vis.0
        	1453	2023-01-11 22:37:00.960	debug	Redis States: Use Redis connection: 127.0.0.1:9000
        vis.0
        	1453	2023-01-11 22:37:00.942	debug	Objects connected to redis: 127.0.0.1:9001
        vis.0
        	1453	2023-01-11 22:37:00.896	debug	Objects client initialize lua scripts
        vis.0
        	1453	2023-01-11 22:37:00.871	debug	Objects create User PubSub Client
        vis.0
        	1453	2023-01-11 22:37:00.870	debug	Objects create System PubSub Client
        vis.0
        	1453	2023-01-11 22:37:00.868	debug	Objects client ready ... initialize now
        vis.0
        	1453	2023-01-11 22:37:00.830	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
        admin.0
        	172	2023-01-11 22:34:44.074	info	<== Disconnect system.user.admin from ::ffff:192.168.12.2 web
        

        Is redis required for vis? I didn't found this in any tutorial or docs... May be this is the reason that vis does not start?

        liv-in-sky 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @MahMahoritos last edited by liv-in-sky

          @mahmahoritos

          what is the output of the command:

          iobroker status
          

          what is happening when you open the vis editor with a browser ?did you try it with the address ?
          http://192.168.178.59:8082/vis/edit.html?project#view

          M 1 Reply Last reply Reply Quote 0
          • M
            MahMahoritos @liv-in-sky last edited by

            what is the output of the command:
            iobroker status

            root@iobroker:/opt/iobroker# iobroker status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            root@iobroker:/opt/iobroker#
            

            what is happening when you open the vis editor with a browser ?did you try it with the address ?
            http://192.168.178.59:8082/vis/edit.html?project#view
            My address is http://127.0.0.1:8082/vis/edit.html (I am not at home now, so I connected via ssh tunnel, ports 8081 and 8082 are forwarded)

            Nothing is happening - there is no connection
            64f0f8d8-610e-45ca-8667-6459902274e2-изображение.png

            liv-in-sky 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @MahMahoritos last edited by

              @mahmahoritos I'm sorry - maybe docker and the forwarding is making some trouble - we need somebody else to solve this problem - I don't use iobroker like you 😞

              1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 last edited by

                What is the output of

                 iob list instances
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  MahMahoritos @wendy2702 last edited by

                  What is the output of
                  iob list instances

                  root@iobroker:/opt/iobroker# iob list instances
                  + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                  + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                    system.adapter.devices.0                : devices               : iobroker                                 - disabled
                  + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
                  + system.adapter.ecovacs-deebot.0         : ecovacs-deebot        : iobroker                                 -  enabled
                  + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
                  + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                  + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                  + system.adapter.text2command.0           : text2command          : iobroker                                 -  enabled
                    system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
                  + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                  + system.adapter.ws.0                     : ws                    : iobroker                                 -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                  + system.adapter.zigbee.0                 : zigbee                : iobroker                                 -  enabled, port: /dev/ttyUSB0
                  
                  + instance is alive
                  
                  

                  Also tried to connect to vis (8082 port) from home network - result is the same

                  1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 last edited by

                    @mahmahoritos If you are using a official Docker image, which one?

                    Did you open the Port 8082 to be able to access VIS ?

                    I guess you missed to open the port 8082 at Docker config. Default is only 8081 if I remember correct.

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      MahMahoritos @wendy2702 last edited by

                      @wendy2702

                      I guess you missed to open the port 8082 at Docker config. Default is only 8081 if I remember correct.
                      You are absolutely right! I'm noob...

                      services:
                        iobroker:
                          container_name: iobroker
                          image: buanet/iobroker:latest-v7
                          hostname: iobroker
                          restart: always
                          ports:
                            - "8081:8081"
                          volumes:
                            - iobrokerdata:/opt/iobroker
                          environment:
                            - TZ=Asia/Yekaterinburg
                          devices:
                            - "/dev/ttyUSB0:/dev/ttyUSB0"
                      
                      

                      I added "8082:8082" string and after recreating container demo page started!
                      Thank you a lot!

                      wendy2702 1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @MahMahoritos last edited by

                        @mahmahoritos You are welcome

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        897
                        Online

                        31.8k
                        Users

                        80.0k
                        Topics

                        1.3m
                        Posts

                        3
                        11
                        962
                        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