Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: better handle ports on Pi and allow albyhub to run on port 80 #584

Merged
merged 6 commits into from
Sep 6, 2024

Conversation

bumi
Copy link
Contributor

@bumi bumi commented Sep 2, 2024

No description provided.

Copy link
Contributor

@rolznz rolznz left a comment

Choose a reason for hiding this comment

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

utACK

@rolznz rolznz added this to the v1.7.0 milestone Sep 3, 2024
echo "Failed to unpack Alby Hub. Potentially bzip2 is missing"
echo "Install it with sudo apt-get install bzip2"
fi

# Cleanup
rm server-linux-armv6.tar.bz2

# allow albyhub to bind on port 80
sudo setcap CAP_NET_BIND_SERVICE=+eip /opt/albyhub/bin/albyhub
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be optional? like how we ask to setup a service?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

any option makes it more complicated and more fragile. Those install scripts suck anyway because everybody wants it to be a bit different and systems are often different.

People also need to know a little bit of what they do.

IF we don't run as root then as far as I understand we need this. otherwise we need to run as root or on a different port.

@rolznz rolznz modified the milestones: v1.7.0, v1.8.0 Sep 4, 2024
@bumi bumi merged commit 49449f0 into master Sep 6, 2024
15 checks passed
@bumi bumi deleted the update-pi-scripts branch September 6, 2024 08:32
@rolznz rolznz removed this from the v1.8.0 milestone Sep 11, 2024
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.

2 participants