# Initiate update remotely using SSH?

**URL:** <https://forums.plex.tv/t/initiate-update-remotely-using-ssh/115652>\
**Category:** Apps & Creations\
**Created:** [September 14, 2015, 5:16am UTC](https://forums.plex.tv/t/initiate-update-remotely-using-ssh/115652 "2015-09-14T05:16:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjaminwolf](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/benjaminwolf/32/4305_2.png) [@benjaminwolf](https://forums.plex.tv/u/benjaminwolf)\
**Post date:** [September 14, 2015, 5:16am UTC](https://forums.plex.tv/t/initiate-update-remotely-using-ssh/115652/1 "2015-09-14T05:16:40Z")

</div>

Is there a script or command that can check for an update, download, and install said update remotely via SSH? I’m setting up Rasplex remotely for a disabled relative and I was hoping to be able to manage it this way.

The GUI obviously is kicking off some code to accomplish these same tasks.

---

<div class="post-metadata">

**Author:** ![Kwiboo](https://avatars.discourse-cdn.com/v4/letter/k/f14d63/32.png) [@Kwiboo](https://forums.plex.tv/u/Kwiboo)\
**Post date:** [September 15, 2015, 6:48pm UTC](https://forums.plex.tv/t/initiate-update-remotely-using-ssh/115652/2 "2015-09-15T18:48:46Z")

</div>

Get the `RasPlex-<model>.RP-0.7.1.tar.gz` file from [https://github.com/RasPlex/RasPlex/releases/tag/0.7.1](https://github.com/RasPlex/RasPlex/releases/tag/0.7.1), unpack `KERNEL*` and `SYSTEM*` from the `target` folder and place them in `/storage/.update/`.  
A reboot later and the device should run RasPlex 0.7.1.

---

<div class="post-metadata">

**Author:** ![benjaminwolf](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/benjaminwolf/32/4305_2.png) [@benjaminwolf](https://forums.plex.tv/u/benjaminwolf)\
**Post date:** [September 16, 2015, 4:02pm UTC](https://forums.plex.tv/t/initiate-update-remotely-using-ssh/115652/3 "2015-09-16T16:02:56Z")

</div>

Thanks Kwiboo! Is this a non-destructive update like the GUI update mechanism uses? I have some openvpn files and service I need to remain online or I’ll lose the remote connection completely.

---

<div class="post-metadata">

**Author:** ![Kwiboo](https://avatars.discourse-cdn.com/v4/letter/k/f14d63/32.png) [@Kwiboo](https://forums.plex.tv/u/Kwiboo)\
**Post date:** [September 16, 2015, 4:36pm UTC](https://forums.plex.tv/t/initiate-update-remotely-using-ssh/115652/4 "2015-09-16T16:36:55Z")

</div>

Correct, the GUI update does exactly the same thing, downloads and puts `KERNEL*` and `SYSTEM*` in `/storage/.update/` and then reboots.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 7:04pm UTC](https://forums.plex.tv/t/initiate-update-remotely-using-ssh/115652/5 "2020-01-08T19:04:44Z")

</div>


