Error while setting up on ubuntu 16.04

I am getting error while setting up on ubuntu 16.04.
please help on fixing it.

TASK [download wkthmltox linux] ************************************************
fatal:
[localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”:
“failed to create temporary content file: timed out”}
to retry, use: --limit @production/install.retry
PLAY RECAP *********************************************************************
localhost : ok=15 changed=1 unreachable=0 failed=1
Traceback (most recent call last):
File “install.py”, line 351, in
install_bench(args)
File “install.py”, line 111, in install_bench
run_playbook(‘production/install.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 301, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError:
Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘production/install.yml’,
‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’
returned non-zero exit status 2

There’s a fix merged into develop branch

1 Like

While starting bench I am getting following error how can i solve it.
please help.

swift@ubuntu:~/frappe-bench$ bench start
15:44:20 system | worker_long.1 started (pid=3540)
15:44:20 system | watch.1 started (pid=3549)
15:44:20 system | redis_queue.1 started (pid=3541)
15:44:20 redis_queue.1 | 3554:M 25 May 15:44:20.033 * Increased maximum number of open files to 10032 (it was originally set to 1024).
15:44:20 redis_queue.1 | 3554:M 25 May 15:44:20.033 # Creating Server TCP listening socket 127.0.0.1:11000: bind: Address already in use
15:44:20 system | redis_queue.1 stopped (rc=1)
15:44:20 system | redis_socketio.1 started (pid=3548)
15:44:20 redis_socketio.1 | 3552:M 25 May 15:44:20.034 * Increased maximum number of open files to 10032 (it was originally set to 1024).
15:44:20 redis_socketio.1 | 3552:M 25 May 15:44:20.034 # Creating Server TCP listening socket 127.0.0.1:12000: bind: Address already in use
15:44:20 system | redis_socketio.1 stopped (rc=1)
15:44:20 system | web.1 started (pid=3542)
15:44:20 system | schedule.1 started (pid=3551)
15:44:20 system | redis_cache.1 started (pid=3557)
15:44:20 redis_cache.1 | 3565:M 25 May 15:44:20.126 * Increased maximum number of open files to 10032 (it was originally set to 1024).
15:44:20 redis_cache.1 | 3565:M 25 May 15:44:20.126 # Creating Server TCP listening socket 127.0.0.1:13000: bind: Address already in use
15:44:20 system | redis_cache.1 stopped (rc=1)
15:44:20 system | worker_default.1 started (pid=3555)
15:44:20 system | socketio.1 started (pid=3556)
15:44:20 system | worker_short.1 started (pid=3575)
15:44:20 system | sending SIGTERM to worker_long.1 (pid 3540)
15:44:20 system | sending SIGTERM to watch.1 (pid 3549)
15:44:20 system | sending SIGTERM to web.1 (pid 3542)
15:44:20 system | sending SIGTERM to schedule.1 (pid 3551)
15:44:20 system | sending SIGTERM to worker_default.1 (pid 3555)
15:44:20 system | sending SIGTERM to socketio.1 (pid 3556)
15:44:20 system | sending SIGTERM to worker_short.1 (pid 3575)
15:44:20 system | socketio.1 stopped (rc=-15)
15:44:20 system | schedule.1 stopped (rc=-15)
15:44:20 system | worker_long.1 stopped (rc=-15)
15:44:20 system | watch.1 stopped (rc=-15)
15:44:20 system | web.1 stopped (rc=-15)
15:44:20 system | worker_default.1 stopped (rc=-15)
15:44:20 system | worker_short.1 stopped (rc=-15)

Try
$ ps aux | grep redis
you will get
redis 8821 0.0 0.0 2459704 596 ?? S 4:54PM 0:03.40 redis-server *:6379

$ sudo kill -9 8821
$ sudo service redis-server restart

1 Like