"./launcher rebuild app" doesn't work

(ひさし) #1

now i’m trying to set up https to my web site with following this site.
Setting up Let’s Encrypt

*I setup my web site following this site

However, when I tried this $ ./launcher rebuild app, error has occurred like below.

Does anyone have idea?

MacBook-puro:discourse zyouchi$ ./launcher rebuild app

stat: /var/lib/docker: stat: No such file or directory
./launcher: line 204: /1024**3 < 5: syntax error: operand expected (error token is "/1024**3 < 5")
Ensuring launcher is up to date
error: cannot open .git/FETCH_HEAD: Permission denied
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
/usr/local/bin/docker: Failed to create the container ID file: open cids/app_bootstrap.cid: permission denied.
See '/usr/local/bin/docker run --help'.
cat: cids/app_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument.
See 'docker rm --help'.
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...] [flags]
Remove one or more containers
rm: cids/app_bootstrap.cid: No such file or directory
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

(Bhanu Sharma) #2

are you running the command as root?

(ひさし) #3

I forgot to run as root!! thank you @itsbhanusharma!!

(Jeff Atwood) #4