• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-MyCalendar install problem

Scheduled Pinned Locked Moved Solved Troubleshooting
9 Posts 3 Posters 539 Views 3 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.
  • F Offline
    Freddy_boy
    last edited by May 3, 2024, 7:14 PM

    Not sure what happened here… You indicate that this issue is solved…? I still don’t have a calendar yet. MM launches now, but I only have an indication that the calendar is “Loading…” but it never appears.

    S 1 Reply Last reply May 3, 2024, 7:59 PM Reply Quote 0
    • S Offline
      sdetweil @Freddy_boy
      last edited by May 3, 2024, 7:59 PM

      @Freddy_boy ok, I guessed it was solved…

      so, look at the messages where you start MM

      if pm2, then

      pm2 logs --lines=xxx
      where xxx is some number, default 15
      you might need 100

      always best when adding/changing NOT to use pm2

      pm2 stop all
      cd ~/MagicMirror
      npm start 
      

      then u can see the messages immediately

      when u get it all working then
      pm2 status
      and then pm2 start x
      where x is the name or number on the row of the managed app you want to start

      pm2 --help will show you all the command options
      this is a typical scenario for all linux command line commands --help shows the help
      and most times
      man command_name
      will show you the user manual
      q, quits the manual display

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • F Offline
        Freddy_boy
        last edited by May 3, 2024, 8:08 PM

        I don’t believe that I am using pm2. Here are the logs when MM starts:

        magicmirror@2.27.0 start
        DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

        [2024-05-03 16:04:55.886] [LOG] Starting MagicMirror: v2.27.0
        [2024-05-03 16:04:55.935] [LOG] Loading config …
        [2024-05-03 16:04:55.938] [LOG] config template file not exists, no envsubst
        [2024-05-03 16:04:55.957] [LOG] Loading module helpers …
        [2024-05-03 16:04:55.958] [LOG] No helper found for module: alert.
        [2024-05-03 16:04:56.237] [LOG] Initializing new module helper …
        [2024-05-03 16:04:56.239] [LOG] Module helper loaded: updatenotification
        [2024-05-03 16:04:56.240] [LOG] No helper found for module: clock.
        [2024-05-03 16:04:56.402] [LOG] Initializing new module helper …
        [2024-05-03 16:04:56.403] [LOG] Module helper loaded: MMM-MyCalendar
        [2024-05-03 16:04:56.403] [LOG] No helper found for module: calendar_monthly.
        [2024-05-03 16:04:56.414] [LOG] Initializing new module helper …
        [2024-05-03 16:04:56.414] [LOG] Module helper loaded: MMM-Pir
        [2024-05-03 16:04:56.462] [LOG] Initializing new module helper …
        [2024-05-03 16:04:56.462] [LOG] Module helper loaded: MMM-Weather
        [2024-05-03 16:04:56.543] [LOG] Initializing new module helper …
        [2024-05-03 16:04:56.544] [LOG] Module helper loaded: MMM-Tools
        [2024-05-03 16:04:56.673] [LOG] Initializing new module helper …
        [2024-05-03 16:04:56.674] [LOG] Module helper loaded: newsfeed
        [2024-05-03 16:04:56.674] [LOG] All module helpers loaded.
        [2024-05-03 16:04:56.685] [LOG] Starting server on port 8080 …
        [2024-05-03 16:04:58.244] [LOG] Server started …
        [2024-05-03 16:04:58.247] [LOG] Connecting socket for: updatenotification
        [2024-05-03 16:04:58.248] [LOG] Starting module helper: updatenotification
        [2024-05-03 16:04:58.250] [LOG] Connecting socket for: MMM-MyCalendar
        [2024-05-03 16:04:58.261] [LOG] Starting node helper for: MMM-MyCalendar
        [2024-05-03 16:04:58.262] [LOG] Connecting socket for: MMM-Pir
        [2024-05-03 16:04:58.264] [LOG] Connecting socket for: MMM-Weather
        [2024-05-03 16:04:58.272] [LOG] Connecting socket for: MMM-Tools
        [2024-05-03 16:04:58.284] [LOG] [Tools] MMM-Tools Version: 2.1.7
        [2024-05-03 16:04:58.286] [LOG] Connecting socket for: newsfeed
        [2024-05-03 16:04:58.287] [LOG] Starting node helper for: newsfeed
        [2024-05-03 16:04:58.288] [LOG] Sockets connected & modules started …
        WARNING: v3dv is neither a complete nor a conformant Vulkan implementation. Testing use only.
        [2024-05-03 16:04:58.891] [LOG] Launching application.
        [2024-05-03 16:05:02.661] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/39/Canada_Holidays.ics - Interval: 300000
        [2024-05-03 16:05:02.668] [ERROR] Whoops! There was an uncaught exception…
        [2024-05-03 16:05:02.677] [ERROR] ReferenceError: fetcher is not defined
        at fetchCalendar (/home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js:65:3)
        at CalendarFetcher.startFetch (/home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js:110:3)
        at Class.createFetcher (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:73:11)
        at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:21:9)
        at Socket. (/home/pi/MagicMirror/js/node_helper.js:98:11)
        at Socket.emit (node:events:514:28)
        at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
        at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:704:39
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
        [2024-05-03 16:05:02.680] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [2024-05-03 16:05:02.684] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
        [2024-05-03 16:05:02.686] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/5u47rliikveghncls65jrsotkc%40group.calendar.google.com/private-7c6a117f2ae0d357b447c735373245a2/basic.ics - Interval: 300000
        [2024-05-03 16:05:02.688] [ERROR] Whoops! There was an uncaught exception…
        [2024-05-03 16:05:02.689] [ERROR] ReferenceError: fetcher is not defined
        at fetchCalendar (/home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js:65:3)
        at CalendarFetcher.startFetch (/home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js:110:3)
        at Class.createFetcher (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:73:11)
        at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:21:9)
        at Socket. (/home/pi/MagicMirror/js/node_helper.js:98:11)
        at Socket.emit (node:events:514:28)
        at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
        at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:704:39
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
        [2024-05-03 16:05:02.690] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [2024-05-03 16:05:02.690] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
        [2024-05-03 16:05:02.790] [LOG] Create new newsfetcher for url: https://rss.cbc.ca/lineup/canada.xml - Interval: 300000
        [2024-05-03 16:05:03.039] [LOG] Create new newsfetcher for url: https://rss.cbc.ca/lineup/canada-toronto.xml - Interval: 300000
        [2024-05-03 16:05:03.052] [LOG] Create new newsfetcher for url: https://rss.cbc.ca/lineup/sports-nhl.xml - Interval: 300000
        [2024-05-03 16:05:03.071] [LOG] [WEATHER] MMM-WEATHER Version: 1.0.6
        [2024-05-03 16:05:03.112] [LOG] [MMM-Pir] Version: 1.5.1 rev: 240402
        [2024-05-03 16:05:03.114] [LOG] [MMM-Pir] [LIB] [PIR] Mode 0 Selected (onoff library)
        [2024-05-03 16:05:03.168] [LOG] [MMM-Pir] [LIB] [PIR] Started!
        [2024-05-03 16:05:03.172] [LOG] [MMM-Pir] [LIB] [SCREEN] Mode 4: HDMI CEC
        [2024-05-03 16:05:03.228] [LOG] [MMM-Pir] Started!
        [2024-05-03 16:05:03.231] [INFO] updatenotification: Updater Class Loaded!
        [2024-05-03 16:05:03.233] [INFO] updatenotification: Checking PM2 using…
        [2024-05-03 16:05:03.239] [INFO] Checking git for module: MMM-MyCalendar
        [2024-05-03 16:05:03.375] [INFO] Checking git for module: calendar_monthly
        [2024-05-03 16:05:03.478] [INFO] System information:

        SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.4; raspberry: [object Object]; virtual: false

        OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 5.10.103-v7l+

        VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 20.4.0; npm: 9.8.1; pm2: 5.3.1

        OTHER: timeZone: America/Toronto; ELECTRON_ENABLE_GPU: undefined

        [2024-05-03 16:05:03.529] [INFO] Checking git for module: MMM-Pir
        [2024-05-03 16:05:03.687] [INFO] updatenotification: [PM2] You are not using pm2
        [2024-05-03 16:05:04.116] [INFO] Checking git for module: MMM-Weather
        [2024-05-03 16:05:04.566] [INFO] Checking git for module: MMM-Tools
        [2024-05-03 16:05:04.708] [INFO] Newsfeed-Fetcher: Broadcasting 18 items.
        [2024-05-03 16:05:04.809] [INFO] Checking git for module: MagicMirror
        [2024-05-03 16:05:04.861] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
        [2024-05-03 16:05:04.874] [INFO] Newsfeed-Fetcher: Broadcasting 19 items.
        [2024-05-03 16:05:14.810] [LOG] Shutting down server…
        [2024-05-03 16:05:14.812] [LOG] Stopping module helper: updatenotification
        [2024-05-03 16:05:14.813] [LOG] Stopping module helper: MMM-MyCalendar
        [2024-05-03 16:05:14.813] [LOG] Stopping module helper: MMM-Pir
        [2024-05-03 16:05:14.814] [LOG] Stopping module helper: MMM-Weather
        [2024-05-03 16:05:14.814] [LOG] Stopping module helper: MMM-Tools
        [2024-05-03 16:05:14.815] [LOG] Stopping module helper: newsfeed
        [2024-05-03 16:05:14.816] [LOG] Node_helpers stopped …
        [2024-05-03 16:05:14.891] [LOG] [MMM-Pir] [LIB] [SCREEN] See you soon !
        [2024-05-03 16:05:14.893] [LOG] [MMM-Pir] [LIB] [SCREEN] @bugsounet

        S B 2 Replies Last reply May 3, 2024, 8:15 PM Reply Quote 0
        • S Offline
          sdetweil @Freddy_boy
          last edited by May 3, 2024, 8:15 PM

          @Freddy_boy said in MMM-MyCalendar install problem:

          [2024-05-03 16:05:02.668] [ERROR] Whoops! There was an uncaught exception…
          [2024-05-03 16:05:02.677] [ERROR] ReferenceError: fetcher is not defined
          at fetchCalendar (/home/pi/MagicMirror/modules/MMM-MyCalendar

          yep

          you didn’t get all the change from the linked issue

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • F Offline
            Freddy_boy
            last edited by May 3, 2024, 8:20 PM

            Ah, yes. That was it. Instead of manually making the changes, I just copied the entire code and pasted. Seems to work now. Thanks!

            1 Reply Last reply Reply Quote 0
            • B Offline
              bugsounet Banned @Freddy_boy
              last edited by May 3, 2024, 8:31 PM

              @Freddy_boy said in MMM-MyCalendar install problem:

              [2024-05-03 16:05:14.891] [LOG] [MMM-Pir] [LIB] [SCREEN] See you soon !
              [2024-05-03 16:05:14.893] [LOG] [MMM-Pir] [LIB] [SCREEN] @bugsounet

              Really… I have to delete this…

              In all case, I’m happy that’s resolved.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                8/9
                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