I’ve recently started using the Plex autoupdate bash script by @michealespinola (A new/revamped bash script to auto-update Plex on the Synology NAS platform) on my DS116. The script relies on uname -m to retreive the CPU architecture and then checks the Plex json file for this architecture to retrieve the right update URL.
For both the DS116 (Armada 385) and DS414 (Armada XP) uname -m returns armv7l, but both NASes require different ARMv7 Plex versions, as also stated on the Plex Media Server download page.
Both NASes are supported by Plex according to the Plex NAS Compatibility spreadsheet and the package page on the Synology website.
It seems that @ckbcowboy solved it in his update script by manually mapping several ARMv7 devices with their intended Plex server version, but obviously this is not preferable.
Is there another way to retrieve the right architecture without manually mapping the different ARMv7 NASes to the right Plex version?
Original discussion:
DS116 architecture not in Plex JSON · Issue #7 · michealespinola/syno.plexupdate (github.com)