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.

    Magic Mirror doesn't work after a boot

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

      @eightbit I just forgot, did you remove the autostart setup u added in the services?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Reply Quote 0
      • E Offline
        eightbit @eightbit
        last edited by

        /home/secretsanta/.pm2/logs/MagicMirror-error.log last 15 lines:
        /home/secretsanta/.pm2/logs/MagicMirror-out.log last 15 lines:
        0|MagicMir | [14.12.2023 07:44.23.049] [LOG] No helper found for module: alert.
        0|MagicMir | [14.12.2023 07:44.23.234] [LOG] Initializing new module helper ...
        0|MagicMir | [14.12.2023 07:44.23.248] [LOG] Module helper loaded: updatenotification
        0|MagicMir | [14.12.2023 07:44.46.958] [LOG] Initializing new module helper ...
        0|MagicMir | [14.12.2023 07:44.46.963] [LOG] Module helper loaded: MMM-GooglePhotos
        0|MagicMir | [14.12.2023 07:44.46.988] [LOG] All module helpers loaded.
        0|MagicMir | [14.12.2023 07:44.47.103] [LOG] Starting server on port 8080 ...
        0|MagicMir | [14.12.2023 07:44.47.496] [LOG] Server started ...
        0|MagicMir | [14.12.2023 07:44.47.499] [LOG] Connecting socket for: updatenotification
        0|MagicMir | [14.12.2023 07:44.47.503] [LOG] Starting module helper: updatenotification
        0|MagicMir | [14.12.2023 07:44.47.525] [LOG] Connecting socket for: MMM-GooglePhotos
        0|MagicMir | [14.12.2023 07:44.47.527] [LOG] Sockets connected & modules started ...
        0|MagicMir | [14.12.2023 07:44.47.529] [LOG]
        0|MagicMir | Ready to go! Please point your browser to: http://localhost:8080
        0|MagicMir | Starting chromium browser now, have patience, it takes a minute
        
        
        S 1 Reply Last reply Reply Quote 0
        • E Offline
          eightbit @sdetweil
          last edited by

          @sdetweil Yea I cleared out the systemd services I tried to enabled. They are disabled and stopped. I also tried an rc.local startup file to run the .sh file which never worked. I know that’s depreciated but desperate times and desperate measures lol.

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

            @eightbit what device is this… you are using my install script which launches

            run-start.sh

            this is reserved for armv6 devices…
            can u check the autostart

            did you do this??? (answer should be no)
            https://docs.magicmirror.builders/configuration/autostart.html#using-systemd-systemctl

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @eightbit also do a

              free -m

              see how big the swap space is and total memory

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil Raspberry Pi 3 Model B Rev 1.2

                I did try to use systemd but it did not work so I disabled and deleted all the systemd attempts.

                1 Reply Last reply Reply Quote 1
                • E Offline
                  eightbit @sdetweil
                  last edited by sdetweil

                  @sdetweil

                  secretsanta@raspberrypi:~ $ free -m
                                 total        used        free      shared  buff/cache   available
                  Mem:             921         265          94           6         561         594
                  Swap:           1861           1        1860
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @eightbit
                    last edited by

                    @eightbit can u show me the “start”: from package.json

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    E 1 Reply Last reply Reply Quote 1
                    • E Offline
                      eightbit @sdetweil
                      last edited by sdetweil

                      @sdetweil

                         "start":"./run-start.sh $1",
                         "start":"./run-start.sh $1",
                                     "server": "node ./serveronly",
                                     "install-mm": "npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev",
                                     "install-mm:dev": "npm install --no-audit --no-fund --no-update-notifier",
                                     "install-vendor": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
                                     "install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
                                     "postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
                                     "test": "NODE_ENV=test jest -i --forceExit",
                                     "test:coverage": "NODE_ENV=test jest --coverage -i --verbose false --forceExit",
                                     "test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
                                     "test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
                                     "test:unit": "NODE_ENV=test jest --selectProjects unit",
                                     "test:prettier": "prettier . --check",
                                     "test:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --confi>
                                     "test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
                                     "test:calendar": "node ./modules/default/calendar/debug.js",
                                     "config:check": "node js/check_config.js",
                                     "lint:prettier": "prettier . --write",
                                     "lint:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --confi>
                                     "lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json --fix",
                                     "lint:staged": "lint-staged",
                                     "prepare": "[ -f node_modules/.bin/husky ] && husky install || echo no husky installed."
                      
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @eightbit
                        last edited by sdetweil

                        @eightbit

                        delete one of them and replace the other with

                        		"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
                        

                        also do uname -a

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        E 2 Replies Last reply Reply Quote 1
                        • 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