Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Hi,

good catch β€” and thanks for the detailed error message. This is a known issue with the asyncssh library that OCT uses internally.

What's happening

The error Unknown local username: set one of LOGNAME, USER, LNAME, or USERNAME in the environment comes from the SSH library trying to determine the local username on the OCT server side (not the SoundTouch device). On TrueNAS Scale, Docker containers sometimes don't have these standard environment variables set.

Workaround

Add the USER environment variable to your Docker container configuration:

`
environment:

  • OCT_HOST=0.0.0.0
  • OCT_PORT=7777
  • OCT_LOG_LEVEL=INFO
  • OCT_DISCOVERY_ENABLED=true
  • USER=root
    `

Then restart the container and try the w…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Milchbroetchen431
Comment options

Answer selected by scheilch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants