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.

    New installation but even default is displayed

    Scheduled Pinned Locked Moved Solved Troubleshooting
    23 Posts 2 Posters 7.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kupperma
      last edited by

      Hi,
      I have just installed https://github.com/sdetweil/MagicMirror_scripts
      MagicMirror2 is booting, I can see the splashscreen but then nothing is displayed. I did not add any module yet, no API-Keys it’s just the new installed MM.
      Here is the pm2 log mm

      ~/MagicMirror $ pm2 log mm
      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      1|mm       | [06.01.2024 12:07.46.129] [LOG]   Loading config ...
      1|mm       | [06.01.2024 12:07.46.138] [DEBUG] config template file not exists, no envsubst
      1|mm       | [06.01.2024 12:07.46.216] [LOG]   Loading module helpers ...
      1|mm       | [06.01.2024 12:07.46.255] [LOG]   No helper found for module: alert.
      1|mm       | [06.01.2024 12:07.46.750] [LOG]   Initializing new module helper ...
      1|mm       | [06.01.2024 12:07.46.752] [LOG]   Module helper loaded: updatenotification
      1|mm       | [06.01.2024 12:07.46.815] [LOG]   No helper found for module: clock.
      1|mm       | [06.01.2024 12:07.48.676] [LOG]   Initializing new module helper ...
      1|mm       | [06.01.2024 12:07.48.678] [LOG]   Module helper loaded: calendar
      1|mm       | [06.01.2024 12:07.48.724] [LOG]   No helper found for module: compliments.
      1|mm       | [06.01.2024 12:07.48.726] [LOG]   No helper found for module: weather.
      1|mm       | [06.01.2024 12:07.49.978] [LOG]   Initializing new module helper ...
      1|mm       | [06.01.2024 12:07.49.979] [LOG]   Module helper loaded: newsfeed
      1|mm       | [06.01.2024 12:07.49.980] [LOG]   All module helpers loaded.
      1|mm       | [06.01.2024 12:07.50.118] [LOG]   Starting server on port 8080 ... 
      
      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      1|mm       |   errno: -98,
      1|mm       |   syscall: 'listen',
      1|mm       |   address: '::1',
      1|mm       |   port: 8080
      1|mm       | }
      1|mm       | [06.01.2024 12:07.55.424] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      1|mm       | [06.01.2024 12:07.55.435] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      1|mm       | Warning: vkCreateInstance: Found no drivers!
      1|mm       | Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
      1|mm       |     at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
      1|mm       |     at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
      1|mm       |     at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
      1|mm       |     at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
      1|mm       |     at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
      1|mm       | 
      

      Can anybody tell me what I do not see?

      Manfred

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

        @kupperma run my backup/restore script… it saves all that and can be loaded up to github and versioned and restored from there

        https://github.com/sdetweil/MagicMirror-backup-restore

        it saves links to all the modules and restores from the links

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @kupperma was this a new SD card install?

          that error means some other app is using port 8080.

          mm is not the name of my pm2 mm task, so it sounds like you tried the manual way and it is running too

          pm2 status
          

          will show the managed apps

          pm2 stop all
          pm2 start MagicMirror
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • K Offline
            kupperma
            last edited by

            Hi,
            I did what you asked:

            pm2 start MagicMirror
            [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
            [PM2] [MagicMirror](0) ✓
            [PM2] Process successfully started
            ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
            │ id  │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
            ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
            │ 0   │ MagicMirror    │ default     │ 2.26.0  │ fork    │ 4369     │ 0s     │ 0    │ online    │ 0%       │ 2.8mb    │ pi       │ disabled │
            │ 1   │ mm             │ default     │ N/A     │ fork    │ 0        │ 0      │ 1    │ stopped   │ 0%       │ 0b       │ pi       │ disabled │
            
            

            I wonder why “watching” is disabled.

            Manfred

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

              @kupperma and did that bring up MagicMirror?

              if so, you can delete the mm definition

              pm2  delete mm
              pm2 save
              

              watching
              the system maybe doesn’t that support… in my json file I request it

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • K Offline
                kupperma
                last edited by

                I deleted mm

                But no, MagicMirror does not appear.
                pm2 status looks like that now:

                ~/MagicMirror $ pm2 status
                ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
                │ id  │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
                ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
                │ 0   │ MagicMirror    │ default     │ 2.26.0  │ fork    │ 4369     │ 6m     │ 0    │ online    │ 0%       │ 2.8mb    │ pi       │ disabled │
                
                
                S 1 Reply Last reply Reply Quote 1
                • S Offline
                  sdetweil @kupperma
                  last edited by

                  @kupperma where are you doing the pm2 start?

                  on the MM system screen in a terminal window
                  over ssh
                  over vnc
                  ???

                  lets try this, without pm2 involved

                  pm2 stop all
                  cd ~/MagicMirror
                  npm start 
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kupperma
                    last edited by

                    Here is the output:

                    npm start
                    
                    > magicmirror@2.26.0 start
                    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                    
                    [06.01.2024 15:56.41.020] [LOG]   Starting MagicMirror: v2.26.0
                    [06.01.2024 15:56.41.030] [LOG]   Loading config ...
                    [06.01.2024 15:56.41.035] [DEBUG] config template file not exists, no envsubst
                    [06.01.2024 15:56.41.042] [LOG]   Loading module helpers ...
                    [06.01.2024 15:56.41.044] [LOG]   No helper found for module: alert.
                    [06.01.2024 15:56.41.095] [LOG]   Initializing new module helper ...
                    [06.01.2024 15:56.41.097] [LOG]   Module helper loaded: updatenotification
                    [06.01.2024 15:56.41.098] [LOG]   No helper found for module: clock.
                    [06.01.2024 15:56.41.376] [LOG]   Initializing new module helper ...
                    [06.01.2024 15:56.41.378] [LOG]   Module helper loaded: calendar
                    [06.01.2024 15:56.41.380] [LOG]   No helper found for module: compliments.
                    [06.01.2024 15:56.41.381] [LOG]   No helper found for module: weather.
                    [06.01.2024 15:56.41.580] [LOG]   Initializing new module helper ...
                    [06.01.2024 15:56.41.581] [LOG]   Module helper loaded: newsfeed
                    [06.01.2024 15:56.41.581] [LOG]   All module helpers loaded.
                    [06.01.2024 15:56.41.597] [LOG]   Starting server on port 8080 ... 
                    [06.01.2024 15:56.42.098] [LOG]   Server started ...
                    [06.01.2024 15:56.42.099] [LOG]   Connecting socket for: updatenotification
                    [06.01.2024 15:56.42.101] [LOG]   Starting module helper: updatenotification
                    [06.01.2024 15:56.42.102] [LOG]   Connecting socket for: calendar
                    [06.01.2024 15:56.42.103] [LOG]   Starting node helper for: calendar
                    [06.01.2024 15:56.42.104] [LOG]   Connecting socket for: newsfeed
                    [06.01.2024 15:56.42.105] [LOG]   Starting node helper for: newsfeed
                    [06.01.2024 15:56.42.106] [LOG]   Sockets connected & modules started ...
                    [06.01.2024 15:56.42.132] [LOG]   Launching application.
                    [06.01.2024 15:56.45.490] [LOG]   Create new calendarfetcher for url: https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics - Interval: 604800000
                    [06.01.2024 15:56.45.911] [LOG]   Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                    [06.01.2024 15:56.45.924] [INFO]  updatenotification: Updater Class Loaded!
                    [06.01.2024 15:56.45.926] [INFO]  updatenotification: Checking PM2 using...
                    [06.01.2024 15:56.45.931] [INFO]  Checking git for module: MagicMirror
                    [06.01.2024 15:56.47.527] [INFO]  Calendar-Fetcher: Broadcasting 12 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
                    [06.01.2024 15:56.47.822] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
                    [06.01.2024 15:56.48.421] [INFO]  updatenotification: You are not using pm2
                    
                    
                    
                    
                    S 1 Reply Last reply Reply Quote 1
                    • S Offline
                      sdetweil @kupperma
                      last edited by

                      @kupperma cool… thats good… tell me about the physical system hookup
                      where is the physical display?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kupperma
                        last edited by

                        Sorry forgot to answer:
                        I am on the raspberrypi over ssh.

                        The Display is connected directly via the HDMI Port of the pi . All equipment is right at arm distance, because I’m setting it up first before staching it behind the actual mirror.
                        But I am on the pi via ssh so that later I can do updates and probably adding new modules .

                        Manfred

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

                          @kupperma which kind of pi? if Pi 4/5 is the port on the left (closest to power) hdmi port?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            kupperma
                            last edited by kupperma

                            This is an pi 3 Model B V1.2
                            the HDMI is about 2 Centimeters right to the MicroUSB Power input.

                            I updated to raspianOS bookworm first.
                            Manfred

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

                              @kupperma weird…

                              do you have keyboard to pi system desktop?

                              if so, ctrl-alt-t to open a terminal window and do

                              echo $DISPLAY

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kupperma
                                last edited by kupperma

                                Yes I have_
                                Ok this does not work.
                                So it seems to be raspianOS failure.

                                S 2 Replies Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @kupperma
                                  last edited by sdetweil

                                  @kupperma I ONLY use SSH to install MM… never use the actual display.

                                  have pi 0w, 02w, 3, 4,5 odroid, jetson nano, chromebox, chromebook,
                                  and multiple virtual machines under vmware

                                  NEVER seen npm run start say successful but not see it on screen…

                                  also, on the screen if u can,
                                  ctrl-c to stop the in ssh version
                                  on screen
                                  cd ~/Magicmirror
                                  npm start

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @kupperma said in New installation but even default is displayed:

                                    Ok this does not work.

                                    what does not work?

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kupperma
                                      last edited by

                                      The display does not react to ctrl-alt-t and there is no terminal visible.

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

                                        @kupperma ok, on the menu bar there is a terminal window, click that

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kupperma
                                          last edited by

                                          I know what you mean:

                                          in an earlier installation I could move the mouse and the menubar got visible or I could press F11 and the menubar got visible. But now nothing works.
                                          So should I reinstall raspian and start from the beginning or is there a work a round?

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

                                            @kupperma can u reboot? does anything change? again weird…

                                            did you have MM running before? what would you lose starting over?

                                            IF you start over,
                                            new flash
                                            boot, skip updates,
                                            reboot turn on ssh

                                            then run my install script… it will update system, install node, then mm…

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 0
                                            • K Offline
                                              kupperma
                                              last edited by

                                              I start over!
                                              Thanks for the checklist.
                                              I wont loose much for my custom.css , config.js I have the code copied in a textfile. The modules I would have to reinstall but thats ok.

                                              Thank you for your time.
                                              Manfred

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