Nocode: Deployment error

Created on 25 Jun 2018  路  1Comment  路  Source: kelseyhightower/nocode

Problem

Cannot deploy nothing to nowhere staging

Command

rsync -avz $NOTHING $NOWHERE_STAGING

Log

```rsync -avz nothing nowhere
sending incremental file list
rsync: link_stat "nothing" failed: No such file or directory (2)

sent 18 bytes received 12 bytes 60.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1236) [sender=3.1.1]

## Common Part
Issue can be related to rsync main().

1235 static int copy_argv(char *argv[])
1236 {
1237 int i;
1238
1239 for (i = 0; argv[i]; i++) {
1240 if (!(argv[i] = strdup(argv[i]))) {
1241 rprintf (FERROR, "out of memory at %s(%d)\n",
1242 __FILE__, __LINE__);
1243 return RERR_MALLOC;
1244 }
1245 }
1246
1247 return 0;
1248 }
```

Most helpful comment

Your mistake is obviously with the deploy command that you are using, you should change:

rsync -avz $NOTHING $NOWHERE_STAGING

to


And then everything works as expected.

>All comments

Your mistake is obviously with the deploy command that you are using, you should change:

rsync -avz $NOTHING $NOWHERE_STAGING

to


And then everything works as expected.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JohnAllen picture JohnAllen  路  3Comments

vburenin picture vburenin  路  3Comments

Jourday picture Jourday  路  3Comments

kdexd picture kdexd  路  3Comments

D10100111001 picture D10100111001  路  3Comments