"Port undefined configured for this package" when re-installing bliss in Synology

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:

  1. Uninstall bliss.

Now it's time to access the Synology on the command line. Once you've logged in:

  1. Delete the /var/packages/Bliss folder:
  2. rm -rf /var/packages/Bliss
  3. Delete /usr/local/etc/services.d/Bliss.sc:
  4. rm -rf /usr/local/etc/services.d/Bliss.sc

You should then be able to re-install the bliss package.

tags: synology NAS

The Music Library Management blog

Dan Gravell

I'm Dan, the founder and programmer of bliss. I write bliss to solve my own problems with my digital music collection.