{"id":16859587,"url":"https://github.com/cowboy/synology-update-plex","last_synced_at":"2025-04-05T09:07:08.144Z","repository":{"id":46110464,"uuid":"250835735","full_name":"cowboy/synology-update-plex","owner":"cowboy","description":"Script to Auto Update Plex Media Server on Synology NAS","archived":false,"fork":false,"pushed_at":"2024-11-02T22:29:09.000Z","size":51,"stargazers_count":114,"open_issues_count":0,"forks_count":21,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-29T08:07:16.652Z","etag":null,"topics":["bash","cli","plex","plex-media-server","synology","synology-nas"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cowboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-28T15:56:27.000Z","updated_at":"2025-03-16T22:54:37.000Z","dependencies_parsed_at":"2024-10-27T12:09:06.550Z","dependency_job_id":"5f6ba203-81e9-41f0-b808-df4a269fac6e","html_url":"https://github.com/cowboy/synology-update-plex","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy%2Fsynology-update-plex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy%2Fsynology-update-plex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy%2Fsynology-update-plex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowboy%2Fsynology-update-plex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cowboy","download_url":"https://codeload.github.com/cowboy/synology-update-plex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312078,"owners_count":20918344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cli","plex","plex-media-server","synology","synology-nas"],"created_at":"2024-10-13T14:18:30.817Z","updated_at":"2025-04-05T09:07:08.108Z","avatar_url":"https://github.com/cowboy.png","language":"Shell","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=RRUNYDUYBAH58\u0026source=url"],"categories":[],"sub_categories":[],"readme":"# synology-update-plex\n\u003e Script to Auto Update Plex Media Server on Synology NAS\n\n[![Latest Release](https://img.shields.io/github/v/release/cowboy/synology-update-plex)][release]\n[![Test](https://github.com/cowboy/synology-update-plex/workflows/Test/badge.svg)][test-master]\n[![Donate](https://img.shields.io/badge/Support%20this%20project!-$5-success)][donate]\n\n## Goals\n\n- Make the echoed messages super clear\n- Make the version checking logic as smart as possible\n- Ensure the script fails if there are any errors\n- Ensure temp files are cleaned up properly\n- Write bash code as idiomatically as possible\n- Attempt to find the \"Plex Media Server\" directory that contains Preferences.xml efficiently\n- Attempt to support all Synology NAS architectures\n\n## Usage\n\nFirst, SSH into your NAS, save the [latest release][release] update-plex.sh script somewhere and set it as executable:\n\n```sh\n$ ssh you@IP_OF_YOUR_NAS\nyou@yournas:~$ wget \"https://github.com/cowboy/synology-update-plex/releases/latest/download/update-plex.sh\"\nyou@yournas:~$ chmod a+x update-plex.sh\n```\n\nThen, create a Scheduled Task with a User-defined script in the Synology DSM Control Panel:\n- Ensure the User is `root`\n- Ensure the Run command is `/path/to/update-plex.sh`\n- Add the `--plex-pass` option (eg. `/path/to/update-plex.sh --plex-pass`) if you have Plex Pass and want to enable early access / beta releases\n\n## Caveats\n\n[donate]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=RRUNYDUYBAH58\u0026source=url\n[test-master]: https://github.com/cowboy/synology-update-plex/actions?query=workflow%3ATest+branch%3Amaster\n[release]: https://github.com/cowboy/synology-update-plex/releases/latest\n[issue]: https://github.com/cowboy/synology-update-plex/issues\n[pr]: https://github.com/cowboy/synology-update-plex/pulls\n\n- Be careful when SSHing into your NAS. I'm not responsible if you break anything!\n- This script may contain bugs. I'm not responsible if it breaks anything!\n- This script has been tested on a Synology DS918+ NAS running DSM 7. It should work with other Synology NAS models.\n- This script assumes Plex was installed manually from https://www.plex.tv/media-server-downloads/.\n- This script sends \"Plex Media Server\" notifications as \"Package Center\" because it's simpler than doing it any other way.\n\n## Common Issues\n\n- If the script is trying to download the wrong release file for your NAS, please see the comments at the top of the [get_arch](/test/get_arch.bats) test suite.\n- If the script fails with `Unable to find \"Plex Media Server\" directory` when `--plex-pass` is specified, you may need to manually change `/volume*` in the script to your volume's root path.\n- If the script fails with `error = [289]` while installing package, [add Plex as a trusted publisher for package installations](https://support.plex.tv/hc/en-us/articles/205165858).\n\nIf you find a bug or an issue not listed here, please [file an issue][issue] or [create a pull request][pr]. Explain the situation and include all script output.\n\n\n## References\n\nAdapted from work first published at:\n- https://forums.plex.tv/t/script-to-auto-update-plex-on-synology-nas-rev4/479748\n\nIncluding other update scripts such as:\n- https://github.com/martinorob/plexupdate\n- https://github.com/nitantsoni/plexupdate\n- https://gist.github.com/seanhamlin/dcde16a164377dca87a798a4c2ea051c\n- https://forums.plex.tv/t/script-to-auto-update-plex-on-synology-nas-rev4/479748/67\n\n## License\n\n[![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)\n\nTo the extent possible under law, Ben Alman has waived all copyright and related or neighboring rights to this work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcowboy%2Fsynology-update-plex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcowboy%2Fsynology-update-plex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcowboy%2Fsynology-update-plex/lists"}