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.

    After update, chrome-sandbox needs root and mode 4655?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    27 Posts 4 Posters 12.3k Views 4 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 Do not disturb
      sdetweil @karsten13
      last edited by

      @karsten13 weird. I didn’t test w 2.10, but did 2.9 and changed to electron to 6.0.12

      Never had a problem. Pi 3 and 4, odroid, Jetson nano.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • R Offline
        Richard238 @karsten13
        last edited by

        @karsten13 said in After update, chrome-sandbox needs root and mode 4655?:

        So are you using the develop-branch or have you edited package.json und upgraded electron?

        Neither that I am aware of.
        All I did was apply a batch of commits.

        1 Reply Last reply Reply Quote 0
        • karsten13K Online
          karsten13
          last edited by

          may you can give us more infos about your setup.

          Please navigate to your magic mirror dir (/home/pi/MagicMirror) and post the result of

          • cat package.json
          • git status
          • node -v
          • npm -v
          1 Reply Last reply Reply Quote 0
          • R Offline
            Richard238
            last edited by

            • Cat package.json
            pi@pi_mirror:~/MagicMirror $ cat package.json
            {
              "name": "magicmirror",
              "version": "2.11.0-develop",
              "description": "The open source modular smart mirror platform.",
              "main": "js/electron.js",
              "scripts": {
                "start": "./run-start.sh",
                "install": "cd vendor && npm install",
                "install-fonts": "cd fonts && npm install",
                "postinstall": "sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts",
                "test": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests --recursive",
                "test:unit": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/unit --recursive",
                "test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive",
                "config:check": "node tests/configs/check_config.js",
                "lint": "grunt"
              },
              "repository": {
                "type": "git",
                "url": "git+https://github.com/MichMich/MagicMirror.git"
              },
              "keywords": [
                "magic mirror",
                "smart mirror",
                "mirror UI",
                "modular"
              ],
              "author": "Michael Teeuw",
              "contributors": [
                "https://github.com/MichMich/MagicMirror/graphs/contributors"
              ],
              "license": "MIT",
              "bugs": {
                "url": "https://github.com/MichMich/MagicMirror/issues"
              },
              "homepage": "https://magicmirror.builders",
              "devDependencies": {
                "chai": "^4.1.2",
                "chai-as-promised": "^7.1.1",
                "current-week-number": "^1.0.7",
                "danger": "^3.1.3",
                "grunt": "latest",
                "grunt-eslint": "latest",
                "grunt-jsonlint": "latest",
                "grunt-markdownlint": "latest",
                "grunt-stylelint": "latest",
                "grunt-yamllint": "latest",
                "http-auth": "^3.2.3",
                "jsdom": "^11.6.2",
                "jshint": "^2.10.2",
                "mocha": "^7.0.0",
                "mocha-each": "^1.1.0",
                "mocha-logger": "^1.0.6",
                "spectron": "^8.0.0",
                "stylelint": "latest",
                "stylelint-config-standard": "latest",
                "time-grunt": "latest"
              },
              "optionalDependencies": {
                "electron": "^6.1.7"
              },
              "dependencies": {
                "colors": "^1.1.2",
                "console-stamp": "^0.2.9",
                "express": "^4.16.2",
                "express-ipfilter": "^1.0.1",
                "feedme": "latest",
                "helmet": "^3.21.2",
                "iconv-lite": "latest",
                "lodash": "^4.17.15",
                "module-alias": "^2.2.2",
                "moment": "latest",
                "request": "^2.88.0",
                "rrule": "^2.6.2",
                "rrule-alt": "^2.2.8",
                "simple-git": "^1.85.0",
                "socket.io": "^2.1.1",
                "valid-url": "latest"
              },
              "_moduleAliases": {
                "node_helper": "js/node_helper.js"
              }
            }
            pi@pi_mirror:~/MagicMirror $ 
            
            
            • GIT Status:
            pi@pi_mirror:~/MagicMirror $ git status
            On branch develop
            Your branch is behind 'origin/develop' by 17 commits, and can be fast-forwarded.
              (use "git pull" to update your local branch)
            Changes not staged for commit:
              (use "git add <file>..." to update what will be committed)
              (use "git checkout -- <file>..." to discard changes in working directory)
            
            	modified:   css/main.css
            
            Untracked files:
              (use "git add <file>..." to include in what will be committed)
            
            	InstallGuideURL.txt
            	MMM-EventHorizon/
            	READ_ME.txt
            	core
            	css/customOLD.css
            	modules/default/calendar/calendar1.js
            	modules/default/compliments/compliments.js.ORIG
            	modules/default/compliments/compliments.json
            	modules/default/compliments/compliments2.js
            
            no changes added to commit (use "git add" and/or "git commit -a")
            
            • Node Version:
            pi@pi_mirror:~/MagicMirror $ node -v
            v6.9.5
            
            • NPM Version:
            pi@pi_mirror:~/MagicMirror $ npm -v
            3.10.10
            
            1 Reply Last reply Reply Quote 0
            • karsten13K Online
              karsten13
              last edited by

              thx, so you are on the develop branch with electron 6.x

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @karsten13
                last edited by

                @karsten13 and old node and npm

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • karsten13K Online
                  karsten13
                  last edited by

                  yes, saw that, but my tests were run with

                  node@pi4:/opt/magic_mirror$ node -v
                  v13.5.0
                  node@pi4:/opt/magic_mirror$ npm -v
                  6.13.4
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @karsten13
                    last edited by sdetweil

                    @karsten13 u are ok, he is downlevel…

                    installer is still only checking node 10 minimum… should I change it?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • karsten13K Online
                      karsten13
                      last edited by

                      thats your decision, this problem seems unrelated to the node/npm version, but so old stuff can cause other problems, so may you should warn at least …

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @karsten13
                        last edited by

                        @karsten13 if installer is used, i upgrade to latest 10.x, and latest npm… don’t warn

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        karsten13K 1 Reply Last reply Reply Quote 0
                        • karsten13K Online
                          karsten13 @sdetweil
                          last edited by

                          o.k., so your question was about using a newer node version than 10? Maybe the latest lts version, I’m not sure, think this is 12.

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @karsten13
                            last edited by

                            @karsten13 both 10 and 12 are lts, 12 just started, 10 entering maint in April, 12 enters maint in october

                            Release Status Codename Initial Release Active LTS Start Maintenance LTS Start End-of-life
                            v10 Active LTS Dubnium 2018-04-24 2018-10-30 2020-04-01 2021-04-30
                            v12 Active LTS Erbium 2019-04-23 2019-10-21 2020-10-21 2022-04-30

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              Richard238
                              last edited by

                              Would it be advisable then, regardless of the chrome-sandbox issue, to update NODE and NPM on my MM?

                              If so how, and to which version of each?

                              1 Reply Last reply Reply Quote 0
                              • karsten13K Online
                                karsten13
                                last edited by

                                I think they all work, you’re using 10, the official docker image uses 12 and I’m using 13 in my images …

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Saabman Project Sponsor
                                  last edited by

                                  I realize this is an old topic but the issue has raised its head a couple of times for me recently doing fresh installs on Debian 10 ( not on a Pi but on some intel boxes)

                                  The OP’s solution in the first post resolved it problem - Thankyou

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @Saabman
                                    last edited by sdetweil

                                    @saabman also my updater and installer fix this as well as a separate script to fix sandbox

                                    see https://github.com/sdetweil/MagicMirror_scripts

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    S 1 Reply Last reply Reply Quote 1
                                    • S Offline
                                      Saabman Project Sponsor @sdetweil
                                      last edited by

                                      @sdetweil cheers thankyou for your fine work

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