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

Testing with Docker #80

Open
r3c4ll opened this issue Dec 25, 2022 · 3 comments
Open

Testing with Docker #80

r3c4ll opened this issue Dec 25, 2022 · 3 comments

Comments

@r3c4ll
Copy link

r3c4ll commented Dec 25, 2022

Hi everybody, happy holidays to all.

Here testing the project with Docker (docker-compose). I left all the variables in the .env file as they come by default including the BORG_SSH_PORT=2222.

The web dashboard opens fine at http://localhost:8000/ and I can login with the admin user and admin password declared in the .env file.

I could create a repository but when I execute borg init --encryption=repokey-blake2 dzkch3wy@localhost:my_first_repo as the UI suggest the shell ask me for the SSH password of the user dzkch3wy. Where can I found/create that password? I'm missing something in the doc?

NOTE: I do not followed the steps in https://borg-hive.readthedocs.io/en/latest/develop.html as I think this is only for a development environment.

@bpereto
Copy link
Owner

bpereto commented Dec 27, 2022

Hi,
You followed this "Quickstart" right? https://borg-hive.readthedocs.io/en/latest/quickstart.html
Have you created an SSH-Key and linked it to the repository? (Should force you to create a new repo).

Then maybe it's related to #76

@r3c4ll
Copy link
Author

r3c4ll commented Dec 28, 2022 via email

@Firesphere
Copy link

Your SSH command is wrong, as you can see, it tries to connect to port 22:

Remote: Received disconnect from ::1 port 22:2: Too many authentication failures
Remote: Disconnected from ::1 port 22

Try the following:
borg init --encryption=repokey-blake2 dzkch3wy@localhost:2222/./my_first_repo

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

No branches or pull requests

3 participants