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

Scratch Analytics enabled

Scheduled Pinned Locked Moved Troubleshooting
29 Posts 2 Posters 5.9k 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.
  • J Offline
    JeeLet
    last edited by 6 Apr 2022, 08:01

    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)

    J 1 Reply Last reply 6 Apr 2022, 10:55 Reply Quote 0
    • J Offline
      jkandasa @JeeLet
      last edited by 6 Apr 2022, 10:55

      @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 4 Jun 2022, 17:03 6 Apr 2022, 11:31

        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
        
        J 1 Reply Last reply 6 Apr 2022, 12:10 Reply Quote 0
        • J Offline
          jkandasa @JeeLet
          last edited by jkandasa 4 Jun 2022, 17:41 6 Apr 2022, 12:10

          @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 7 Apr 2022, 06:55

            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 27 Apr 2022, 11:49

              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 🙂

              J 1 Reply Last reply 27 Apr 2022, 12:23 Reply Quote 0
              • J Offline
                jkandasa @JeeLet
                last edited by 27 Apr 2022, 12:23

                @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 27 Apr 2022, 13:26

                  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 27 Apr 2022, 15:10 Reply Quote 0
                  • J Offline
                    JeeLet @JeeLet
                    last edited by 27 Apr 2022, 15:10

                    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.

                    J 1 Reply Last reply 27 Apr 2022, 16:22 Reply Quote 0
                    • J Offline
                      jkandasa @JeeLet
                      last edited by 27 Apr 2022, 16:22

                      @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
                      • J Offline
                        jkandasa
                        last edited by 27 Apr 2022, 18:03

                        @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 27 Apr 2022, 19:58

                          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 ?

                          J 1 Reply Last reply 28 Apr 2022, 00:14 Reply Quote 0
                          • J Offline
                            jkandasa @JeeLet
                            last edited by 28 Apr 2022, 00:14

                            @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 28 Apr 2022, 12:49

                              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 ?

                              J 3 Replies Last reply 29 Apr 2022, 03:20 Reply Quote 0
                              • J Offline
                                jkandasa @JeeLet
                                last edited by 29 Apr 2022, 03:20

                                @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 29 Apr 2022, 12:26

                                  @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 29 Apr 2022, 16:32

                                    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 1 May 2022, 13:56 Reply Quote 0
                                    • jkandasaJ Offline
                                      jkandasa @JeeLet
                                      last edited by 1 May 2022, 13:56

                                      @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 Offline
                                        JeeLet
                                        last edited by JeeLet 5 Jan 2022, 22:36 1 May 2022, 17:01

                                        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

                                        jkandasaJ 1 Reply Last reply 2 May 2022, 08:30 Reply Quote 0
                                        • jkandasaJ Offline
                                          jkandasa @JeeLet
                                          last edited by 2 May 2022, 08:30

                                          @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

                                          623

                                          Users

                                          531

                                          Topics

                                          3.4k

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