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

    Scratch Analytics enabled

    Troubleshooting
    2
    29
    330
    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.
    • J
      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)

      jkandasa 1 Reply Last reply Reply Quote 0
      • jkandasa
        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
          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
          
          jkandasa 1 Reply Last reply Reply Quote 0
          • jkandasa
            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
              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
                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 🙂

                jkandasa 1 Reply Last reply Reply Quote 0
                • jkandasa
                  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
                    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
                      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.

                      jkandasa 1 Reply Last reply Reply Quote 0
                      • jkandasa
                        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
                        • jkandasa
                          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
                            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 ?

                            jkandasa 1 Reply Last reply Reply Quote 0
                            • jkandasa
                              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
                                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 ?

                                jkandasa 3 Replies Last reply Reply Quote 0
                                • jkandasa
                                  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
                                  • jkandasa
                                    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
                                      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

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

                                        @jeelet sure, I will make it as soon as possible

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

                                        What is the issue?

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

                                          No, still no automatic notification.
                                          I'll change my mailbox to see, maybe it's my provider.

                                          question:
                                          Is there a place on the forum where you can find the list of Mycontroller versions?

                                          Number and date of arrival

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

                                            @jeelet

                                            Is there a place on the forum where you can find the list of Mycontroller versions?

                                            You may check in docker hub for MyController v2: https://hub.docker.com/r/mycontroller/server/tags

                                            Yet to release the first version of the MyController V2. Till that time you can not see different version numbers

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

                                            0
                                            Online

                                            647
                                            Users

                                            506
                                            Topics

                                            3.3k
                                            Posts

                                            Copyright © 2015-2023 MyController.org | Contributors | Localization