• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Scratch Analytics enabled

    Scheduled Pinned Locked Moved Troubleshooting
    29 Posts 2 Posters 2.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jkandasaJ Offline
      jkandasa @JeeLet
      last edited by

      @jeelet Thanks to report this issue.
      I will work on this soon
      https://github.com/mycontroller-org/server/issues/11

      1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @JeeLet
        last edited by

        @jeelet fixed and rebuild

        1 Reply Last reply Reply Quote 0
        • J Offline
          JeeLet
          last edited by JeeLet

          fast as lightning 🙂

          I will test at the next update.

          1 Reply Last reply Reply Quote 0
          • J Offline
            JeeLet
            last edited by

            a return after this upgrade

            the problem of MyC shutdown is still there
            with : "analytics: / enabled: true"

            2022-04-05T20:45:50.251+0200    info    settings/update_geo_location.go:78      location data to be updated     {"location": {"autoUpdate":true,"locationName":"Paris"$
            panic: runtime error: invalid memory address or nil pointer dereference
            [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xb131ec]
            
            goroutine 26549 [running]:
            github.com/mycontroller-org/server/v2/pkg/utils/http_client_json.(*ResponseConfig).StringBody(...)
                    /home/runner/work/server/server/pkg/utils/http_client_json/client.go:31
            github.com/mycontroller-org/server/v2/pkg/analytics.ReportAnalyticsData()
                    /home/runner/work/server/server/pkg/analytics/mycontroller.go:114 +0xaac
            github.com/robfig/cron/v3.FuncJob.Run(0x40000a7310?)
                    /home/runner/go/pkg/mod/github.com/robfig/cron/v3@v3.0.2-0.20210106135023-bc59245fe10e/cron.go:136 +0x28
            github.com/robfig/cron/v3.(*Cron).startJob.func1()
                    /home/runner/go/pkg/mod/github.com/robfig/cron/v3@v3.0.2-0.20210106135023-bc59245fe10e/cron.go:312 +0x64
            created by github.com/robfig/cron/v3.(*Cron).startJob
                    /home/runner/go/pkg/mod/github.com/robfig/cron/v3@v3.0.2-0.20210106135023-bc59245fe10e/cron.go:310 +0xb4
            #=========================================================================
            # Restart 
            #=========================================================================
            2022-04-06T09:32:50.875+0200    info    logger/load.go:15       welcome to the MyController world :)
            2022-04-06T09:32:50.877+0200    info    mcbus/client.go:48      bus service paused
            

            I will test to see with the router off.
            is the hub/switch that stays on.
            maybe the Odroid C2 card ?

            (already with JeeDom the same problem)

            jkandasaJ 1 Reply Last reply Reply Quote 0
            • jkandasaJ Offline
              jkandasa @JeeLet
              last edited by

              @jeelet looks like you are in old version, can you check the version details in GUI?

              1 Reply Last reply Reply Quote 0
              • J Offline
                JeeLet
                last edited by JeeLet

                Server
                Host ID : 91ffb52xxx
                Version : master
                Git Commit : 839118ff5xx
                Build Date : 2022-04-04T11:31:36+00:00
                GoLang Version : go1.18 (linux, arm64)
                Web Console
                Version : master
                Git Commit : xxxbd0c44896dd
                Build Date ; 2022-04-04T11:29:47+00:00
                React Version : 17.0.2
                
                jkandasaJ 1 Reply Last reply Reply Quote 0
                • jkandasaJ Offline
                  jkandasa @JeeLet
                  last edited by jkandasa

                  @jeelet my bad, I didn't fix it properly
                  I believe I have fixed it correctly now, kindly update to the latest version and verify it tonight
                  Thanks!

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JeeLet
                    last edited by

                    Hello

                    the problem is solved, Mycontroller did not stop.

                    Impecable 👍

                    Thank you for the information, for the sckect with V_STATUS on the forum of MySensors.
                    I give you more work than I help you.

                    Have a nice day.
                    .... go on I continue 🙂

                    1 Reply Last reply Reply Quote 1
                    • J Offline
                      JeeLet
                      last edited by JeeLet

                      not sure if this is the right place to post, but still create a new thread it might be a lot
                      tell me what to do
                      ???? ;(

                      Hello jkandasa
                      Finally a nice scratch of MyController, Finally it was time.

                      Explanation:
                      after playing with adding and removing new gateway and node
                      (usb1 usb2 usb3 ...ectc)

                      a blocking of MyC happened
                      Image:https://nsm09.casimages.com/img/2022/04/27//22042702002423870817878495.png
                      the solution to get back in control is to quit the browser and reopen a new one.

                      But now it is impossible to delete the elements that existed
                      ( GW Node Fields ...)

                      the total restart of the system does not give anything
                      how to make MyS find the Reason 🙂

                      jkandasaJ 1 Reply Last reply Reply Quote 0
                      • jkandasaJ Offline
                        jkandasa @JeeLet
                        last edited by

                        @jeelet when do you face this issue? loading of the Resource >> Sources page? or clicking on a link in Resource >> Sources page?

                        I have a created a GitHub issue to track this: https://github.com/mycontroller-org/server/issues/12

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          JeeLet
                          last edited by

                          https://v1.casimages.com/v/2022/04/27//ydIJNb-MyC-Danger-alertTypeError-2022-04-27.mkv

                          physically nothing is connected to my controller anymore

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            JeeLet @JeeLet
                            last edited by

                            it's good I could finally delete the old entries (Resources)

                            I had to reconnect a usb gateway for the action to take effect.

                            morality: delete the entries of the resources before disconnecting the gateway.

                            jkandasaJ 1 Reply Last reply Reply Quote 0
                            • jkandasaJ Offline
                              jkandasa @JeeLet
                              last edited by

                              @jeelet We have to fix it. If we delete a gateway, all nodes, sources, fields belongs to the gateway should be removed

                              1 Reply Last reply Reply Quote 0
                              • jkandasaJ Offline
                                jkandasa
                                last edited by

                                @JeeLet I have added fix to delete dependent resources. the existing missing resources should be deleted manually. Fix is available in the most recent build.

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  JeeLet
                                  last edited by

                                  yes, thank you

                                  I start again on a new version/base of MyC.

                                  I delete the mycontroller directory in /opt/apps/

                                  there is nothing hidden elsewhere ???

                                  I leave with a blank database ?? is that it ?

                                  jkandasaJ 1 Reply Last reply Reply Quote 0
                                  • jkandasaJ Offline
                                    jkandasa @JeeLet
                                    last edited by

                                    @jeelet your mycontroller.yaml file has all the details
                                    example:

                                    directories:
                                      data: ...
                                      logs: ...
                                      tmp: ...
                                      secure_share: ...
                                      insecure_share: ...
                                    

                                    But you do not have to delete everything. You can delete the Nodes, Sources, and Fields manually from the UI.

                                    another workaround: Just create a Gateway with the same name and delete the gateway. It is recommended to disable the gateway then delete it. In your case: GWusb0.

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      JeeLet
                                      last edited by

                                      yes to delete yaml files in
                                      it's good, MyC is all clean 🙂

                                      for influxDB nothing to delete ?

                                      a question of cosmetic:
                                      how to fade the background of the main page of MyC
                                      the white color starts to hurt my eyes.
                                      and I can't see the widgets frame
                                      a value in a css file to modify ?

                                      jkandasaJ 3 Replies Last reply Reply Quote 0
                                      • jkandasaJ Offline
                                        jkandasa @JeeLet
                                        last edited by

                                        @jeelet

                                        for influxDB nothing to delete ?

                                        for now MyController v2 will not touch influx db for deletion, you have to do it manually.

                                        a question of cosmetic:
                                        how to fade the background of the main page of MyC
                                        the white color starts to hurt my eyes.
                                        and I can't see the widgets frame
                                        a value in a css file to modify ?

                                        You can not modify it permanently. I will try to provide an option for that in the future build.

                                        1 Reply Last reply Reply Quote 0
                                        • jkandasaJ Offline
                                          jkandasa @JeeLet
                                          last edited by jkandasa

                                          @jeelet to support multiple themes, I have created GH issue. https://github.com/mycontroller-org/console-web/issues/10
                                          I will implement those, when i get time

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            JeeLet
                                            last edited by

                                            Hello

                                            • my automatic notification of the forum has trouble, I change my settings to see ;(

                                            yes the taking into account of the themes is important, the packaging of the product is important.
                                            But my request is more for a visual comfort, I spend important hours on MyController 🙂

                                            Thanks

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

                                            0

                                            Online

                                            586

                                            Users

                                            529

                                            Topics

                                            3.4k

                                            Posts
                                            Copyright © 2015-2025 MyController.org | Contributors | Localization