emborg icon indicating copy to clipboard operation
emborg copied to clipboard

Better avendesora error message?

Open kalekundert opened this issue 5 years ago • 4 comments

It took me a while to figure out that the following error was refering to a problem with my avendesora config, not with emborg or borg itself.

$ emborg init
emborg warning: rsync: url attribute found, should probably be urls.
emborg error: Connection closed by remote host. Is borg working on the server?

kalekundert avatar Dec 21 '18 15:12 kalekundert

Update: The "connection closed" is unrelated to the "url" thing. Looking into that now.

kalekundert avatar Dec 21 '18 15:12 kalekundert

And the "url" thing was me being stupid (I was defining "repository" in settings and not realizing that it was also defined in home).

kalekundert avatar Dec 21 '18 15:12 kalekundert

emborg warning: rsync: url attribute found, should probably be urls.

That message comes from Avendesora. It says that in your rsync account contains an account attribute 'url,' which is commonly mistakenly used when 'urls' is intended.

emborg error: Connection closed by remote host. Is borg working on the server?

I believe the body of that message is generated by borg. Perhaps that is the error you fixed with the change to the 'repository' setting? It is okay to have settings defined in both settings and in home. The one in home should dominate.

KenKundert avatar Dec 21 '18 19:12 KenKundert

Yeah, the confusing thing is that it says "emborg warning", when really it's an avendesora warning. No need to remove the warning, it's a good warning, it just confused me in this context.

I put a URL in my rsync.net account because when you create an account, they assign you a fairly non-intuitive URL, and I just wanted to store that somewhere.

kalekundert avatar Dec 21 '18 20:12 kalekundert