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.

    update package list

    Scheduled Pinned Locked Moved Solved Troubleshooting
    45 Posts 2 Posters 11.9k 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.
    • P Offline
      pat59
      last edited by

      I used restart RPII used restart RPI

      S 1 Reply Last reply Reply Quote 0
      • P Offline
        pat59
        last edited by

        pi@raspberrypi:~ $ cd ~/MagicMirror
        pi@raspberrypi:~/MagicMirror $ pm2 --help

        Usage: pm2 [cmd] app

        Options:

        -V, --version                                                output the version number
        -v --version                                                 print pm2 version
        -s --silent                                                  hide all messages
        --ext <extensions>                                           watch only this file extensions
        -n --name <name>                                             set a name for the process in the process list
        -m --mini-list                                               display a compacted list without formatting
        --interpreter <interpreter>                                  set a specific interpreter to use for executing app, default: node
        --interpreter-args <arguments>                               set arguments to pass to the interpreter (alias of --node-args)
        --node-args <node_args>                                      space delimited arguments to pass to node
        -o --output <path>                                           specify log file for stdout
        -e --error <path>                                            specify log file for stderr
        -l --log [path]                                              specify log file which gathers both stdout and stderr
        --filter-env [envs]                                          filter out outgoing global values that contain provided strings (default: )
        --log-type <type>                                            specify log output style (raw by default, json optional)
        --log-date-format <date format>                              add custom prefix timestamp to logs
        --time                                                       enable time logging
        --disable-logs                                               disable all logs storage
        --env <environment_name>                                     specify which set of environment variables from ecosystem file must be injected
        -a --update-env                                              force an update of the environment with restart/reload (-a <=> apply)
        -f --force                                                   force actions
        -i --instances <number>                                      launch [number] instances (for networked app)(load balanced)
        --parallel <number>                                          number of parallel actions (for restart/reload)
        --shutdown-with-message                                      shutdown an application with process.send('shutdown') instead of process.kill(pid, SIGINT)
        -p --pid <pid>                                               specify pid file
        -k --kill-timeout <delay>                                    delay before sending final SIGKILL signal to process
        --listen-timeout <delay>                                     listen timeout on application reload
        --max-memory-restart <memory>                                Restart the app if an amount of memory is exceeded (in bytes)
        --restart-delay <delay>                                      specify a delay between restarts (in milliseconds)
        --exp-backoff-restart-delay <delay>                          specify a delay between restarts (in milliseconds)
        -x --execute-command                                         execute a program using fork system
        --max-restarts [count]                                       only restart the script COUNT times
        -u --user <username>                                         define user when generating startup script
        --uid <uid>                                                  run target script with <uid> rights
        --gid <gid>                                                  run target script with <gid> rights
        --namespace <ns>                                             start application within specified namespace
        --cwd <path>                                                 run target script from path <cwd>
        --hp <home path>                                             define home path when generating startup script
        --wait-ip                                                    override systemd script to wait for full internet connectivity to launch pm2
        --service-name <name>                                        define service name when generating startup script
        -c --cron <cron_pattern>                                     restart a running process based on a cron pattern
        -c --cron-restart <cron_pattern>                             (alias) restart a running process based on a cron pattern
        -w --write                                                   write configuration in local folder
        --no-daemon                                                  run pm2 daemon in the foreground if it doesn't exist already
        --source-map-support                                         force source map support
        --only <application-name>                                    with json declaration, allow to only act on one application
        --disable-source-map-support                                 force source map support
        --wait-ready                                                 ask pm2 to wait for ready event from your app
        --merge-logs                                                 merge logs from different instances but keep error and out separated
        --watch [paths]                                              watch application folder for changes (default: )
        --ignore-watch <folders|files>                               List of paths to ignore (name or regex)
        --watch-delay <delay>                                        specify a restart delay after changing files (--watch-delay 4 (in sec) or 4000ms)
        --no-color                                                   skip colors
        --no-vizion                                                  start an app without vizion feature (versioning control)
        --no-autostart                                               add an app without automatic start
        --no-autorestart                                             start an app without automatic restart
        --stop-exit-codes <exit_codes...>                            specify a list of exit codes that should skip automatic restart
        --no-treekill                                                Only kill the main process, not detached children
        --no-pmx                                                     start an app without pmx
        --no-automation                                              start an app without pmx
        --trace                                                      enable transaction tracing with km
        --disable-trace                                              disable transaction tracing with km
        --sort <field_name:sort>                                     sort process according to field's name
        --attach                                                     attach logging after your start/restart/stop/reload
        --v8                                                         enable v8 data collecting
        --event-loop-inspector                                       enable event-loop-inspector dump in pmx
        --deep-monitoring                                            enable all monitoring tools (equivalent to --v8 --event-loop-inspector --trace)
        -h, --help                                                   output usage information
        

        Commands:

        start [options] [name|namespace|file|ecosystem|id...]        start and daemonize an app
        trigger <id|proc_name|namespace|all> <action_name> [params]  trigger process action
        deploy <file|environment>                                    deploy your json
        startOrRestart <json>                                        start or restart JSON file
        startOrReload <json>                                         start or gracefully reload JSON file
        pid [app_name]                                               return pid of [app_name] or all
        create                                                       return pid of [app_name] or all
        startOrGracefulReload <json>                                 start or gracefully reload JSON file
        stop [options] <id|name|namespace|all|json|stdin...>         stop a process
        restart [options] <id|name|namespace|all|json|stdin...>      restart a process
        scale <app_name> <number>                                    scale up/down a process in cluster mode depending on total_number param
        profile:mem [time]                                           Sample PM2 heap memory
        profile:cpu [time]                                           Profile PM2 cpu
        reload <id|name|namespace|all>                               reload processes (note that its for app using HTTP/HTTPS)
        id <name>                                                    get process id by name
        inspect <name>                                               inspect a process
        delete|del <name|id|namespace|script|all|json|stdin...>      stop and delete a process from pm2 process list
        sendSignal <signal> <pm2_id|name>                            send a system signal to the target process
        ping                                                         ping pm2 daemon - if not up it will launch it
        updatePM2                                                    update in-memory PM2 with local PM2
        update                                                       (alias) update in-memory PM2 with local PM2
        install|module:install [options] <module|git:/>              install or update a module and run it forever
        module:update <module|git:/>                                 update a module and run it forever
        module:generate [app_name]                                   Generate a sample module in current folder
        uninstall|module:uninstall <module>                          stop and uninstall a module
        package [target]                                             Check & Package TAR type module
        publish|module:publish [options] [folder]                    Publish the module you are currently on
        set [key] [value]                                            sets the specified config <key> <value>
        multiset <value>                                             multiset eg "key1 val1 key2 val2
        get [key]                                                    get value for <key>
        conf [key] [value]                                           get / set module config values
        config <key> [value]                                         get / set module config values
        unset <key>                                                  clears the specified config <key>
        report                                                       give a full pm2 report for https://github.com/Unitech/pm2/issues
        link [options] [secret] [public] [name]                      link with the pm2 monitoring dashboard
        unlink                                                       unlink with the pm2 monitoring dashboard
        monitor [name]                                               monitor target process
        unmonitor [name]                                             unmonitor target process
        open                                                         open the pm2 monitoring dashboard
        plus|register [options] [command] [option]                   enable pm2 plus
        login                                                        Login to pm2 plus
        logout                                                       Logout from pm2 plus
        dump|save [options]                                          dump all processes for resurrecting them later
        cleardump                                                    Create empty dump file
        send <pm_id> <line>                                          send stdin to <pm_id>
        attach <pm_id> [comman]                                      attach stdin/stdout to application identified by <pm_id>
        resurrect                                                    resurrect previously dumped processes
        unstartup [platform]                                         disable the pm2 startup hook
        startup [platform]                                           enable the pm2 startup hook
        logrotate                                                    copy default logrotate configuration
        ecosystem|init [mode]                                        generate a process conf file. (mode = null or simple)
        reset <name|id|all>                                          reset counters for process
        describe <name|id>                                           describe all parameters of a process
        desc <name|id>                                               (alias) describe all parameters of a process
        info <name|id>                                               (alias) describe all parameters of a process
        show <name|id>                                               (alias) describe all parameters of a process
        env <id>                                                     list all environment variables of a process id
        list|ls                                                      list all processes
        l                                                            (alias) list all processes
        ps                                                           (alias) list all processes
        status                                                       (alias) list all processes
        jlist                                                        list all processes in JSON format
        sysmonit                                                     start system monitoring daemon
        slist|sysinfos [options]                                     list system infos in JSON
        prettylist                                                   print json in a prettified JSON
        monit                                                        launch termcaps monitoring
        imonit                                                       launch legacy termcaps monitoring
        dashboard|dash                                               launch dashboard with monitoring and logs
        flush [api]                                                  flush logs
        reloadLogs                                                   reload all logs
        logs [options] [id|name|namespace]                           stream logs file. Default stream all logs
        kill                                                         kill daemon
        pull <name> [commit_id]                                      updates repository for a given app
        forward <name>                                               updates repository to the next commit for a given app
        backward <name>                                              downgrades repository to the previous commit for a given app
        deepUpdate                                                   performs a deep update of PM2
        serve|expose [options] [path] [port]                         serve a directory over http via port
        autoinstall
        examples                                                     display pm2 usage examples
        *
        

        pi@raspberrypi:~/MagicMirror $

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

          @pat59 said in update package list:

          I used restart RPII used restart RPI

          I don’t know what that means in reality under the covers

          so, you need to delete one of the apps… unless you intentionally have two instances.

          they show online, and no restarts, which is weird

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            pat59
            last edited by

            Well, thank you, I’m going to stop now. I’m 65 years old and I don’t always understand what to do. I’m a novice. I don’t know which application to delete. Thanks again for your help.

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

              @pat59 im 74… so its never too late

              try this

              pm2 stop mm
              pm2 restart MagicMirror
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                pat59
                last edited by sdetweil

                pi@raspberrypi:~ $ cd ~/MagicMirror
                pi@raspberrypi:~/MagicMirror $ pm2 stop mm
                [PM2] Applying action stopProcessId on app [mm](ids: [ 0 ])
                [PM2] mm ✓

                ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                │ 1  │ MagicMirror        │ fork     │ 0    │ online    │ 0%       │ 2.4mb    │
                │ 0  │ mm                 │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
                └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                

                pi@raspberrypi:~/MagicMirror $ pm2 restart MagicMirror
                Use --update-env to update environment variables
                [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 1 ])
                [PM2] MagicMirror ✓

                ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                │ 1  │ MagicMirror        │ fork     │ 1    │ online    │ 0%       │ 2.4mb    │
                │ 0  │ mm                 │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
                └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                

                pi@raspberrypi:~/MagicMirror $

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pat59
                  last edited by

                  Congratulations on your courage
                  Do I have to restart after that?

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

                    @pat59 is it working? after the pm2 restart?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pat59
                      last edited by

                      Hello
                      No, I have the other apps working fine except for Calendar, which is still loading, and Newsfeed, which is also loading.

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

                        @pat59

                        Ok,

                        Because you are using pm2 makes getting log a little more interesting

                        Do

                        pm2 stop all
                        pm2 flush
                        pm2 start MagicMirror
                        

                        Wait til MagicMirror comes up and modules show loading
                        Then do

                        pm2 logs —lines=100. 
                        

                        The n look thru the listing and see if there are any errors reported

                        Also can you post the configuration from config.js for those two modules
                        Note the calendar module url needs to be mangled, xxx part so it doesn’t expose the full url

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pat59
                          last edited by

                          Hello, here is the error it gives me.

                          pi@raspberrypi:~ $ cd ~/MagicMirror
                          pi@raspberrypi:~/MagicMirror $ pm2 stop all
                          [PM2] Applying action stopProcessId on app [all](ids: [ 0, 1 ])
                          [PM2] mm ✓
                          [PM2] MagicMirror ✓
                          ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                          │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
                          ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                          │ 1 │ MagicMirror │ fork │ 0 │ stopped │ 0% │ 0b │
                          │ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │
                          └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                          pi@raspberrypi:~/MagicMirror $ pm2 flush
                          [PM2] Flushing /home/pi/.pm2/pm2.log
                          [PM2] Flushing:
                          [PM2] /home/pi/.pm2/logs/mm-out.log
                          [PM2] /home/pi/.pm2/logs/mm-error.log
                          [PM2] Flushing:
                          [PM2] /home/pi/.pm2/logs/MagicMirror-out.log
                          [PM2] /home/pi/.pm2/logs/MagicMirror-error.log
                          [PM2] Logs flushed
                          pi@raspberrypi:~/MagicMirror $ pm2 start MagicMirror
                          [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 1 ])
                          [PM2] MagicMirror ✓
                          [PM2] Process successfully started
                          ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                          │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
                          ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                          │ 1 │ MagicMirror │ fork │ 0 │ online │ 0% │ 2.4mb │
                          │ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │
                          └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                          pi@raspberrypi:~/MagicMirror $ pm2 logs -lines=100.

                          error: unknown option `-=’

                          pi@raspberrypi:~/MagicMirror $

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

                            @pat59 it’s 2 dashes

                            —lines

                            You could have seen this in the help from pm2

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              pat59
                              last edited by sdetweil

                              yes indeed not seen

                              pi@raspberrypi:~ $ cd ~/MagicMirror
                              pi@raspberrypi:~/MagicMirror $ pm2 logs --lines=100.
                              [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
                              /home/pi/.pm2/pm2.log last 100 lines:
                              PM2 | 2025-09-13T13:56:57: PM2 log: App [MagicMirror:1] starting in -fork mode-
                              PM2 | 2025-09-13T13:56:57: PM2 log: App [MagicMirror:1] online

                              /home/pi/.pm2/logs/mm-out.log last 100 lines:
                              /home/pi/.pm2/logs/mm-error.log last 100 lines:
                              /home/pi/.pm2/logs/MagicMirror-error.log last 100 lines:
                              1|MagicMir | [2025-09-13 13:57:11.358] [WARN] You’re using a full whitelist configuration to allow for all IPs
                              1|MagicMir | [2025-09-13 13:57:24.583] [ERROR] ERROR! Could not find main module js file for MMM-Linky
                              1|MagicMir | [2025-09-13 13:57:24.875] [ERROR] ERROR! Could not find main module js file for MMM-PrixCarburants
                              1|MagicMir | [2025-09-13 13:57:26.522] [ERROR] ERROR! Could not find main module js file for save-remote
                              1|MagicMir | [2025-09-13 13:57:40.888] [ERROR] We expected a redirect to guce.yahoo.com, but got https://finance.yahoo.com/quote/AAPL/
                              1|MagicMir | [2025-09-13 13:57:40.889] [ERROR] We’ll try to continue anyway - you can safely ignore this if the request succeeds
                              1|MagicMir | [2025-09-13 13:57:41.531] [ERROR] Trace: [GPHOTOS:CORE] request fail with URL albums
                              1|MagicMir | at GPhotos.logTrace (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:127:13)
                              1|MagicMir | at GPhotos.request (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:168:12)
                              1|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                              1|MagicMir | at async getAlbum (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:208:24)
                              1|MagicMir | at async GPhotos.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:180:18)
                              1|MagicMir | at async Class.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:263:15)
                              1|MagicMir | at async Class.getAlbumList (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:313:18)
                              1|MagicMir | at async Class.scanJob (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:294:5)
                              1|MagicMir | [2025-09-13 13:57:41.537] [ERROR] Trace: [GPHOTOS:CORE] params {“pageSize”:50,“pageToken”:“”}
                              1|MagicMir | at GPhotos.logTrace (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:127:13)
                              1|MagicMir | at GPhotos.request (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:169:12)
                              1|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                              1|MagicMir | at async getAlbum (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:208:24)
                              1|MagicMir | at async GPhotos.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:180:18)
                              1|MagicMir | at async Class.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:263:15)
                              1|MagicMir | at async Class.getAlbumList (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:313:18)
                              1|MagicMir | at async Class.scanJob (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:294:5)
                              1|MagicMir | [2025-09-13 13:57:41.542] [ERROR] Trace: [GPHOTOS:CORE] data null
                              1|MagicMir | at GPhotos.logTrace (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:127:13)
                              1|MagicMir | at GPhotos.request (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:170:12)
                              1|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                              1|MagicMir | at async getAlbum (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:208:24)
                              1|MagicMir | at async GPhotos.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:180:18)
                              1|MagicMir | at async Class.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:263:15)
                              1|MagicMir | at async Class.getAlbumList (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:313:18)
                              1|MagicMir | at async Class.scanJob (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:294:5)
                              1|MagicMir | [2025-09-13 13:57:41.572] [ERROR] [GPHOTOS:CORE] response.data:
                              1|MagicMir | {“error”:{“code”:403,“message”:“Request had insufficient authentication scopes.”,“status”:“PERMISSION_DENIED”}}
                              1|MagicMir | response.status:
                              1|MagicMir | 403
                              1|MagicMir | headers:
                              1|MagicMir | {“vary”:“Origin, X-Origin, Referer”,“content-type”:“application/json; charset=UTF-8”,“date”:“Sat, 13 Sep 2025 11:57:40 GMT”,“server”:“ESF”,“x-xss-protection”:“0”,“x-frame-options”:“SAMEORIGIN”,“x-content-type-options”:“nosniff”,“alt-svc”:“h3=":443"; ma=2592000,h3-29=":443"; ma=2592000”,“transfer-encoding”:“chunked”}
                              1|MagicMir | config:
                              1|MagicMir | {“transitional”:{“silentJSONParsing”:true,“forcedJSONParsing”:true,“clarifyTimeoutError”:false},“adapter”:[“xhr”,“http”,“fetch”],“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1,“maxBodyLength”:-1,“env”:{},“headers”:{“Accept”:“application/json, text/plain, /”,“Authorization”:“Bearer ya29.a0AS3H6NyA7ONxL8SRsM2CzAn9MUyYAqUCVW3B66xtCW2iYEouumznAvH6Cve50JLI09-Vv3BbpaygzUvAeRREgNp9Uq66mrEzgbyFNulxBYw4zTUYwlMyZCftrKFC5yyKbV24vNXGXG9j2Dw7ddPJ7106HcXXNgrZ6BMLZlLTj9c9hWRGWkQU-IoT9_6PoQKDeeyTUtIYdgaCgYKAcUSARISFQHGX2MiruMSTrfXs6E2e2yPY2ullg0209”,“User-Agent”:“axios/1.8.2”,“Accept-Encoding”:“gzip, compress, deflate, br”},“method”:“get”,“url”:“albums”,“baseURL”:“https://photoslibrary.googleapis.com/v1/“,“params”:{“pageSize”:50,“pageToken”:”"},"allowAbsoluteUrls”:true}
                              1|MagicMir | [2025-09-13 13:57:41.578] [ERROR] [GPHOTOS:CORE] AxiosError: Request failed with status code 403
                              1|MagicMir | [2025-09-13 13:57:41.593] [ERROR] [GPHOTOS] [node_helper] response.data:
                              1|MagicMir | {“error”:{“code”:403,“message”:“Request had insufficient authentication scopes.”,“status”:“PERMISSION_DENIED”}}
                              1|MagicMir | response.status:
                              1|MagicMir | 403
                              1|MagicMir | headers:
                              1|MagicMir | {“vary”:“Origin, X-Origin, Referer”,“content-type”:“application/json; charset=UTF-8”,“date”:“Sat, 13 Sep 2025 11:57:40 GMT”,“server”:“ESF”,“x-xss-protection”:“0”,“x-frame-options”:“SAMEORIGIN”,“x-content-type-options”:“nosniff”,“alt-svc”:“h3=":443"; ma=2592000,h3-29=":443"; ma=2592000”,“transfer-encoding”:“chunked”}
                              1|MagicMir | config:
                              1|MagicMir | {“transitional”:{“silentJSONParsing”:true,“forcedJSONParsing”:true,“clarifyTimeoutError”:false},“adapter”:[“xhr”,“http”,“fetch”],“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1,“maxBodyLength”:-1,“env”:{},“headers”:{“Accept”:“application/json, text/plain, /”,“Authorization”:“Bearer ya29.a0AS3H6NyA7ONxL8SRsM2CzAn9MUyYAqUCVW3B66xtCW2iYEouumznAvH6Cve50JLI09-Vv3BbpaygzUvAeRREgNp9Uq66mrEzgbyFNulxBYw4zTUYwlMyZCftrKFC5yyKbV24vNXGXG9j2Dw7ddPJ7106HcXXNgrZ6BMLZlLTj9c9hWRGWkQU-IoT9_6PoQKDeeyTUtIYdgaCgYKAcUSARISFQHGX2MiruMSTrfXs6E2e2yPY2ullg0209”,“User-Agent”:“axios/1.8.2”,“Accept-Encoding”:“gzip, compress, deflate, br”},“method”:“get”,“url”:“albums”,“baseURL”:“https://photoslibrary.googleapis.com/v1/“,“params”:{“pageSize”:50,“pageToken”:”"},"allowAbsoluteUrls”:true}
                              1|MagicMir | [2025-09-13 13:57:41.637] [ERROR] (node:1783) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 403
                              1|MagicMir | at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2031:12)
                              1|MagicMir | at Unzip.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:3148:11)
                              1|MagicMir | at Unzip.emit (node:events:526:35)
                              1|MagicMir | at endReadableNT (node:internal/streams/readable:1408:12)
                              1|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
                              1|MagicMir | at Axios.request (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:4258:41)
                              1|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                              1|MagicMir | at async GPhotos.request (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:165:19)
                              1|MagicMir | at async getAlbum (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:208:24)
                              1|MagicMir | at async GPhotos.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:180:18)
                              1|MagicMir | at async Class.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:263:15)
                              1|MagicMir | at async Class.getAlbumList (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:313:18)
                              1|MagicMir | at async Class.scanJob (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:294:5)
                              1|MagicMir | (Use electron --trace-warnings ... to show where the warning was created)
                              1|MagicMir | [2025-09-13 13:57:41.646] [ERROR] (node:1783) 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: 13)
                              1|MagicMir | [1783:0913/135904.363177:ERROR:atom_cache.cc(229)] Add WM_CHANGE_STATE to kAtomsToCache

                              /home/pi/.pm2/logs/MagicMirror-out.log last 100 lines:
                              1|MagicMir |
                              1|MagicMir | > magicmirror@2.27.0 start
                              1|MagicMir | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
                              1|MagicMir |
                              1|MagicMir | [2025-09-13 13:57:07.053] [LOG] Starting MagicMirror: v2.27.0
                              1|MagicMir | [2025-09-13 13:57:07.131] [LOG] Loading config …
                              1|MagicMir | [2025-09-13 13:57:07.145] [LOG] config template file not exists, no envsubst
                              1|MagicMir | [2025-09-13 13:57:07.167] [LOG] Loading module helpers …
                              1|MagicMir | [2025-09-13 13:57:07.488] [LOG] Initializing new module helper …
                              1|MagicMir | [2025-09-13 13:57:07.490] [LOG] Module helper loaded: MMM-Remote-Control
                              1|MagicMir | [2025-09-13 13:57:07.495] [LOG] No helper found for module: alert.
                              1|MagicMir | [2025-09-13 13:57:07.510] [LOG] Initializing new module helper …
                              1|MagicMir | [2025-09-13 13:57:07.513] [LOG] Module helper loaded: MMM-Saint
                              1|MagicMir | [2025-09-13 13:57:07.521] [LOG] Initializing new module helper …
                              1|MagicMir | [2025-09-13 13:57:07.523] [LOG] Module helper loaded: MMM-BME280
                              1|MagicMir | [2025-09-13 13:57:07.527] [LOG] No helper found for module: MMM-FlipClock.
                              1|MagicMir | [2025-09-13 13:57:07.656] [LOG] Initializing new module helper …
                              1|MagicMir | [2025-09-13 13:57:07.658] [LOG] Module helper loaded: MMM-network-signal
                              1|MagicMir | [2025-09-13 13:57:08.139] [LOG] Initializing new module helper …
                              1|MagicMir | [2025-09-13 13:57:08.141] [LOG] Module helper loaded: calendar
                              1|MagicMir | [2025-09-13 13:57:09.550] [LOG] Initializing new module helper …
                              1|MagicMir | [2025-09-13 13:57:09.551] [LOG] Module helper loaded: MMM-Jast
                              1|MagicMir | [2025-09-13 13:57:10.936] [LOG] Initializing new module helper …
                              1|MagicMir | [2025-09-13 13:57:10.938] [LOG] Module helper loaded: MMM-GooglePhotos
                              1|MagicMir | [2025-09-13 13:57:10.946] [LOG] No helper found for module: MMM-WiFiPassword.
                              1|MagicMir | [2025-09-13 13:57:10.949] [LOG] No helper found for module: MMM-OpenmapWeather.
                              1|MagicMir | [2025-09-13 13:57:10.950] [LOG] No helper found for module: MMM-WeatherOrNot.
                              1|MagicMir | [2025-09-13 13:57:11.319] [LOG] Initializing new module helper …
                              1|MagicMir | [2025-09-13 13:57:11.320] [LOG] Module helper loaded: newsfeed
                              1|MagicMir | [2025-09-13 13:57:11.321] [LOG] All module helpers loaded.
                              1|MagicMir | [2025-09-13 13:57:11.345] [LOG] Starting server on port 8080 …
                              1|MagicMir | [2025-09-13 13:57:13.570] [LOG] Server started …
                              1|MagicMir | [2025-09-13 13:57:13.583] [LOG] Connecting socket for: MMM-Remote-Control
                              1|MagicMir | [2025-09-13 13:57:13.586] [LOG] Starting node helper for: MMM-Remote-Control
                              1|MagicMir | [2025-09-13 13:57:13.718] [LOG] Connecting socket for: MMM-Saint
                              1|MagicMir | [2025-09-13 13:57:13.749] [LOG] [SAINT] MMM-Saint Version: 1.0.1
                              1|MagicMir | [2025-09-13 13:57:13.751] [LOG] Connecting socket for: MMM-BME280
                              1|MagicMir | [2025-09-13 13:57:13.774] [LOG] BME280 helper started …
                              1|MagicMir | [2025-09-13 13:57:13.778] [LOG] Connecting socket for: MMM-network-signal
                              1|MagicMir | [2025-09-13 13:57:13.781] [LOG] MMM-network-signal helper started …
                              1|MagicMir | [2025-09-13 13:57:13.805] [LOG] Connecting socket for: calendar
                              1|MagicMir | [2025-09-13 13:57:13.827] [LOG] Starting node helper for: calendar
                              1|MagicMir | [2025-09-13 13:57:13.843] [LOG] Connecting socket for: MMM-Jast
                              1|MagicMir | [2025-09-13 13:57:13.848] [LOG] MMM-Jast helper method started…
                              1|MagicMir | [2025-09-13 13:57:13.849] [LOG] Connecting socket for: MMM-GooglePhotos
                              1|MagicMir | [2025-09-13 13:57:13.851] [LOG] Connecting socket for: newsfeed
                              1|MagicMir | [2025-09-13 13:57:13.871] [LOG] Starting node helper for: newsfeed
                              1|MagicMir | [2025-09-13 13:57:13.896] [LOG] Sockets connected & modules started …
                              1|MagicMir | [2025-09-13 13:57:17.746] [LOG] Launching application.
                              1|MagicMir | [2025-09-13 13:57:34.314] [INFO] System information:
                              1|MagicMir | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
                              1|MagicMir | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 10; arch: arm; kernel: 6.12.45-v7+
                              1|MagicMir | ### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 18.18.0; npm: 9.8.1; pm2: 5.3.1
                              1|MagicMir | ### OTHER: timeZone: Europe/Paris; ELECTRON_ENABLE_GPU: undefined
                              1|MagicMir | [2025-09-13 13:57:34.482] [LOG] Create new calendarfetcher for url: https://calendar.google.com/xxx - Interval: 3600000
                              1|MagicMir | [2025-09-13 13:57:34.715] [LOG] Please consider completing the survey at https://bit.ly/yahoo-finance-api-feedback if you haven’t already; for more info see https://github.com/gadicc/node-yahoo-finance2/issues/764#issuecomment-2056623851.
                              1|MagicMir | [2025-09-13 13:57:35.087] [INFO] [GPHOTOS] [node_helper] Starting Initialization
                              1|MagicMir | [2025-09-13 13:57:35.109] [LOG] Create new newsfetcher for url: https://www.lemonde.fr/europe/rss_full.xml - Interval: 300000
                              1|MagicMir | [2025-09-13 13:57:35.129] [LOG] Fetching crumb and cookies from https://finance.yahoo.com/quote/AAPL…
                              1|MagicMir | [2025-09-13 13:57:36.151] [LOG] fetch https://guce.yahoo.com/consent?brandType=nonEu&gcrumb=Sgaifog&done=https%3A%2F%2Ffinance.yahoo.com%2Fquote%2FAAPL
                              1|MagicMir | [2025-09-13 13:57:36.878] [INFO] [GPHOTOS] [node_helper] Config or token has changed. Ignore cache
                              1|MagicMir | [2025-09-13 13:57:36.897] [INFO] [GPHOTOS] [node_helper] Initialization complete!
                              1|MagicMir | [2025-09-13 13:57:36.900] [INFO] [GPHOTOS] [node_helper] Start first scanning.
                              1|MagicMir | [2025-09-13 13:57:36.909] [INFO] [GPHOTOS] [node_helper] Start Album scanning
                              1|MagicMir | [2025-09-13 13:57:36.915] [INFO] [GPHOTOS] [node_helper] Getting album list
                              1|MagicMir | [2025-09-13 13:57:37.785] [LOG] fetch https://consent.yahoo.com/v2/collectConsent?sessionId=3_cc-session_3a9e4e96-b9eb-4aab-84b3-6fbfbbe4e547
                              1|MagicMir | [2025-09-13 13:57:38.158] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                              1|MagicMir | [2025-09-13 13:57:39.230] [INFO] Calendar-Fetcher: Broadcasting 30 events from https://calendar.google.com/calendarxxx
                              1|MagicMir | [2025-09-13 13:57:39.482] [INFO] [GPHOTOS:CORE] Getting Album info chunks.
                              1|MagicMir | [2025-09-13 13:57:40.285] [LOG] fetch https://consent.yahoo.com/v2/collectConsent?sessionId=3_cc-session_3a9e4e96-b9eb-4aab-84b3-6fbfbbe4e547
                              1|MagicMir | [2025-09-13 13:57:40.481] [LOG] fetch https://guce.yahoo.com/copyConsent?sessionId=3_cc-session_3a9e4e96-b9eb-4aab-84b3-6fbfbbe4e547&lang=fr-FR
                              1|MagicMir | [2025-09-13 13:57:40.721] [LOG] Fetching crumb and cookies from https://finance.yahoo.com/quote/AAPL?guccounter=1…
                              1|MagicMir | [2025-09-13 13:57:40.918] [LOG] Success. Cookie expires on Infinity
                              1|MagicMir | [2025-09-13 13:57:40.941] [LOG] fetch https://query1.finance.yahoo.com/v1/test/getcrumb
                              1|MagicMir | [2025-09-13 13:57:41.310] [LOG] New crumb: XcgD8zd85Vp
                              1|MagicMir | [2025-09-13 13:57:47.900] [LOG] [SAINT] Config: { debug: true, update: 60000 }
                              1|MagicMir | [2025-09-13 13:57:47.910] [LOG] [SAINT] MMM-Saint is now initialized!
                              1|MagicMir | [2025-09-13 13:57:47.918] [LOG] [SAINT] Actual Day: 13 In memory: 13
                              1|MagicMir | [2025-09-13 13:57:47.920] [LOG] [SAINT] Today 13/9: St Aimé
                              1|MagicMir | [2025-09-13 13:57:47.921] [LOG] [SAINT] Send Data to module: St Aimé
                              1|MagicMir | [2025-09-13 14:02:39.198] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                              1|MagicMir | [2025-09-13 14:07:39.774] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                              1|MagicMir | [2025-09-13 14:12:40.245] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                              1|MagicMir | [2025-09-13 14:17:40.655] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                              1|MagicMir | [2025-09-13 14:22:41.110] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.

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

                                @pat59

                                I edited out your calendar URL from the log above.
                                seems other modules are failing for no/old credentials…
                                google photos is broken as Google changed the way it works.

                                calendar and newsfeed modules say they are doing their thing…
                                there IS an old system runtime bug in here ‘possibly’ , you are 5 releases behind, 6 come Oct 1. fix is in the October release…

                                1|MagicMir | [2025-09-13 13:57:38.158] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                                1|MagicMir | [2025-09-13 13:57:39.230] [INFO] Calendar-Fetcher: Broadcasting 30 events from https://calendar.google.com/calendar/xxx
                                …
                                1|MagicMir | [2025-09-13 14:02:39.198] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                                1|MagicMir | [2025-09-13 14:07:39.774] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                                1|MagicMir | [2025-09-13 14:12:40.245] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                                1|MagicMir | [2025-09-13 14:17:40.655] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.
                                1|MagicMir | [2025-09-13 14:22:41.110] [INFO] Newsfeed-Fetcher: Broadcasting 20 items.

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pat59
                                  last edited by

                                  Hello, what I don’t understand is that it works sometimes and other times it doesn’t.
                                  Will the correction be done automatically in October? Thank you.

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

                                    @pat59 I’d like to see the log when it doesn’t work

                                    pm2 logs --lines=100 >somefile.txt 
                                    ctrl-c
                                    

                                    then send me somefile.txt

                                    my same userid at gmail

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pat59
                                      last edited by

                                      nothing happens when I try

                                      pi@raspberrypi:~ $ cd ~/MagicMirror
                                      pi@raspberrypi:~/MagicMirror $ pm2 logs --lines=100 >somefile.txt

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

                                        @pat59 it does. The command runs and all the output is sent to the file

                                        Nothing to see

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pat59
                                          last edited by

                                          @sdetweil said in update package list:

                                          alors envoie-moi somefile.txt

                                          mon même identifiant sur Gmail

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            pat59
                                            last edited by

                                            Hello
                                            Thank you. You’re asking me a question; I don’t understand your previous answers.
                                            alors envoie-moi somefile.txt

                                            mon même identifiant sur Gmail

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 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