MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Default Calendar stuck on loading

    Scheduled Pinned Locked Moved Solved Troubleshooting
    55 Posts 2 Posters 12.1k Views 2 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.
    • R Offline
      rushmuzik @sdetweil
      last edited by

      @sdetweil This came after that. Its just stuck here now

      ef7a3303-edcc-4336-ac33-8418416e9605-image.png

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @rushmuzik
        last edited by sdetweil

        @rushmuzik did firefox come up? those messages are from the server side

        but they were initiated by the browser side so some browser started loading the page from the server

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rushmuzik @sdetweil
          last edited by

          @sdetweil Yes, it came up and is running. Everything is working except the calendar. Just stuck at loading…

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @rushmuzik
            last edited by

            @rushmuzik and there should be messages on the server side

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rushmuzik @sdetweil
              last edited by

              @sdetweil Strangly I didnt see any fetch messages for the calendar.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @rushmuzik
                last edited by

                @rushmuzik interesting, can you show messages after
                the point your browser at message

                those would be after the browser loads the web page

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rushmuzik @sdetweil
                  last edited by

                  @sdetweil This is as far as it goes. for some reason I dont get “Create new calendarfetcher for url:”

                  59b898aa-3afd-4ae0-ace3-ebfb0d2b37e1-image.png

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @rushmuzik
                    last edited by

                    @rushmuzik weird

                    can you
                    open the developers window and find the console tab and see if there is an error

                    i don’t know for sure how to do that on firefox. i will check it out in the morning running this way

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      rushmuzik @sdetweil
                      last edited by

                      @sdetweil Definitely appears to be some errors in the console. Its CTRL + SHIFT + I to access it in Firefox

                      efa86a79-46cb-4c0e-bfee-7ade3419c990-image.png

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @rushmuzik
                        last edited by

                        @rushmuzik thanks will review

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @sdetweil
                          last edited by

                          @rushmuzik OK i tested on my desktop ubuntu, and on pi4 with latest PI os (bookworm) 64bit.

                          I do not see that

                          what machine are you on? can u show the startup info section

                          this output comes after Launching application

                          [2024-12-19 08:19:24.759] [INFO]  System information:
                          ### SYSTEM:   manufacturer: ; model: ; virtual: false
                          ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.51+rpt-rpi-v8
                          ### VERSIONS: electron: 31.7.3; used node: 20.18.0; installed node: 20.9.0; npm: 10.1.0; pm2: 5.4.2
                          ### OTHER:    timeZone: America/Chicago; ELECTRON_ENABLE_GPU: undefined 
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          S R 2 Replies Last reply Reply Quote 0
                          • S Offline
                            sdetweil @sdetweil
                            last edited by

                            @rushmuzik

                            given the error you showed, can you try list change

                            edit MagicMirror/js/server.js
                            and down at the bottom

                            	this.close = function () {
                            		return new Promise((resolve) => {
                            			for (const socket of serverSockets.values()) {
                            				socket.close();   //<--- add this line
                            				socket.destroy();
                            			}
                            

                            save and restart MagicMirror

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rushmuzik @sdetweil
                              last edited by

                              @sdetweil This is what I’m using. with Firefox ESR as the browser because Chromium and regular firefox are no longer supported on a Pi zero. Also, I’m using an API to connect to my Tempest weather station and that works fine. In addition all the other default modules work as they should except for calendar.

                              61145a8e-5cc5-4de2-9b7b-c44b41c61d4c-image.png

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @rushmuzik
                                last edited by

                                @rushmuzik pi zero. ok… let me set that up

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                R 1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rushmuzik @sdetweil
                                  last edited by

                                  @sdetweil These are the steps I followed to set it up

                                  https://www.davidgagne.net/2024/05/30/how-to-get-magicmirror-to-run-on-a-raspberry-pi-zero-w-rev-1-1/

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @rushmuzik
                                    last edited by sdetweil

                                    @rushmuzik ok, but because you said yes on step 2 to pm2
                                    you don’t need step 8 as it causes a duplicate app definition, which will cause TWO to start

                                    pm2 status 
                                    

                                    will show you the apps defined

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    R 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rushmuzik @sdetweil
                                      last edited by

                                      @sdetweil How do I fix that? Is there a way to undo? This is what I see in pm2 status

                                      7cda06a1-49e5-4b63-9f20-7bae8e346f58-image.png

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @rushmuzik
                                        last edited by

                                        @rushmuzik you only have 1, so no issue…

                                        pm2 --help

                                        has lots of options

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        R 1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          rushmuzik @sdetweil
                                          last edited by

                                          @sdetweil ok. Where would you suggest I go from here? COuld it be the Firefox ESR causing the issue?

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @rushmuzik
                                            last edited by

                                            @rushmuzik I don’t know yet… I posted a potential fix for you to try, based on the error shown

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            R 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy