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

remotecompliments disappeared - please help

Scheduled Pinned Locked Moved Troubleshooting
47 Posts 2 Posters 10.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.
  • F Offline
    forjer @sdetweil
    last edited by Dec 29, 2020, 1:54 AM

    @sdetweil As I said…I’m pretty new at this. Lol.

    I’ve commented out all modules except the clock and MMM-RemoteCompliments.

    main.js:487 Initializing MagicMirror.
    translator.js:129 Loading core translation file: translations/en.json
    translator.js:154 Loading core translation fallback file: translations/en.json
    loader.js:176 Load script: modules/default/clock//clock.js
    module.js:513 Module registered: clock
    loader.js:148 Bootstrapping module: clock
    loader.js:176 Load script: vendor/node_modules/moment/min/moment-with-locales.js
    loader.js:176 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
    loader.js:176 Load script: vendor/node_modules/suncalc/suncalc.js
    loader.js:153 Scripts loaded for: clock
    loader.js:195 Load stylesheet: modules/default/clock/clock_styles.css
    loader.js:155 Styles loaded for: clock
    loader.js:157 Translations loaded for: clock
    loader.js:176 Load script: modules/MMM-RemoteCompliments//MMM-RemoteCompliments.js
    module.js:513 Module registered: MMM-RemoteCompliments
    loader.js:148 Bootstrapping module: MMM-RemoteCompliments
    loader.js:176 Load script: modules/MMM-RemoteCompliments//scripts/jquery-3.3.1.min.js
    loader.js:153 Scripts loaded for: MMM-RemoteCompliments
    loader.js:155 Styles loaded for: MMM-RemoteCompliments
    loader.js:157 Translations loaded for: MMM-RemoteCompliments
    loader.js:195 Load stylesheet: css/custom.css
    :8080/modules/default/clock//clock.js:46 Starting module: clock
    main.js:508 All modules started!
    /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
      protocols.This exposes users of this app to unnecessary security risks.
      Consider loading the following resources over HTTPS or FTPS. 
     - http://localhost:8080/css/main.css
    - http://localhost:8080/fonts/roboto.css
    - http://localhost:8080/socket.io/socket.io.js
    - http://localhost:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
    - http://localhost:8080/js/defaults.js
    - http://localhost:8080/config/config.js
    - http://localhost:8080/vendor/vendor.js
    - http://localhost:8080/modules/default/defaultmodules.js
    - http://localhost:8080/js/logger.js
    - http://localhost:8080/translations/translations.js
    - http://localhost:8080/js/translator.js
    - http://localhost:8080/js/class.js
    - http://localhost:8080/js/module.js
    - http://localhost:8080/js/loader.js
    - http://localhost:8080/js/socketclient.js
    - http://localhost:8080/js/main.js
    - http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
    - http://localhost:8080/translations/en.json
    - http://localhost:8080/translations/en.json
    - http://localhost:8080/modules/default/clock//clock.js
    - http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js
    - http://localhost:8080/vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
    - http://localhost:8080/vendor/node_modules/suncalc/suncalc.js
    - http://localhost:8080/modules/default/clock/clock_styles.css
    - http://localhost:8080/modules/MMM-RemoteCompliments//MMM-RemoteCompliments.js
    - http://localhost:8080/modules/MMM-RemoteCompliments//scripts/jquery-3.3.1.min.js
    - http://localhost:8080/css/custom.css
      
     
    For more information and help, consult
    https://electronjs.org/docs/tutorial/security.
     This warning will not show up
    once the app is packaged.
    warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95
    /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
        Policy set or a policy with "unsafe-eval" enabled. This exposes users of
        this app to unnecessary security risks.
     
    For more information and help, consult
    https://electronjs.org/docs/tutorial/security.
     This warning will not show up
    once the app is packaged.
    
    S 1 Reply Last reply Dec 29, 2020, 2:01 AM Reply Quote 0
    • F Offline
      forjer @sdetweil
      last edited by Dec 29, 2020, 2:00 AM

      @sdetweil And it’s a 3 B+

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @forjer
        last edited by Dec 29, 2020, 2:01 AM

        @forjer show me the config for those modules…
        do u have a position set for compliments

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Dec 29, 2020, 2:14 AM Reply Quote 0
        • F Offline
          forjer @sdetweil
          last edited by Dec 29, 2020, 2:14 AM

          @sdetweil I originally had a position of “upper_third” set but removed that yesterday when I started manually debugging. I just added it back in now as shown below with no change to the behavior…still no remote compliments showing.

          Here’s my clock…

          		{
          			module: "clock",
          			position: "top_center"
          		},
          

          This is how my remote compliments looked yesterday before I started manually debugging…

          		{
          			module: "MMM-RemoteCompliments",
          			header: "",
          			position: "upper_third",
          			config: {
          				header: "MMM-RemoteCompliments",
          				fetchInterval: 4000,
          			}
          		},
          

          This is what I had at the time I ran the above developers window and pm2 log…

          		{
          			module: "MMM-RemoteCompliments",
          			header: "MMM-RemoteCompliments",
          			config: {
          			    // See below for configurable options
          			}
          		},
          

          And I just threw the position back in with no change to the behavior…no remotecompliments showing whatsoever…
          {
          module: “MMM-RemoteCompliments”,
          position: “upper_third”,
          header: “MMM-RemoteCompliments”,
          config: {
          // See below for configurable options
          }
          }

          S 1 Reply Last reply Dec 29, 2020, 2:18 AM Reply Quote 0
          • S Offline
            sdetweil @forjer
            last edited by Dec 29, 2020, 2:18 AM

            @forjer u do have a url or something in the config section, yes? u have no content like that

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            F 1 Reply Last reply Dec 29, 2020, 2:21 AM Reply Quote 0
            • F Offline
              forjer @sdetweil
              last edited by Dec 29, 2020, 2:21 AM

              @sdetweil The only url I have is for the default calendar module which I currently have commented out. The RemoteCompliments is the module that runs through Google Drive. As far as I know RemoteCompliments doesn’t require an url.

              S 1 Reply Last reply Dec 29, 2020, 2:28 AM Reply Quote 0
              • S Offline
                sdetweil @forjer
                last edited by sdetweil Dec 29, 2020, 2:29 AM Dec 29, 2020, 2:28 AM

                @forjer ok, I see the user setup in the drives folder

                let’s look in the console again, pm2 logs
                the Google authentication expires after a day.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                F 1 Reply Last reply Dec 29, 2020, 2:32 AM Reply Quote 0
                • F Offline
                  forjer @sdetweil
                  last edited by Dec 29, 2020, 2:32 AM

                  @sdetweil For the pm2 logs, do I just do the default last 15 lines or should I do more. And if I do more I suppose there’s some"sensitive" stuff I should wipe out?

                  And as far a sGoogle authentication expiring, please expand on that. I set this up some weeks ago and hadn’t had a problem until sometime in the last few days…I’m thinking yesterday.

                  S 1 Reply Last reply Dec 29, 2020, 2:35 AM Reply Quote 0
                  • S Offline
                    sdetweil @forjer
                    last edited by Dec 29, 2020, 2:35 AM

                    @forjer if the system isn’t run for a while a day I think… just helped another user with authentication failure

                    can’t think of any personal info in the log w those two modules…

                    if concerned, pm2 stop 0,
                    pm2 flush
                    pm2 start 0

                    pm2 logs

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    F 1 Reply Last reply Dec 29, 2020, 2:38 AM Reply Quote 0
                    • F Offline
                      forjer @sdetweil
                      last edited by Dec 29, 2020, 2:38 AM

                      @sdetweil

                      pi@raspberrypi:~ $ pm2 logs
                      [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
                      /home/pi/.pm2/pm2.log last 15 lines:
                      PM2        | 2020-12-28T20:37:03: PM2 log: App [MagicMirror:0] starting in -fork mode-
                      PM2        | 2020-12-28T20:37:03: PM2 log: App [MagicMirror:0] online
                      
                      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
                      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
                      0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                      0|MagicMir | 
                      0|MagicMir | [2020-12-28 20:37:07.031] [LOG]    Starting MagicMirror: v2.13.0
                      0|MagicMir | [2020-12-28 20:37:07.045] [LOG]    Loading config ...
                      0|MagicMir | [2020-12-28 20:37:07.060] [LOG]    Loading module helpers ...
                      0|MagicMir | [2020-12-28 20:37:07.064] [LOG]    No helper found for module: clock.
                      0|MagicMir | [2020-12-28 20:37:10.491] [LOG]    Initializing new module helper ...
                      0|MagicMir | [2020-12-28 20:37:10.492] [LOG]    Module helper loaded: MMM-RemoteCompliments
                      0|MagicMir | [2020-12-28 20:37:10.493] [LOG]    All module helpers loaded.
                      0|MagicMir | [2020-12-28 20:37:10.714] [LOG]    Starting server on port 8080 ... 
                      0|MagicMir | [2020-12-28 20:37:10.739] [LOG]    Server started ...
                      0|MagicMir | [2020-12-28 20:37:10.740] [LOG]    Connecting socket for: MMM-RemoteCompliments
                      0|MagicMir | [2020-12-28 20:37:10.744] [LOG]    Starting node helper for: MMM-RemoteCompliments
                      0|MagicMir | [2020-12-28 20:37:10.745] [LOG]    Sockets connected & modules started ...
                      0|MagicMir | [2020-12-28 20:37:10.891] [LOG]    Launching application.
                      
                      
                      S 1 Reply Last reply Dec 29, 2020, 2:42 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 2 / 5
                      2 / 5
                      • First post
                        13/47
                        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