Phlex install 'Line 6 Command Not Found'

I’m trying to install Phlex on a HASSIO docker VM running on an ESXi box.

When starting it, I the log looks like this:

[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] phlex.sh: executing... 
[cont-init.d] phlex.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
./run: line 6: bashio::log.info: command not found
[services.d] done.
[01:35:38] INFO: Starting NGinx...

When I open the webui for Phlex, I log in to Plex to authorise the addon, and then get stuck on a loading spinner indefinitely. I wonder if that ‘line 6: bashio’ error has something to do with it.

Anyone else experienced this? Thanks for any help!

I am getting this exact same error