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

update docs to reflect that versions of Backrest >0.17.1 only listen on localhost #216

Closed
edersong opened this issue Apr 12, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@edersong
Copy link
Contributor

Note: if you have a question please post in the discussions area.

Describe the bug
After upgrade to v0.17.1, backrest UI is not opening thru :9898

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade Backrest
  2. Try to open the UI thru a browser

Expected behavior
Open UI

Desktop (please complete the following information):

  • OS: Linux x86_64 and arm64
  • Browser: any
  • Backrest Version 0.17.1

Additional context
Logs shows the webserver running INFO starting web server 127.0.0.1:9898

@edersong edersong added the bug Something isn't working label Apr 12, 2024
@lzecca78
Copy link

given this now the default listen is to 127.0.0.1 instead of 0.0.0.0 . But you can change that env var accordingly to your needs.

@edersong
Copy link
Contributor Author

Thanks for the feedback, @lzecca78
But I'm saying about a Linux server install, not docker install.

@garethgeorge
Copy link
Owner

Oops, I'll update the release notes. Some got dropped as I had to do a rerun of the release with some patches last night.

In the latest version all backrest installs using the script default to localhost for security -- I was worried that laptop users will roam wifi networks with open ports on their laptops without realizing backrest needs to be secured.

@garethgeorge
Copy link
Owner

Just went ahead and updated the release notes to include all of the relevant changes from the skipped release.

@edersong
Copy link
Contributor Author

Hello, @garethgeorge
Thanks for the update.
How could I run it back using 0.0.0.0:9898 instead of the new default 127.0.0.1:9898 when needed?

@zaggash
Copy link

zaggash commented Apr 12, 2024

For docker, you need to setup the env var : BACKREST_PORT=0.0.0.0:9898

Or for systemd : Environment="BACKREST_PORT=0.0.0.0:9898"

Using the binary you need to set the argument: -bind-address 0.0.0.0:9898

@davide93
Copy link

Hello, @garethgeorge Thanks for the update. How could I run it back using 0.0.0.0:9898 instead of the new default 127.0.0.1:9898 when needed?

You can edit install.sh and change line 30 to Environment="BACKREST_PORT=0.0.0.0:9898" then install it.

@garethgeorge garethgeorge changed the title [bug] backrest UI is not opening at v0.17.1 version update docs to reflect that versions of Backrest >0.17.1 only listen on localhost Apr 16, 2024
@garethgeorge
Copy link
Owner

Going to go ahead and close this as this has been the default behavior for a while now. Thanks all for posting workarounds on here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants