Skip to content

Fix syntax for EXTRA_FLAGS variable in entrypoint.sh#65

Merged
martinbjeldbak merged 1 commit into
martinbjeldbak:mainfrom
Javiju555:main
Jan 21, 2026
Merged

Fix syntax for EXTRA_FLAGS variable in entrypoint.sh#65
martinbjeldbak merged 1 commit into
martinbjeldbak:mainfrom
Javiju555:main

Conversation

@Javiju555

Copy link
Copy Markdown
Contributor

Issue

I couldn't get remote access to work - the ALLOW_REMOTE_ACCESS=yes environment variable wasn't being recognized and allow_remote was always set to 0 in the logs.

Fix

I found that $EXTRA_FLAGS was quoted in the entrypoint script, which prevented the --bind-all flag from being passed correctly to the acestream engine. Removing the quotes fixed the issue.

Testing

After this change, remote access works perfectly:

  • Logs now show allow_remote=1
  • Can access the API remotely: http://SERVER_IP:6878/webui/api/service?method=get_version

Tested on Ubuntu Server 24.04.

Since I could not set up the remote access falg to 1, I changed a potential bug that solved the issue and let me use remote access. Using Ubuntu Server 24.04
Copilot AI review requested due to automatic review settings January 21, 2026 02:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where the ALLOW_REMOTE_ACCESS=yes environment variable was not working correctly. The issue was caused by quoting $EXTRA_FLAGS in the entrypoint script, which prevented proper shell word splitting of the --bind-all flag. Removing the quotes allows the flag to be passed correctly to the acestream engine.

Changes:

  • Remove quotes around $EXTRA_FLAGS variable in entrypoint.sh to enable proper shell word splitting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@martinbjeldbak

Copy link
Copy Markdown
Owner

This looks great, thank you for fixing this @Javiju555. I'll merge and release this as a new bugfix version v3.1.1

@martinbjeldbak martinbjeldbak merged commit f27941f into martinbjeldbak:main Jan 21, 2026
6 of 7 checks passed
@martinbjeldbak martinbjeldbak mentioned this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants