bench start
19:19:23 system | redis_cache.1 started (pid=24819)
19:19:23 system | redis_queue.1 started (pid=24818)
19:19:23 system | watch.1 started (pid=24820)
19:19:23 system | socketio.1 started (pid=24823)
19:19:23 system | web.1 started (pid=24817)
19:19:23 system | worker.1 started (pid=24822)
19:19:23 system | schedule.1 started (pid=24821)
19:19:23 redis_queue.1 | 24826:C 23 Jun 2024 19:19:23.627 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
19:19:23 redis_queue.1 | 24826:C 23 Jun 2024 19:19:23.628 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=24826, just started
19:19:23 redis_queue.1 | 24826:C 23 Jun 2024 19:19:23.628 # Configuration loaded
19:19:23 redis_queue.1 | 24826:M 23 Jun 2024 19:19:23.630 * Increased maximum number of open files to 10032 (it was originally set to 1024).
19:19:23 redis_queue.1 | 24826:M 23 Jun 2024 19:19:23.636 * Running mode=standalone, port=11000.
19:19:23 redis_cache.1 | 24824:C 23 Jun 2024 19:19:23.636 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
19:19:23 redis_cache.1 | 24824:C 23 Jun 2024 19:19:23.638 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=24824, just started
19:19:23 redis_queue.1 | 24826:M 23 Jun 2024 19:19:23.638 # Server initialized
19:19:23 redis_cache.1 | 24824:C 23 Jun 2024 19:19:23.638 # Configuration loaded
19:19:23 redis_cache.1 | 24824:M 23 Jun 2024 19:19:23.639 * Increased maximum number of open files to 10032 (it was originally set to 1024).
19:19:23 redis_queue.1 | 24826:M 23 Jun 2024 19:19:23.639 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
19:19:23 redis_queue.1 | 24826:M 23 Jun 2024 19:19:23.640 * Ready to accept connections
19:19:23 redis_cache.1 | 24824:M 23 Jun 2024 19:19:23.649 * Running mode=standalone, port=13000.
19:19:23 redis_cache.1 | 24824:M 23 Jun 2024 19:19:23.650 # Server initialized
19:19:23 redis_cache.1 | 24824:M 23 Jun 2024 19:19:23.650 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
19:19:23 redis_cache.1 | 24824:M 23 Jun 2024 19:19:23.650 * Ready to accept connections
19:19:25 socketio.1 | Realtime service listening on: 9000
19:19:25 watch.1 |
19:19:25 web.1 | /home/thaya/frappe-bench/env/lib/python3.11/site-packages/passlib/utils/init.py:854: DeprecationWarning: ‘crypt’ is deprecated and slated for removal in Python 3.13
19:19:25 web.1 | from crypt import crypt as _crypt
19:19:26 web.1 | WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
19:19:26 web.1 | * Running on all addresses (0.0.0.0)
19:19:26 web.1 | * Running on http://127.0.0.1:8000
19:19:26 web.1 | * Running on http://10.10.5.241:8000
19:19:26 web.1 | Press CTRL+C to quit
19:19:26 web.1 | * Restarting with stat
19:19:26 web.1 | /home/thaya/frappe-bench/env/lib/python3.11/site-packages/passlib/utils/init.py:854: DeprecationWarning: ‘crypt’ is deprecated and slated for removal in Python 3.13
19:19:26 web.1 | from crypt import crypt as _crypt
19:19:26 web.1 | * Debugger is active!
19:19:26 web.1 | * Debugger PIN: 356-779-792
19:19:26 watch.1 | yarn run v1.22.22
19:19:27 watch.1 | warning …/…/package.json: No license field
19:19:27 watch.1 | $ node esbuild --watch --live-reload
19:19:39 watch.1 | Browserslist: caniuse-lite is outdated. Please run:
19:19:39 watch.1 | npx update-browserslist-db@latest
19:19:39 watch.1 | Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
19:20:14 watch.1 | ERROR There was an error during rebuilding changes.
19:20:14 watch.1 |
19:20:14 watch.1 | Error: The service was stopped
19:20:14 watch.1 | at Socket.afterClose (/home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:665:18)
19:20:14 watch.1 | at Socket.emit (node:events:529:35)
19:20:14 watch.1 | at endReadableNT (node:internal/streams/readable:1400:12)
19:20:14 watch.1 | at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
19:20:14 watch.1 | ERROR There was an error during rebuilding changes.
19:20:14 watch.1 |
19:20:14 watch.1 | Error: The service was stopped
19:20:14 watch.1 | at Socket.afterClose (/home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:665:18)
19:20:14 watch.1 | at Socket.emit (node:events:529:35)
19:20:14 watch.1 | at endReadableNT (node:internal/streams/readable:1400:12)
19:20:14 watch.1 | at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
19:20:14 watch.1 | ERROR There were some problems during build
19:20:14 watch.1 |
19:20:14 watch.1 | Error: The service was stopped
19:20:14 watch.1 | at /home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1356:25
19:20:14 watch.1 | at /home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:678:9
19:20:14 watch.1 | at Socket.afterClose (/home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:656:7)
19:20:14 watch.1 | at Socket.emit (node:events:529:35)
19:20:14 watch.1 | at endReadableNT (node:internal/streams/readable:1400:12)
19:20:14 watch.1 | at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
19:20:14 watch.1 | /home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1660
19:20:14 watch.1 | for (const message of messages) {
19:20:14 watch.1 | ^
19:20:14 watch.1 |
19:20:14 watch.1 | TypeError: messages is not iterable
19:20:14 watch.1 | at sanitizeMessages (/home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1660:25)
19:20:14 watch.1 | at Object.formatMessages2 [as formatMessages] (/home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1458:18)
19:20:14 watch.1 | at /home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:2146:55
19:20:14 watch.1 | at new Promise ()
19:20:14 watch.1 | at Object.formatMessages (/home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:2146:14)
19:20:14 watch.1 | at Object.formatMessages (/home/thaya/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1959:70)
19:20:14 watch.1 | at notify_redis (/home/thaya/frappe-bench/apps/frappe/esbuild/esbuild.js:470:33)
19:20:14 watch.1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
19:20:14 watch.1 |
19:20:14 watch.1 | Node.js v18.20.3
19:20:14 watch.1 | error Command failed with exit code 1.
19:20:14 watch.1 | info Visit yarn run | Yarn for documentation about this command.
19:20:14 system | watch.1 stopped (rc=0)
19:20:14 system | sending SIGTERM to redis_cache.1 (pid 24819)
19:20:14 system | sending SIGTERM to redis_queue.1 (pid 24818)
19:20:14 system | sending SIGTERM to web.1 (pid 24817)
19:20:14 system | sending SIGTERM to socketio.1 (pid 24823)
19:20:14 system | sending SIGTERM to schedule.1 (pid 24821)
19:20:14 system | sending SIGTERM to worker.1 (pid 24822)
19:20:14 redis_cache.1 | 24824:signal-handler (1719170414) Received SIGTERM scheduling shutdown…
19:20:14 redis_queue.1 | 24826:signal-handler (1719170414) Received SIGTERM scheduling shutdown…
19:20:14 system | worker.1 stopped (rc=-15)
19:20:14 system | socketio.1 stopped (rc=-15)
19:20:14 system | schedule.1 stopped (rc=-15)
19:20:14 system | web.1 stopped (rc=-15)
19:20:14 redis_cache.1 | 24824:M 23 Jun 2024 19:20:14.344 # User requested shutdown…
19:20:14 redis_cache.1 | 24824:M 23 Jun 2024 19:20:14.344 * Removing the pid file.
19:20:14 redis_queue.1 | 24826:M 23 Jun 2024 19:20:14.344 # User requested shutdown…
19:20:14 redis_queue.1 | 24826:M 23 Jun 2024 19:20:14.344 * Removing the pid file.
19:20:14 redis_queue.1 | 24826:M 23 Jun 2024 19:20:14.345 # Redis is now ready to exit, bye bye…
19:20:14 redis_cache.1 | 24824:M 23 Jun 2024 19:20:14.345 # Redis is now ready to exit, bye bye…
19:20:14 system | redis_queue.1 stopped (rc=-15)
19:20:14 system | redis_cache.1 stopped (rc=-15)
hello, have you found the solution? I have the same problem
Yes i completely removed all the files and installed it again and kept all the ports available and unoccupied.
Looks like there’s some wrong JavaScript and that’s why the build command fails, in turn stopping the bench watch
process.
Fixing the JS will probably help.