Not able to run Frappe on Local environment

Looks redis is getting shutdown whenever I try to run frappe on my local … please help if anyone has similar issue …

(env) dehaat@ip-192-168-11-192 vms % bench start
11:41:22 system | web.1 started (pid=27845)
11:41:22 system | redis_cache.1 started (pid=27844)
11:41:22 system | redis_queue.1 started (pid=27846)
11:41:22 system | socketio.1 started (pid=27847)
11:41:22 system | watch.1 started (pid=27848)
11:41:22 system | schedule.1 started (pid=27849)
11:41:22 system | worker.1 started (pid=27850)
11:41:22 redis_cache.1 | 27844:C 25 Feb 2025 11:41:22.589 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
11:41:22 redis_cache.1 | 27844:C 25 Feb 2025 11:41:22.589 * Redis version=7.2.7, bits=64, commit=00000000, modified=0, pid=27844, just started
11:41:22 redis_cache.1 | 27844:C 25 Feb 2025 11:41:22.589 * Configuration loaded
11:41:22 redis_queue.1 | 27846:C 25 Feb 2025 11:41:22.589 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
11:41:22 redis_queue.1 | 27846:C 25 Feb 2025 11:41:22.589 * Redis version=7.2.7, bits=64, commit=00000000, modified=0, pid=27846, just started
11:41:22 redis_queue.1 | 27846:C 25 Feb 2025 11:41:22.589 * Configuration loaded
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.590 * monotonic clock: POSIX clock_gettime
11:41:22 redis_cache.1 | 27844:M 25 Feb 2025 11:41:22.590 * monotonic clock: POSIX clock_gettime
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.590 * Running mode=standalone, port=11000.
11:41:22 redis_cache.1 | 27844:M 25 Feb 2025 11:41:22.590 * Running mode=standalone, port=13000.
11:41:22 redis_cache.1 | 27844:M 25 Feb 2025 11:41:22.591 * Server initialized
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.591 * Server initialized
11:41:22 redis_cache.1 | 27844:M 25 Feb 2025 11:41:22.591 * Ready to accept connections tcp
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.591 * Loading RDB produced by version 7.2.7
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.591 * RDB age 148 seconds
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.591 * RDB memory usage when created 1.46 Mb
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.591 * Done loading RDB, keys loaded: 10, keys expired: 1.
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.592 * DB loaded from disk: 0.001 seconds
11:41:22 redis_queue.1 | 27846:M 25 Feb 2025 11:41:22.592 * Ready to accept connections tcp
11:41:23 socketio.1 | Realtime service listening on: 9000
11:41:23 watch.1 |
11:41:23 watch.1 | yarn run v1.22.22
11:41:23 watch.1 | $ node esbuild --watch --live-reload
11:41:23 web.1 | /Users/dehaat/Desktop/input-backend-dehaat/frappe-vms/vms/env/lib/python3.11/site-packages/passlib/utils/init.py:854: DeprecationWarning: ‘crypt’ is deprecated and slated for removal in Python 3.13
11:41:23 web.1 | from crypt import crypt as _crypt
11:41:23 system | schedule.1 stopped (rc=0)
11:41:23 system | sending SIGTERM to redis_cache.1 (pid 27844)
11:41:23 system | sending SIGTERM to redis_queue.1 (pid 27846)
11:41:23 system | sending SIGTERM to web.1 (pid 27845)
11:41:23 system | sending SIGTERM to socketio.1 (pid 27847)
11:41:23 system | sending SIGTERM to watch.1 (pid 27848)
11:41:23 system | sending SIGTERM to worker.1 (pid 27850)
11:41:23 redis_cache.1 | 27844:signal-handler (1740463883) Received SIGTERM scheduling shutdown…
11:41:23 redis_queue.1 | 27846:signal-handler (1740463883) Received SIGTERM scheduling shutdown…
11:41:23 system | worker.1 stopped (rc=-15)
11:41:23 system | socketio.1 stopped (rc=-15)
11:41:23 web.1 | /opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
11:41:23 web.1 | warnings.warn('resource_tracker: There appear to be %d ’
11:41:23 system | watch.1 stopped (rc=-15)
11:41:23 system | web.1 stopped (rc=-15)
11:41:23 redis_cache.1 | 27844:M 25 Feb 2025 11:41:23.601 * User requested shutdown…
11:41:23 redis_queue.1 | 27846:M 25 Feb 2025 11:41:23.601 * User requested shutdown…
11:41:23 redis_cache.1 | 27844:M 25 Feb 2025 11:41:23.601 * Removing the pid file.
11:41:23 redis_queue.1 | 27846:M 25 Feb 2025 11:41:23.601 * Saving the final RDB snapshot before exiting.
11:41:23 redis_cache.1 | 27844:M 25 Feb 2025 11:41:23.602 # Redis is now ready to exit, bye bye…
11:41:23 system | redis_cache.1 stopped (rc=0)
11:41:23 redis_queue.1 | 27846:M 25 Feb 2025 11:41:23.606 * DB saved on disk
11:41:23 redis_queue.1 | 27846:M 25 Feb 2025 11:41:23.606 * Removing the pid file.
11:41:23 redis_queue.1 | 27846:M 25 Feb 2025 11:41:23.607 # Redis is now ready to exit, bye bye…
11:41:23 system | redis_queue.1 stopped (rc=0)

1 Like

Hi,

Please describe the hosting environment including amount of RAM. Make sure system requirements are adequate for Frappe.

There are no obvious errors, but the schedule.1 process stops immediately with rc=0, which might indicate an issue with the scheduler.

Check the scheduler.log file