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

Something went wrong displaying this web page error

Scheduled Pinned Locked Moved Unsolved Troubleshooting
16 Posts 2 Posters 3.0k 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.
  • K Offline
    kellogg76 @sdetweil
    last edited by Jan 24, 2020, 11:49 AM

    @sdetweil said in Something went wrong displaying this web page error:

    pm2 logs --lines=100

    Your updater script doesn’t work on a Pi Zero.

    I’ll try running npm install in the three non default module folders.

    Thanks

    S 1 Reply Last reply Jan 24, 2020, 11:55 AM Reply Quote 0
    • S Away
      sdetweil @kellogg76
      last edited by Jan 24, 2020, 11:55 AM

      @kellogg76 >Your updater script doesn’t work on a Pi Zero.

      say what? i have tested on pi 0, 3, 4, odroid, jetson nano, and mac.
      a bunch of folks have tested on all kinds of pi’s…

      show me the log, ~/MagicMirror/installers/upgrade.log

      just for clarity the , updater doesn’t do anything by default except test the upgrade

      if u want it to DO the upgrade, u have to add the parm at the end ‘apply’

      from https://github.com/sdetweil/MagicMirror_scripts

      it should handle all the work… and give you a trial run of all that…
      
      only applying changes if u request them
      
      give it a try this works on Mac as well
      
      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
      
      no changes are made to the local repo or the working copy
      
      if you WANT to actually apply the changes do
      
      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      K 1 Reply Last reply Jan 24, 2020, 5:49 PM Reply Quote 1
      • K Offline
        kellogg76 @sdetweil
        last edited by Jan 24, 2020, 5:49 PM

        @sdetweil said in Something went wrong displaying this web page error:

        ~/MagicMirror/installers/upgrade.log

        Apologies, when I ran

        curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh | bash
        

        I stopped reading after “Sorry, your Pi is not supported”, I just re-ran it and see the bit about Pi Zero’s.

        The install log is as follows

        Upgrade started - Fri Jan 24 13:47:22 AST 2020
        system is Linux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux
        the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
        doing test run = true
        
        saving custom.css
        remote name = origin
        upgrading from version 2.10.1 to 2.10.1
        fetching latest revisions
        git fetch rc=0
        current branch = master
        On branch master
        Your branch is up to date with 'origin/master'.
        
        Changes not staged for commit:
          (use "git add <file>..." to update what will be committed)
          (use "git checkout -- <file>..." to discard changes in working directory)
        
                modified:   vendor/package-lock.json
        
        Untracked files:
          (use "git add <file>..." to include in what will be committed)
        
                css/save_custom.css
        
        no changes added to commit (use "git add" and/or "git commit -a")
        there are 1 local files that are different than the master repo
        
           vendor/package-lock.json
        
        save/restore files selection = n
        restoring vendor/package-lock.json from repo
        skipping restore for vendor/package-lock.json, doing test run
        test merge result rc='' , if empty, no conflicts
        skipping merge, only test run
        
        processing dependency changes for active modules with package.json files
        processing for module MMM-BackgroundSlideshow please wait
        ----------------------------------
        skipped processing for MMM-BackgroundSlideshow, doing test run
        processing complete for module MMM-BackgroundSlideshow
        processing for module MMM-DarkSkyForecast please wait
        ----------------------------------
        skipped processing for MMM-DarkSkyForecast, doing test run
        processing complete for module MMM-DarkSkyForecast
        processing for module mmm-suncalc please wait
        ----------------------------------
        skipped processing for mmm-suncalc, doing test run
        processing complete for module mmm-suncalc
        restoring custom.css
        removing git alias
        Upgrade ended - Fri Jan 24 13:48:09 AST 2020
        

        It doesn’t appear there are any updates to apply as far as i can tell.

        S 2 Replies Last reply Jan 24, 2020, 5:54 PM Reply Quote 0
        • S Away
          sdetweil @kellogg76
          last edited by Jan 24, 2020, 5:54 PM

          @kellogg76 said in Something went wrong displaying this web page error:

          doing test run = true

          which means you didn’t add

          apply
          

          to the end to actually DO the upgrade
          like this

          bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
          

          upgrading from version 2.10.1 to 2.10.1

          correct

          u can do force instead of apply to redo the upgrade

          like this

          bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          K 2 Replies Last reply Jan 24, 2020, 7:29 PM Reply Quote 0
          • K Offline
            kellogg76 @sdetweil
            last edited by Jan 24, 2020, 7:29 PM

            @sdetweil

            I’ll give it a try with the force option.

            Thanks

            1 Reply Last reply Reply Quote 0
            • K Offline
              kellogg76 @sdetweil
              last edited by Jan 24, 2020, 8:47 PM

              @sdetweil

              Unfortunately it doesn’t seem to have made any difference.

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil
                last edited by Jan 24, 2020, 9:14 PM

                Ok, we/I made a change to how the mirror app starts on pi 0 or other armv6l systems.

                But I introduced a bug. Download the fixed run-start.sh like this

                cd ~/MagicMirror
                curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/run-start.sh > run-start.sh
                

                Then start the mirror app again

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                K 1 Reply Last reply Jan 25, 2020, 2:22 AM Reply Quote 0
                • K Offline
                  kellogg76 @sdetweil
                  last edited by Jan 25, 2020, 2:22 AM

                  @sdetweil
                  Still the same error after doing the above and then rebooting.

                  S 1 Reply Last reply Jan 25, 2020, 3:05 AM Reply Quote 0
                  • S Away
                    sdetweil @kellogg76
                    last edited by Jan 25, 2020, 3:05 AM

                    @kellogg76 ok, some module did not get updated with the new mm.

                    Can you do

                    cd ~/MagicMirror
                    node installers/dumpactivemodules.js
                    

                    This should return a list of modules that have package.json files

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    K 1 Reply Last reply Jan 25, 2020, 1:39 PM Reply Quote 0
                    • K Offline
                      kellogg76 @sdetweil
                      last edited by kellogg76 Jan 25, 2020, 1:40 PM Jan 25, 2020, 1:39 PM

                      @sdetweil said in Something went wrong displaying this web page error:

                      node installers/dumpactivemodules.js

                      When I do that nothing appears on screen

                      S 1 Reply Last reply Jan 25, 2020, 1:48 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/16
                        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