PLEXPY ON PR4100

I finally got around to figuring out how to get plexpy to start automatically after a reboot.

This should have been easy with the "docker update --restart=always " command, but the version of Docker installed is old and doesn’t have that command. Instead, you need to edit the option manually.

  1. Log into your mycloud with Putty or another SSH client (log in as root)
  2. cd /var/lib/docker/containers/
  3. docker ps -a
  4. Find the container id for linuxserver/plexpy
  5. Change directories to the folder that starts with the container id.
  6. Edit hostconfig.json with VI and change:
    “RestartPolicy”:{“Name”:“no”,
    to
    “RestartPolicy”:{“Name”:“always”,

The system has VI installed, which you can use to edit the file.

  1. vi hostconfig.jason
  2. i to enter text insert mode
  3. change the text
  4. to exit insert mode
  5. :wq to save and exit