• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

[PM2][ERROR] Permission denied, to give access to current user

Scheduled Pinned Locked Moved Requests
2 Posts 2 Posters 4.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.
  • 4 Offline
    4lice
    last edited by Apr 12, 2018, 8:40 AM

    pm2 restart mm
    [PM2][ERROR] Permission denied, to give access to current user:
    $ sudo chown pi:pi /home/pi/.pm2/rpc.sock /home/pi/.pm2/pub.sock

    plzz help I want remove this everytime when i want restart

    1 Reply Last reply Reply Quote 0
    • E Offline
      E3V3A
      last edited by Apr 12, 2018, 7:33 PM

      You need to install PM2 with sudo (root).

      "Everything I do (here) is for free – altruism is the way!"
      MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        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