aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/initremote_doesn__39__t_work_in_scripts.mdwn
blob: 75361a6c15d30d4267449c4036e6bf060770d397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
### Please describe the problem.


### What steps will reproduce the problem?

Run "git-annex initremote" from an environment (cron, CI, etc.) where /dev/tty doesn't exist.

### What version of git-annex are you using? On what operating system?

git-annex version: 6.20160613-g35dbe35 on debian jessie

### Please provide any additional information below.

Example of the error @ https://gitlab.com/DanielDent/git-annex-remote-rclone/builds/2166644

Error:
gpg: cannot open tty `/dev/tty': No such device or address

failed

Rumour on the internets is that the "--no-tty" parameter to GPG may fix the problem.

### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)

Yes! It's great!