MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    mmm assistant mk2

    Scheduled Pinned Locked Moved Troubleshooting
    112 Posts 12 Posters 45.2k Views 11 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.
    • ? Offline
      A Former User
      last edited by A Former User

      @dvbit try this:
      launch it in root directly in RPI terminal (not ssh)

      cd ~/MagicMirror
      sudo ./node_modules/.bin/electron js/electron.js --no-sandbox
      

      give me result

      S 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        @chris: token.json file must be located in ~/MagicMirror/modules/MMM-GoogleAssistant/token.json

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

          @Bugsounet u can also run the fixsandbox script from my repo
          https://github.com/sdetweil/MagicMirror_scripts

          if they use my installer I fix it… otherwise they either need the --nosandbox or run my script

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            sam, i suspect a bug in electron

            chown root and chmod 4755 ?

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

              @Bugsounet yes, what my script does…

              not a bug, new feature

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by

                yes but i don’t understand why … with pulseaudio there is no sound but with root it’s works …

                There is a permission missing somewhere

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

                  @Bugsounet sorry, got no idea what the side effects are…

                  they wanted some additional security

                  are u launching a player as a background task, or playing direct to the device? if the latter then u get all the security crap

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by A Former User

                    sam:

                    in RPI4: it’s works

                    pi@Raspberry:~/MagicMirror/node_modules/electron/dist $ ls -la
                    total 107516
                    drwxr-xr-x 4 pi   pi     4096 mai   20 15:23 .
                    drwxr-xr-x 3 pi   pi     4096 juin   1 13:37 ..
                    -rw-r--r-- 1 pi   pi   145945 mai   20 15:23 chrome_100_percent.pak
                    -rw-r--r-- 1 pi   pi   209147 mai   20 15:23 chrome_200_percent.pak
                    -rwsr-xr-x 1 root pi  4204060 mai   20 15:23 chrome-sandbox
                    
                    

                    i have no idea if @dvbit it’s the same

                    Note: this Issue take me head since 6 month

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

                      @Bugsounet yes, added in V6 of electron (and chrome 45 I think?) we are running 6.1.7

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User
                        last edited by

                        pi@Raspberry:~/MagicMirror/node_modules/electron/dist $ ./electron -v
                        v6.1.12

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 11
                        • 12
                        • 5 / 12
                        • 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