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

Endless loop when adding a new repo #598

Closed
MasterPuffin opened this issue Dec 3, 2024 · 1 comment
Closed

Endless loop when adding a new repo #598

MasterPuffin opened this issue Dec 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MasterPuffin
Copy link

When adding a new repo with the following config, Backrest is stuck in the submitting phase. The spinner next to the button is turning but there is no response, not even an error or a console log.

{
  "id": "XY",
  "uri": "sftp:u1234.your-storagebox.de:XY",
  "password": "abcdef",
  "flags": [
    "-o sftp.args=\"sshpass -v -p '123456' ssh -o StrictHostKeyChecking=no -p23 u1234-sub2@u1234.your-storagebox.de -s sftp\""
  ],
  "prunePolicy": {
    "maxUnusedPercent": 10,
    "schedule": {
      "clock": "CLOCK_LAST_RUN_TIME",
      "cron": "0 0 1 * *"
    }
  },
  "checkPolicy": {
    "readDataSubsetPercent": 0,
    "schedule": {
      "clock": "CLOCK_LAST_RUN_TIME",
      "cron": "0 0 1 * *"
    }
  },
  "commandPrefix": {}
}
@MasterPuffin MasterPuffin added the bug Something isn't working label Dec 3, 2024
@garethgeorge
Copy link
Owner

Hey -- this is usually caused by the ssh process hanging waiting for input. If you add -oBatchMode=yes to your sftp args you should see an error message print instead.

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

2 participants