Cannot start Bench

theara@theara-VirtualBox:~$ bench start
14:45:56 system | worker.1 started (pid=3998)
14:45:56 system | web.1 started (pid=4001)
14:45:56 system | workerbeat.1 started (pid=4003)
14:45:56 system | redis_cache.1 started (pid=4005)
14:45:56 redis_cache.1 | [4007] 04 Apr 14:45:56.174 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
14:45:56 redis_cache.1 | .
14:45:56 redis_cache.1 | .-__ ''-._ 14:45:56 redis_cache.1 | _.- .. ‘’-._ Redis 2.8.4 (00000000/0) 64 bit
14:45:56 redis_cache.1 | .-.-```. ```\/ _.,_ ''-._ 14:45:56 redis_cache.1 | ( ' , .-` | `, ) Running in stand alone mode 14:45:56 redis_cache.1 | |`-._`-...-` __...-.-.|’_.-'| Port: 11311 14:45:56 redis_cache.1 | |-. ._ / _.-' | PID: 4007 14:45:56 redis_cache.1 |-._ -._-./ .-’ .-’
14:45:56 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 14:45:56 redis_cache.1 | |-.
-._ _.-'_.-' | http://redis.io 14:45:56 redis_cache.1 |-._ -._-..-’.-’ .-’
14:45:56 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 14:45:56 redis_cache.1 | |-.
-._ _.-'_.-' | 14:45:56 redis_cache.1 |-._ -._-.
.-’_.-’ _.-’
14:45:56 redis_cache.1 | -._-..-’ _.-’
14:45:56 redis_cache.1 | -._ _.-' 14:45:56 redis_cache.1 |-.
.-’
14:45:56 redis_cache.1 |
14:45:56 redis_cache.1 | [4007] 04 Apr 14:45:56.174 # Server started, Redis version 2.8.4
14:45:56 redis_cache.1 | [4007] 04 Apr 14:45:56.174 * The server is now ready to accept connections on port 11311
14:45:56 workerbeat.1 | celery beat v3.1.17 (Cipater) is starting.
14:45:56 worker.1 |
14:45:56 worker.1 | -------------- celery@theara-VirtualBox v3.1.17 (Cipater)
14:45:56 worker.1 | ---- **** -----
14:45:56 worker.1 | — * *** * – Linux-3.16.0-33-generic-x86_64-with-Ubuntu-14.04-trusty
14:45:56 worker.1 | – * - **** —
14:45:56 worker.1 | - ** ---------- [config]
14:45:56 worker.1 | - ** ---------- .> app: frappe:0x7fd1e2cf3a50
14:45:56 worker.1 | - ** ---------- .> transport: redis://localhost:6379//
14:45:56 worker.1 | - ** ---------- .> results: disabled
14:45:56 worker.1 | - *** — * — .> concurrency: 2 (prefork)
14:45:56 worker.1 | – ******* ----
14:45:56 worker.1 | — ***** ----- [queues]
14:45:56 worker.1 | -------------- .> celery exchange=celery(direct) key=celery
14:45:56 worker.1 |
14:45:56 worker.1 |
14:45:56 workerbeat.1 | __ - … __ - _
14:45:56 workerbeat.1 | Configuration ->
14:45:56 workerbeat.1 | . broker -> redis://localhost:6379//
14:45:56 workerbeat.1 | . loader -> celery.loaders.app.AppLoader
14:45:56 workerbeat.1 | . scheduler -> celery.beat.PersistentScheduler
14:45:56 workerbeat.1 | . db -> scheduler.schedule
14:45:56 workerbeat.1 | . logfile -> [stderr]@%INFO
14:45:56 workerbeat.1 | . maxinterval -> now (0s)
14:45:56 workerbeat.1 | [2015-04-04 14:45:56,926: INFO/MainProcess] beat: Starting…
14:45:56 workerbeat.1 | [2015-04-04 14:45:56,997: INFO/MainProcess] Scheduler: Sending due task scheduler (frappe.tasks.enqueue_scheduler_events)
14:45:57 web.1 | Usage: bench [OPTIONS] COMMAND [ARGS]…
14:45:57 web.1 |
14:45:57 web.1 | Error: No such command “serve”.
14:45:57 system | web.1 stopped (rc=2)
14:45:57 system | sending SIGTERM to worker.1 (pid 3998)
14:45:57 system | sending SIGTERM to redis_cache.1 (pid 4005)
14:45:57 system | sending SIGTERM to workerbeat.1 (pid 4003)
14:45:57 worker.1 |
14:45:57 worker.1 | worker: Warm shutdown (MainProcess)
14:45:57 redis_cache.1 | [4007 | signal handler] (1428133557) Received SIGTERM, scheduling shutdown…
14:45:57 redis_cache.1 | [4007] 04 Apr 14:45:57.088 # User requested shutdown…
14:45:57 redis_cache.1 | [4007] 04 Apr 14:45:57.088 # Redis is now ready to exit, bye bye…
14:45:57 system | redis_cache.1 stopped (rc=-15)
14:45:57 system | workerbeat.1 stopped (rc=-15)
14:45:58 system | worker.1 stopped (rc=-15)

First, make sure that you’re on the latest codebase.

bench update

Try,

bench setup procfile
bench start

If it still doesn’t work, port the output of

cat Procfile # from bench dir