"Port undefined configured for this package" when re-installing bliss in Synology
January 10, 2017 in bliss by Dan Gravell
A quick, technical one for Synology users this week.
When re-installing bliss on a Synology device recently I noticed an interesting error. It appears in the DSM logs when attempting to remove and then re-install bliss. The error is:
Port undefined configured for this package.
The cause of this error is that when the package is removed from the Synology, some of the configuration files are not updated quickly enough and some old configuration is maintained, blocking the subsequent installation.
I found the most effective workaround is, as the first step:
- Uninstall bliss.
Now it's time to access the Synology on the command line. Once you've logged in:
- Delete the /var/packages/Bliss folder:
- Delete
/usr/local/etc/services.d/Bliss.sc
:
rm -rf /var/packages/Bliss
rm -rf /usr/local/etc/services.d/Bliss.sc
You should then be able to re-install the bliss package.