Hi,
I tried installing erpnext version 13 as per instructions here:
and also refered to official doc.
Everything seemed fine until the bench start command. The start process got stuck on rebuilding login.css.
I tried reinstalling but with same result
Tried to access the web site ignoring it but it gives an 404 not found error
erpnext v13 was installed on a Ubunut20.4 VM using vagrant
VM configured with correct port forwarding and 4Gb memory
The request for web site can be seen being correctly forwarded to bench cli and it shows a 404 not found error. Tried accessing 0.0.0.0:8000
What is going wrong?
vagrant@ubuntu-focal:~/frappe-bench$ bench start
17:33:33 system | redis_cache.1 started (pid=3262)
17:33:33 system | web.1 started (pid=3266)
17:33:33 system | worker_short.1 started (pid=3274)
17:33:33 system | schedule.1 started (pid=3275)
17:33:33 redis_cache.1 | 3270:C 30 Mar 2022 17:33:33.890 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
17:33:33 redis_cache.1 | 3270:C 30 Mar 2022 17:33:33.890 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=3270, just started
17:33:33 redis_cache.1 | 3270:C 30 Mar 2022 17:33:33.890 # Configuration loaded
17:33:33 redis_cache.1 | 3270:M 30 Mar 2022 17:33:33.891 * Increased maximum number of open files to 10032 (it was originally set to 1024).
17:33:33 system | redis_queue.1 started (pid=3273)
17:33:33 system | watch.1 started (pid=3284)
17:33:33 system | redis_socketio.1 started (pid=3285)
17:33:33 system | socketio.1 started (pid=3282)
17:33:33 redis_cache.1 | 3270:M 30 Mar 2022 17:33:33.916 * Running mode=standalone, port=13000.
17:33:33 redis_cache.1 | 3270:M 30 Mar 2022 17:33:33.916 # Server initialized
17:33:33 redis_cache.1 | 3270:M 30 Mar 2022 17:33:33.916 # 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.
17:33:33 redis_cache.1 | 3270:M 30 Mar 2022 17:33:33.916 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
17:33:33 redis_socketio.1 | 3287:C 30 Mar 2022 17:33:33.915 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
17:33:33 redis_socketio.1 | 3287:C 30 Mar 2022 17:33:33.915 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=3287, just started
17:33:33 redis_socketio.1 | 3287:C 30 Mar 2022 17:33:33.915 # Configuration loaded
17:33:33 redis_queue.1 | 3279:C 30 Mar 2022 17:33:33.916 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
17:33:33 redis_queue.1 | 3279:C 30 Mar 2022 17:33:33.917 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=3279, just started
17:33:33 redis_queue.1 | 3279:C 30 Mar 2022 17:33:33.917 # Configuration loaded
17:33:33 redis_queue.1 | 3279:M 30 Mar 2022 17:33:33.918 * Increased maximum number of open files to 10032 (it was originally set to 1024).
17:33:33 redis_queue.1 | 3279:M 30 Mar 2022 17:33:33.922 * Running mode=standalone, port=11000.
17:33:33 redis_socketio.1 | 3287:M 30 Mar 2022 17:33:33.924 * Increased maximum number of open files to 10032 (it was originally set to 1024).
17:33:33 redis_cache.1 | 3270:M 30 Mar 2022 17:33:33.925 * DB loaded from disk: 0.009 seconds
17:33:33 redis_cache.1 | 3270:M 30 Mar 2022 17:33:33.925 * Ready to accept connections
17:33:33 redis_socketio.1 | 3287:M 30 Mar 2022 17:33:33.925 * Running mode=standalone, port=12000.
17:33:33 redis_socketio.1 | 3287:M 30 Mar 2022 17:33:33.925 # Server initialized
17:33:33 redis_socketio.1 | 3287:M 30 Mar 2022 17:33:33.925 # 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.
17:33:33 redis_socketio.1 | 3287:M 30 Mar 2022 17:33:33.925 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
17:33:33 redis_socketio.1 | 3287:M 30 Mar 2022 17:33:33.926 * Ready to accept connections
17:33:33 redis_queue.1 | 3279:M 30 Mar 2022 17:33:33.928 # Server initialized
17:33:33 redis_queue.1 | 3279:M 30 Mar 2022 17:33:33.931 # 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.
17:33:33 redis_queue.1 | 3279:M 30 Mar 2022 17:33:33.932 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
17:33:34 system | worker_long.1 started (pid=3294)
17:33:33 redis_queue.1 | 3279:M 30 Mar 2022 17:33:33.933 * Ready to accept connections
17:33:34 system | worker_default.1 started (pid=3296)
17:33:35 web.1 | /home/vagrant/frappe-bench/env/lib/python3.8/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses
17:33:35 web.1 | from imp import reload
17:33:35 schedule.1 | /home/vagrant/frappe-bench/env/lib/python3.8/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses
17:33:35 schedule.1 | from imp import reload
17:33:35 watch.1 | /home/vagrant/frappe-bench/env/lib/python3.8/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses
17:33:35 watch.1 | from imp import reload
17:33:37 web.1 | * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
17:33:37 web.1 | * Restarting with inotify reloader
17:33:37 watch.1 | yarn run v1.22.18
17:33:37 web.1 | /home/vagrant/frappe-bench/env/lib/python3.8/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses
17:33:37 web.1 | from imp import reload
17:33:37 watch.1 | $ node rollup/watch.js
17:33:38 web.1 | * Debugger is active!
17:33:38 web.1 | * Debugger PIN: 158-038-774
17:33:45 socketio.1 | listening on *: 9000
17:34:09 watch.1 |
17:34:09 watch.1 | Rollup Watcher Started
17:34:09 watch.1 |
17:34:09 watch.1 | Watching…
17:34:13 watch.1 | Browserslist: caniuse-lite is outdated. Please run:
17:34:13 watch.1 | npx browserslist@latest --update-db
17:34:13 watch.1 | Rebuilding erpnext.css
17:34:14 watch.1 | Rebuilding marketplace.css
17:34:14 watch.1 | Rebuilding erpnext-web.min.js
17:34:14 watch.1 | Rebuilding erpnext-web.css
17:34:14 watch.1 | Rebuilding marketplace.min.js
17:34:21 watch.1 | Rebuilding erpnext.min.js
17:34:23 watch.1 | Rebuilding item-dashboard.min.js
17:34:23 watch.1 | Rebuilding point-of-sale.min.js
17:34:24 watch.1 | Rebuilding bank-reconciliation-tool.min.js
17:34:24 watch.1 | Rebuilding e-commerce.min.js
17:34:25 watch.1 | Rebuilding hierarchy-chart.min.js
17:34:27 watch.1 | Rebuilding erpnext.css
17:34:27 watch.1 | Rebuilding marketplace.css
17:34:27 watch.1 | Rebuilding erpnext-web.css
17:34:30 watch.1 | Rebuilding frappe-web-b4.css
17:34:31 watch.1 | Rebuilding frappe-recorder.min.js
17:34:34 watch.1 | Rebuilding checkout.min.js
17:34:34 watch.1 | Rebuilding frappe-web.min.js
17:34:37 watch.1 | Rebuilding bootstrap-4-web.min.js
17:34:38 watch.1 | Rebuilding control.min.js
17:34:46 watch.1 | Rebuilding dialog.min.js
17:34:49 watch.1 | Rebuilding desk.min.css
17:34:50 watch.1 | Rebuilding printview.css
17:34:50 watch.1 | Rebuilding desk.min.js
17:35:00 watch.1 | Rebuilding form.min.js
17:35:07 watch.1 | Rebuilding list.min.js
17:35:11 watch.1 | Rebuilding report.min.css
17:35:11 watch.1 | Rebuilding report.min.js
17:35:13 watch.1 | Rebuilding web_form.min.js
17:35:13 watch.1 | Rebuilding web_form.css
17:35:13 watch.1 | Rebuilding email.css
17:35:13 watch.1 | Rebuilding barcode_scanner.min.js
17:35:15 watch.1 | Rebuilding user_profile_controller.min.js
17:35:16 watch.1 | Rebuilding login.css
17:35:16 watch.1 | Rebuilding data_import_tools.min.js
17:35:18 watch.1 | Rebuilding frappe-web-b4.css
17:35:20 watch.1 | Rebuilding desk.min.css
17:35:20 watch.1 | Rebuilding printview.css
17:35:20 watch.1 | Rebuilding report.min.css
17:35:20 watch.1 | Rebuilding web_form.css
17:35:20 watch.1 | Rebuilding email.css
17:35:20 watch.1 | Rebuilding login.css
17:38:38 web.1 | 10.0.2.2 - - [30/Mar/2022 17:38:38] “GET / HTTP/1.1” 404 -
17:38:39 web.1 | 10.0.2.2 - - [30/Mar/2022 17:38:39] “GET /favicon.ico HTTP/1.1” 404 -