diyHue install fails to start on HomeAssistant

User Story
As a HomeAssistant user, I want to install and run the diyHue Add-on, to manage my supported lighting devices.

Steps to Reproduce

  1. Install diyHue through the official Add-on channel per documentation

  2. Start application

  3. Open WebUI

Expected Behavior

  • for webui to become available for continued setup

Observed Behavior

  • application fails due to python exception
  • Cannot load webui
  • Logs indicate a shut-down of the application

Supplementary Information

  • Logs are as attached, with repeated entries for the expectation

Exception ignored in: <function Light.del at 0x7f85665dd1f0>
Traceback (most recent call last):
File “/opt/hue-emulator/HueObjects/init.py”, line 309, in del
ImportError: sys.meta_path is None, Python is likely shutting down
[cmd] ./run.sh exited 1
[cont-finish.d] executing container finish scripts…
[cont-finish.d] 99-message.sh: executing…

            Oops! Something went wrong.

[cont-finish.d] 99-message.sh: exited 0.
We are so sorry, but something went terribly wrong when starting or running this add-on.

Be sure to check the log above, line by line, for hints.

[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Resolved by uninstalling initial diyHue instance, manually deleting the diHue folder entirely, and reinstalling the add-on.