• 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.

install upgrade scripts changed for version 2.25 and node 20

Scheduled Pinned Locked Moved Unsolved Troubleshooting
35 Posts 4 Posters 8.7k Views 4 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.
  • S Away
    sdetweil @Jonae
    last edited by Oct 11, 2023, 8:41 PM

    @Jonae could u email me the ~/install.log
    same userid at gmail

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S Away
      sdetweil @Jonae
      last edited by Oct 12, 2023, 12:26 AM

      @Jonae can u try the install script again…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        bdream
        last edited by Oct 12, 2023, 9:49 AM

        Here is my somefile.txt

        > magicmirror@2.25.0 start
        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
        
        [12.10.2023 09:50.23.491] [LOG]   Starting MagicMirror: v2.25.0
        [12.10.2023 09:50.23.502] [LOG]   Loading config ...
        [12.10.2023 09:50.23.510] [DEBUG] config template file not exists, no envsubst
        [12.10.2023 09:50.23.544] [LOG]   Loading module helpers ...
        [12.10.2023 09:50.23.705] [LOG]   Initializing new module helper ...
        [12.10.2023 09:50.23.707] [LOG]   Module helper loaded: MMM-ServerStatus
        [12.10.2023 09:50.23.715] [LOG]   Initializing new module helper ...
        [12.10.2023 09:50.23.716] [LOG]   Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.25.0
        [12.10.2023 09:50.23.719] [LOG]   Version is ok!
        [12.10.2023 09:50.23.720] [LOG]   Module helper loaded: MMM-Fuel
        [12.10.2023 09:50.23.735] [LOG]   No helper found for module: alert.
        [12.10.2023 09:50.23.748] [LOG]   Initializing new module helper ...
        [12.10.2023 09:50.23.748] [LOG]   Module helper loaded: updatenotification
        [12.10.2023 09:50.23.751] [LOG]   No helper found for module: MMM-bernwordclock.
        [12.10.2023 09:50.23.753] [LOG]   No helper found for module: MMM-Carousel.
        [12.10.2023 09:50.23.756] [LOG]   No helper found for module: clock.
        [12.10.2023 09:50.23.770] [LOG]   No helper found for module: MMM-WeatherChart.
        [12.10.2023 09:50.24.376] [LOG]   Initializing new module helper ...
        [12.10.2023 09:50.24.377] [LOG]   Module helper loaded: calendar
        [12.10.2023 09:50.25.685] [LOG]   Initializing new module helper ...
        [12.10.2023 09:50.25.686] [LOG]   Module helper loaded: MMM-Todoist
        [12.10.2023 09:50.25.689] [LOG]   No helper found for module: weather.
        [12.10.2023 09:50.25.781] [LOG]   Initializing new module helper ...
        [12.10.2023 09:50.25.782] [LOG]   Module helper loaded: MMM-PublicTransportHafas
        [12.10.2023 09:50.25.782] [LOG]   All module helpers loaded.
        [12.10.2023 09:50.25.803] [LOG]   Starting server on port 3336 ... 
        [12.10.2023 09:50.25.825] [WARN]  You're using a full whitelist configuration to allow for all IPs
        [12.10.2023 09:50.25.868] [LOG]   Server started ...
        [12.10.2023 09:50.25.870] [LOG]   Connecting socket for: MMM-ServerStatus
        [12.10.2023 09:50.25.871] [LOG]   Ping helper started; waiting for requests...
        [12.10.2023 09:50.25.872] [LOG]   Connecting socket for: MMM-Fuel
        [12.10.2023 09:50.25.873] [LOG]   Starting module helper: MMM-Fuel
        [12.10.2023 09:50.25.874] [LOG]   Connecting socket for: updatenotification
        [12.10.2023 09:50.25.875] [LOG]   Starting module helper: updatenotification
        [12.10.2023 09:50.25.875] [LOG]   Connecting socket for: calendar
        [12.10.2023 09:50.25.876] [LOG]   Starting node helper for: calendar
        [12.10.2023 09:50.25.877] [LOG]   Connecting socket for: MMM-Todoist
        [12.10.2023 09:50.25.878] [LOG]   Starting node helper for: MMM-Todoist
        [12.10.2023 09:50.25.878] [LOG]   Connecting socket for: MMM-PublicTransportHafas
        [12.10.2023 09:50.25.879] [LOG]   Sockets connected & modules started ...
        [12.10.2023 09:50.27.599] [LOG]   Launching application.
        [29556:1012/095028.951245:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
        [29601:1012/095030.501129:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
        [12.10.2023 09:50.39.404] [LOG]   Create new calendarfetcher for url: https://<link> - Interval: 120000
        [12.10.2023 09:50.39.795] [ERROR] Calendar Error. Could not fetch calendar:  https://<link> TypeError: Request cannot be constructed from a URL that includes credentials: https://<link>
            at Object.fetch (node:internal/deps/undici/undici:11457:11)
            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        [12.10.2023 09:50.39.816] [LOG]   Create new calendarfetcher for url: https://<link> - Interval: 120000
        [12.10.2023 09:50.39.822] [ERROR] Calendar Error. Could not fetch calendar:  https://<link> TypeError: Request cannot be constructed from a URL that includes credentials: https://<link>
            at Object.fetch (node:internal/deps/undici/undici:11457:11)
            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        [12.10.2023 09:50.41.499] [LOG]   Create new calendarfetcher for url: https://www.schulferien.eu/downloads/ical4.php?land=HE&type=0&year=2022 - Interval: 120000
        [12.10.2023 09:50.41.520] [LOG]   Create new calendarfetcher for url: https://www.schulferien.eu/downloads/ical4.php?land=8&type=1&year=2022 - Interval: 120000
        [12.10.2023 09:50.41.650] [INFO]  Checking git for module: MMM-ServerStatus
        [12.10.2023 09:50.42.329] [INFO]  Calendar-Fetcher: Broadcasting 0 events from https://www.schulferien.eu/downloads/ical4.php?land=HE&type=0&year=2022.
        [12.10.2023 09:50.42.378] [INFO]  Calendar-Fetcher: Broadcasting 0 events from https://www.schulferien.eu/downloads/ical4.php?land=8&type=1&year=2022.
        [12.10.2023 09:50.42.566] [INFO]  Checking git for module: MMM-bernwordclock
        [12.10.2023 09:50.42.820] [INFO]  Checking git for module: MMM-Carousel
        /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
        

        –
        cheers, bdream

        S 1 Reply Last reply Oct 12, 2023, 11:45 AM Reply Quote 0
        • S Away
          sdetweil @bdream
          last edited by Oct 12, 2023, 11:45 AM

          @bdream said in install upgrade scripts changed for version 2.25 and node 20:

          12.10.2023 09:50.39.795] [ERROR] Calendar Error. Could not fetch calendar: https:// TypeError: Request cannot be constructed from a URL that includes credentials: https://
          at Object.fetch (node:internal/deps/undici/undici:11457:11)
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

          that looks like the problem.

          note that we removed digest fetch in this release.
          I would disable the calendar module as a test to see if that fixes the problem.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            bdream
            last edited by Oct 12, 2023, 1:11 PM

            @sdetweil as I made

            pm2 stop all
            cd ~/MagicMirror
            npm start >./somefile.txt 2>&1
            

            it worked fine until CTRL + C

            Yes the problem with the calendar is next I need help to fix. For now I wonder how to get MM starting after reboot again?

            –
            cheers, bdream

            S 1 Reply Last reply Oct 12, 2023, 1:21 PM Reply Quote 0
            • S Away
              sdetweil @bdream
              last edited by sdetweil Nov 26, 2023, 3:27 PM Oct 12, 2023, 1:21 PM

              @bdream

              pm2 start all
              pm2 save
              

              and

              sudo reboot
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                bdream
                last edited by Oct 12, 2023, 2:01 PM

                @sdetweil yeah, now it works again :grinning_face:

                What does it “note that we removed digest fetch in this release.” mean?
                Is it I cant get calendar from nextcloud via webdav?

                –
                cheers, bdream

                S 1 Reply Last reply Oct 12, 2023, 2:04 PM Reply Quote 0
                • S Away
                  sdetweil @bdream
                  last edited by Oct 12, 2023, 2:04 PM

                  @bdream said in install upgrade scripts changed for version 2.25 and node 20:

                  @sdetweil yeah, now it works again
                  What does it “note that we removed digest fetch in this release.” mean?

                  we removed the code in the calendar module that does this type of authentication…

                  https://en.wikipedia.org/wiki/Digest_access_authentication

                  I personally don’t know the difference in the config or in using nextcloud…

                  maybe someone else can chime in here

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bdream
                    last edited by Oct 12, 2023, 2:14 PM

                    @sdetweil thanks!!!
                    Will see how to solve the calendar issue.

                    –
                    cheers, bdream

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 4
                    • 2 / 4
                    2 / 4
                    • First post
                      31/35
                      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