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 12.7k 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

      @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 Reply Quote 0
      • S Offline
        sdetweil @forjer
        last edited by sdetweil

        @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 Reply Quote 0
        • F Offline
          forjer @sdetweil
          last edited by

          @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 Reply Quote 0
          • S Offline
            sdetweil @forjer
            last edited by

            @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 Reply Quote 0
            • F Offline
              forjer @sdetweil
              last edited by

              @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 Reply Quote 0
              • S Offline
                sdetweil @forjer
                last edited by

                @forjer no logging. sheesh

                edit the module node_helper.js file,
                take the //
                off line 65 and 66

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @sdetweil
                  last edited by

                  @forjer I think u will have to delete the Token.json file and rerun drives/setup.js

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  F 2 Replies Last reply Reply Quote 0
                  • F Offline
                    forjer @sdetweil
                    last edited by

                    @sdetweil Is this confirming what you thought?

                    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
                    PM2        | 2020-12-28T20:46:29: PM2 log: Stopping app:MagicMirror id:0
                    PM2        | 2020-12-28T20:46:30: PM2 log: pid=17838 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-12-28T20:46:30: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-12-28T20:46:30: PM2 log: pid=17838 msg=process killed
                    PM2        | 2020-12-28T20:46:30: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2020-12-28T20:46:30: 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 | [2020-12-28 20:46:45.545] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMir | [2020-12-28 20:46:48.247] [LOG]    MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMir | [2020-12-28 20:46:48.251] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMir | [2020-12-28 20:46:50.493] [LOG]    MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMir | [2020-12-28 20:46:50.501] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMir | [2020-12-28 20:46:52.743] [LOG]    MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMir | [2020-12-28 20:46:52.744] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMir | [2020-12-28 20:46:54.986] [LOG]    MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMir | [2020-12-28 20:46:54.988] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMir | [2020-12-28 20:46:57.215] [LOG]    MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMir | [2020-12-28 20:46:57.216] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMir | [2020-12-28 20:46:59.763] [LOG]    MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMir | [2020-12-28 20:46:59.765] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMir | [2020-12-28 20:47:02.299] [LOG]    MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMir | [2020-12-28 20:47:02.301] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    
                    0|MagicMirror  | [2020-12-28 20:47:04.513] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:04.518] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:06.742] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:06.744] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:08.981] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:08.983] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:11.225] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:11.226] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:13.464] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:13.465] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:15.688] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:15.689] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:17.919] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:17.920] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:20.168] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:20.169] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:22.424] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:22.426] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:24.665] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:24.667] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:26.898] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:26.899] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:29.123] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:29.125] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:31.371] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:31.372] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:33.596] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:33.598] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:35.830] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:35.834] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:38.074] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:38.080] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: Fetching again in two seconds.
                    0|MagicMirror  | [2020-12-28 20:47:40.326] [LOG]    
                    0|MagicMirror  | MMM-RemoteCompliments: An error occurred when fetching from Google Drive that could not be recovered from:  Error with GET request for spreadsheet with ID '1dzINW3oWAYee6lbtFyaBO3hco4EErxI9ZL3Dvk_F-7s'.
                    0|MagicMirror  | [2020-12-28 20:47:40.327] [LOG]    MMM-RemoteCompliments: Fetching again in two seconds.
                    
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @forjer
                      last edited by

                      @forjer yeh. so the setup has probably expired

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        forjer @sdetweil
                        last edited by

                        @sdetweil So are you saying I should delete the Token.json file from /home/pi/MagicMirror/modules/MMM-RemoteCompliments/Drive and run node setup which will re-run the Setup.js script?

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