MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Richard238
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 33
    • Posts 233
    • Groups 0

    Posts

    Recent Best Controversial
    • Updating did nothing but gave fatal error warning.

      MM reports being 119 commits behind. OK!
      Went to https://docs.magicmirror.builders/getting-started/upgrade-guide.html
      Did the suggested backups OK
      Went to :~/MagicMirror $ entered git pull && npm install --only=prod --omit=dev

      Got this: fatal: Unable to read current working directory: No such file or directory

      Looked at sdetweil’s script, not sure from the instructions if it need to be
      run from :~/MagicMirror $ or elsewhere?

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      renamed MM to MM.JAN22

      renamed MM.save to MM

      All good, thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      That’s working good too.

      Do I keep MM, or MM.save?

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      That’s given a very basic, but working MM

      pi@magicmirror:~ $ cd ~/MagicMirror.save
      pi@magicmirror:~/MagicMirror.save $ git checkout package.json
      pi@magicmirror:~/MagicMirror.save $ rm -rf node_modules
      pi@magicmirror:~/MagicMirror.save $ rm package.lock.json
      rm: cannot remove 'package.lock.json': No such file or directory
      pi@magicmirror:~/MagicMirror.save $ npm install --only=prod
      
      > magicmirror@2.18.0 install
      > echo "Installing vendor files ...
      > " && cd vendor && npm install --loglevel=error
      
      Installing vendor files ...
      
      
      up to date, audited 10 packages in 4s
      
      found 0 vulnerabilities
      
      > magicmirror@2.18.0 postinstall
      > npm run install-fonts && echo "MagicMirror installation finished successfully! 
      > "
      
      
      > magicmirror@2.18.0 install-fonts
      > echo "Installing fonts ...
      > " && cd fonts && npm install --loglevel=error
      
      Installing fonts ...
      
      
      up to date, audited 2 packages in 3s
      
      found 0 vulnerabilities
      MagicMirror installation finished successfully! 
      
      
      > magicmirror@2.18.0 prepare
      > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
      
      no husky installed.
      
      added 266 packages, and audited 267 packages in 2m
      
      19 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      pi@magicmirror:~/MagicMirror.save $ npm start
      
      > magicmirror@2.18.0 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [07.01.2022 14:15.55.560] [LOG]   Starting MagicMirror: v2.18.0
      [07.01.2022 14:15.55.585] [LOG]   Loading config ...
      [07.01.2022 14:15.55.607] [LOG]   Loading module helpers ...
      [07.01.2022 14:15.55.617] [LOG]   No helper found for module: alert.
      [07.01.2022 14:15.55.675] [LOG]   Initializing new module helper ...
      [07.01.2022 14:15.55.679] [LOG]   Module helper loaded: updatenotification
      [07.01.2022 14:15.55.683] [LOG]   No helper found for module: clock.
      [07.01.2022 14:15.56.139] [LOG]   Initializing new module helper ...
      [07.01.2022 14:15.56.141] [LOG]   Module helper loaded: calendar
      [07.01.2022 14:15.56.146] [LOG]   No helper found for module: compliments.
      [07.01.2022 14:15.56.159] [LOG]   Initializing new module helper ...
      [07.01.2022 14:15.56.161] [LOG]   Module helper loaded: currentweather
      [07.01.2022 14:15.56.168] [LOG]   Initializing new module helper ...
      [07.01.2022 14:15.56.170] [LOG]   Module helper loaded: weatherforecast
      [07.01.2022 14:15.56.248] [LOG]   Initializing new module helper ...
      [07.01.2022 14:15.56.250] [LOG]   Module helper loaded: newsfeed
      [07.01.2022 14:15.56.253] [LOG]   All module helpers loaded.
      [07.01.2022 14:15.56.571] [LOG]   Starting server on port 8080 ... 
      [07.01.2022 14:15.56.602] [LOG]   Server started ...
      [07.01.2022 14:15.56.604] [LOG]   Connecting socket for: updatenotification
      [07.01.2022 14:15.56.606] [LOG]   Starting module helper: updatenotification
      [07.01.2022 14:15.56.607] [LOG]   Connecting socket for: calendar
      [07.01.2022 14:15.56.609] [LOG]   Starting node helper for: calendar
      [07.01.2022 14:15.56.610] [LOG]   Connecting socket for: currentweather
      [07.01.2022 14:15.56.611] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
      [07.01.2022 14:15.56.614] [LOG]   Connecting socket for: weatherforecast
      [07.01.2022 14:15.56.616] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
      [07.01.2022 14:15.56.617] [LOG]   Connecting socket for: newsfeed
      [07.01.2022 14:15.56.620] [LOG]   Starting node helper for: newsfeed
      [07.01.2022 14:15.56.622] [LOG]   Sockets connected & modules started ...
      [07.01.2022 14:15.57.465] [LOG]   Launching application.
      [12477:0107/141600.023451:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      [12538:0107/141600.426774:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      [07.01.2022 14:16.03.157] [LOG]   Create new calendarfetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
      [07.01.2022 14:16.03.201] [LOG]   Create new newsfetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      [07.01.2022 14:16.03.219] [INFO]  Checking git for module: default
      [07.01.2022 14:16.04.177] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
      [07.01.2022 14:16.04.552] [INFO]  Newsfeed-Fetcher: Broadcasting 57 items.
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      bash: zip: command not found
      
      

      Zipped it on Windows, renamed and emailed.

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      That’s a huge file, what’s the best way to send it?

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      Ok, I’ll do that then.

      Do we know what the cause of all this was, was it something to do with a mismatch in versions of node and npm?

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      Good morning Sam.

      Tried that late yesterday, and yes, it works.
      And this morning, I copied

      custom.css
      

      from

      /home/pi/MagicMirror.save/css   
      

      to

      /home/pi/MagicMirror/css
      

      This too is working perfectly.

      Is there anything else to do, housekeeping maybe, or is that it now?

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      Trying to rename config.js to sample,

      Error when getting information for file “/home/pi/MagicMirror/config/config.js”: No such file or directory
      Error renaming file /home/pi/MagicMirror/config/config.js: No such file or directory
      
      

      Yet I can see it, I can query it for permissions…

      Back tomorrow.
      Richard.

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @richard238

      I have to leave shortly Sam.

      Thank you for all your help with this today, I’ll try again tomorrow.

      Richard.

      posted in Troubleshooting
      R
      Richard238
    • 1 / 1