What you appear to be showing me is @appstore. (aka /var/packages/PlexMediaServer) from before PMS 1.24.2.4973. Only /var/packages/PlexMediaServer has etc, target, var, and WIZARD_FILES (which is the package itself … None of this is your server metadata.
Since you seem capable, here’s where it all happens
# Where is the shared folder and other variables?
PlexPkgShare="/var/packages/PlexMediaServer/shares/PlexMediaServer"
PlexPkgHome="$PlexPkgShare/AppData"
# In event not provided
[ "$SYNOPKG_PKGHOME" = "" ] && SYNOPKG_PKGHOME=/var/packages/PlexMediaServer/home
[ "$SYNOPKG_PKGDEST" = "" ] && SYNOPKG_PKGDEST=/var/packages/PlexMediaServer/target
[ "$SYNOPKG_PKGTMP" = "" ] && SYNOPKG_PKGTMP=/var/packages/PlexMediaServer/tmp
[ "$SYNOPKG_TEMP_LOGFILE" = "" ] && SYNOPKG_TEMP_LOGFILE=/dev/tty
# Make certain destination writeable
if [ ! -w "$PlexPkgShare" ]; then
# Brief message - Cannot write to shared folder
{
echo "<br><STRONG>ERROR: <strong>System Internal User PlexMediaServer cannot write to shared folder PlexMediaServer</strong>.<br>"
echo "<br><STRONG>El usuario interno del sistema PlexMediaServer no puede escribir en la carpeta compartida PlexMediaServer</strong>.<br>"
echo "<br><STRONG>L'utilisateur interne du système PlexMediaServer ne peut pas écrire dans le dossier partagé PlexMediaServer</strong>.<br>"
echo "<br><STRONG>Systeminterner Benutzer PlexMediaServer kann nicht in den freigegebenen Ordner PlexMediaServer schreiben</strong>.<br>"
echo "<br><STRONG>システム内部ユーザーPlexMediaServerは共有フォルダーPlexMediaServerrに書き込めません</strong>.<br>"
echo "<br><STRONG>시스템 내부 사용자 PlexMediaServer는 공유 폴더 PlexMediaServer에 쓸 수 없습니다.</strong>.<br>"
echo "<br><STRONG>系统内部用户 PlexMediaServer 无法写入共享文件夹 PlexMediaServer</strong>.</p><br>"
} >> "$SYNOPKG_TEMP_LOGFILE"
exit 150
fi
DSM creates PlexMediaServer because I request it.
It grants PlexMediaServer R/W permissions.
Just tried that, same problem, the web GUI loads up but it’s still showing the server as offline, I also tried setting the permissions again, stopping and starting the server through Package Center but the server is still offline, the new (unwanted one) is showing as online, that’s the empty one that was created at some point during the whole updating to 1.24.2.4973.
Since you’re at the shell, and have a big mess to clean up
IFF there is no version of Plex installed
rm -rf /var/packages/PlexMediaServer
Restart the Syno
I think what happened is the syno rebooted / got interrupted somehow during installation cause you show an installing file (DSM marker file) in the package directory.
We need to erase all this and start fresh so the base package can install.