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.

    MMM Google Photos error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 3 Posters 803 Views 3 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 Offline
      sdetweil @sultan.y
      last edited by

      @sultan-y said in MMM Google Photos error:

      [21.12.2021 19:41.00.721] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080

      how did you install MM?

      this means another instance is running…

      if pm2 started one, then pm2 status will show you

      then pm2 stop xx
      where xx is the number or the name on the row of the thing u want to stop
      (ps pm2 can run lots of things at once)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sultan.y @sdetweil
        last edited by

        @sdetweil

        EADDRINUSE got fixed the configurtion error remains

        [21.12.2021 19:41.00.294] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: MagicMirror is not defined
        at Object. (/home/pi/MagicMirror/config/config.js:45:12)
        at Module._compile (internal/modules/cjs/loader.js:1078:30)
        at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)
        at Module.load (internal/modules/cjs/loader.js:935:32)
        at Module._load (internal/modules/cjs/loader.js:776:14)
        at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
        at Module.require (internal/modules/cjs/loader.js:959:

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

          @sdetweil

          1.12.2021 23:16.00.533] [ERROR] (node:2556) UnhandledPromiseRejectionWarning: Error: Request failed with status code 403
          at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15)
          at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12)
          at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11)
          at IncomingMessage.emit (events.js:327:22)
          at endReadableNT (internal/streams/readable.js:1327:12)
          at processTicksAndRejections (internal/process/task_queues.js:80:21)
          (Use electron --trace-warnings ... to show where the warning was created)
          [21.12.2021 23:16.00.534] [ERROR] (node:2556) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
          [21.12.2021 23:16.00.535] [ERROR] (node:2556) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

          modules: [
          {
          module: “MMM-GooglePhotos”,
          position: “fullscreen_below”,
          config: {
          albums: [“MagicMirror”], // Set your album name. like [“My wedding”, “family share”, “Travle to Paris”]
          updateInterval: 1000 * 60, // minimum 10 seconds.
          sort: “new”, // “old”, “random”
          uploadAlbum: null, // Only album created by create_uploadable_album.js.
          condition: {
          fromDate: null, // Or “2018-03”, RFC … format available
          toDate: null, // Or “2019-12-25”,
          minWidth: null, // Or 400
          maxWidth: null, // Or 8000
          minHeight: null, // Or 400
          maxHeight: null, // Or 8000
          minWHRatio: null,
          maxWHRatio: null,
          // WHRatio = Width/Height ratio ( ==1 : Squared Photo, < 1 : Portraited Photo, > 1 : Landscaped Photo)
          },
          showWidth: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
          showHeight: 1920,
          timeFormat: “YYYY/MM/DD HH:mm”, // Or relative can be used.
          }
          },

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

            @sultan-y said in MMM Google Photos error:

            Request failed with status code 403
            at createError

            you are getting a permission denied 403 error
            from google

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 2 Replies Last reply Reply Quote 0
            • S Offline
              sultan.y @sdetweil
              last edited by

              @sdetweil

              i think i fixed the access but now i get a 503 error

              22.12.2021 22:51.16.328] [LOG] /nodehelper/get translation with statuscode-200
              [22.12.2021 22:51.16.335] [LOG] /nodehelper/get arabic with statuscode-200
              [22.12.2021 22:51.16.338] [LOG] /nodehelper/result-An-Naml:77
              [22.12.2021 22:51.16.357] [LOG] 200[object Object]
              [22.12.2021 22:51.17.516] [ERROR] (node:4593) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
              at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/createError.js:16:15)
              at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/core/settle.js:17:12)
              at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/lib/adapters/http.js:236:11)
              at IncomingMessage.emit (events.js:327:22)
              at endReadableNT (internal/streams/readable.js:1327:12)
              at processTicksAndRejections (internal/process/task_queues.js:80:21)
              (Use electron --trace-warnings ... to show where the warning was created)
              [22.12.2021 22:51.17.523] [ERROR] (node:4593) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
              [22.12.2021 22:51.17.526] [ERROR] (node:4593) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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

                @sdetweil

                apparently i just needed to be patient, it needed to propagate

                now its working

                howevver the clokc and some other apps have disappeared

                is there a way to have it be in the background, so i can see my clock and calendar?

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @sultan.y
                  last edited by

                  @sultan-y
                  Which position did you put the module into? set the position fullscreen_below.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • 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