Not running erpnext <ip address>:8000 in gcloud

I was trying to install erpnext in gcloud instance with ubuntu 16.04 with this link. When i ran bench start it look like running but when i tried to run erpnext by <ipaddress>:8000 in web browser is not working at all.

Can anyone help me on this as soon as possible as i’m stuck with this right now

Attaching bench start log here:

rajeeb_tacten@erpnext:~/frappe-bench$ bench start
16:07:20 system           | redis_socketio.1 started (pid=18331)
16:07:20 redis_socketio.1 | 18346:M 04 Sep 16:07:20.386 * Increased maximum number of open files to 10032 (it was o
riginally set to 1024).
16:07:20 redis_socketio.1 |                 _._                                                  
16:07:20 redis_socketio.1 |            _.-``__ ''-._                                             
16:07:20 redis_socketio.1 |       _.-``    `.  `_.  ''-._           Redis 3.0.6 (00000000/0) 64 bit
16:07:20 redis_socketio.1 |   .-`` .-```.  ```\/    _.,_ ''-._                                   
16:07:20 redis_socketio.1 |  (    '      ,       .-`  | `,    )     Running in standalone mode
16:07:20 redis_socketio.1 |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 12000
16:07:20 redis_socketio.1 |  |    `-._   `._    /     _.-'    |     PID: 18346
16:07:20 redis_socketio.1 |   `-._    `-._  `-./  _.-'    _.-'                                   
16:07:20 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
16:07:20 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
16:07:20 redis_socketio.1 |   `-._    `-._`-.__.-'_.-'    _.-'                                   
16:07:20 redis_socketio.1 |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
16:07:20 redis_socketio.1 |  |    `-._`-._        _.-'_.-'    |                                  
16:07:20 redis_socketio.1 |   `-._    `-._`-.__.-'_.-'    _.-'                                   
16:07:20 redis_socketio.1 |       `-._    `-.__.-'    _.-'                                       
16:07:20 redis_socketio.1 |           `-._        _.-'                                           
16:07:20 redis_socketio.1 |               `-.__.-'                                               
16:07:20 redis_socketio.1 | 
16:07:20 redis_socketio.1 | 18346:M 04 Sep 16:07:20.387 # WARNING: The TCP backlog setting of 511 cannot be enforce
d because /proc/sys/net/core/somaxconn is set to the lower value of 128.
16:07:20 redis_socketio.1 | 18346:M 04 Sep 16:07:20.387 # Server started, Redis version 3.0.6
16:07:20 redis_socketio.1 | 18346:M 04 Sep 16:07:20.387 # WARNING overcommit_memory is set to 0! Background save ma
y fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then re
boot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
16:07:20 redis_socketio.1 | 18346:M 04 Sep 16:07:20.387 # WARNING you have Transparent Huge Pages (THP) support ena
bled 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 r
etain the setting after a reboot. Redis must be restarted after THP is disabled.
16:07:20 redis_socketio.1 | 18346:M 04 Sep 16:07:20.387 * The server is now ready to accept connections on port 120
00
16:07:20 system           | schedule.1 started (pid=18340)
16:07:20 system           | redis_queue.1 started (pid=18339)
16:07:20 system           | worker_long.1 started (pid=18336)
16:07:20 system           | watch.1 started (pid=18342)
16:07:20 system           | socketio.1 started (pid=18344)
16:07:20 system           | worker_short.1 started (pid=18343)
16:07:20 system           | web.1 started (pid=18345)
16:07:20 redis_queue.1    | 18358:M 04 Sep 16:07:20.406 * Increased maximum number of open files to 10032 (it was o
riginally set to 1024).
16:07:20 system           | worker_default.1 started (pid=18341)
16:07:20 redis_queue.1    |                 _._                                                  
16:07:20 redis_queue.1    |            _.-``__ ''-._                                             
16:07:20 redis_queue.1    |       _.-``    `.  `_.  ''-._           Redis 3.0.6 (00000000/0) 64 bit
16:07:20 redis_queue.1    |   .-`` .-```.  ```\/    _.,_ ''-._                                   
16:07:20 redis_queue.1    |  (    '      ,       .-`  | `,    )     Running in standalone mode
16:07:20 redis_queue.1    |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 11000
16:07:20 redis_queue.1    |  |    `-._   `._    /     _.-'    |     PID: 18358
16:07:20 redis_queue.1    |   `-._    `-._  `-./  _.-'    _.-'                                   
16:07:20 redis_queue.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
16:07:20 redis_queue.1    |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
6:07:20 redis_queue.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
16:07:20 redis_queue.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
16:07:20 redis_queue.1    |  |    `-._`-._        _.-'_.-'    |                                  
16:07:20 redis_queue.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
16:07:20 redis_queue.1    |       `-._    `-.__.-'    _.-'                                       
16:07:20 redis_queue.1    |           `-._        _.-'                                           
16:07:20 redis_queue.1    |               `-.__.-'                                               
16:07:20 redis_queue.1    | 
16:07:20 redis_queue.1    | 18358:M 04 Sep 16:07:20.406 # WARNING: The TCP backlog setting of 511 cannot be enforce
d because /proc/sys/net/core/somaxconn is set to the lower value of 128.
16:07:20 redis_queue.1    | 18358:M 04 Sep 16:07:20.406 # Server started, Redis version 3.0.6
16:07:20 redis_queue.1    | 18358:M 04 Sep 16:07:20.407 # WARNING overcommit_memory is set to 0! Background save ma
y fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then re
boot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
16:07:20 redis_queue.1    | 18358:M 04 Sep 16:07:20.407 # WARNING you have Transparent Huge Pages (THP) support ena
bled 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 r
etain the setting after a reboot. Redis must be restarted after THP is disabled.
16:07:20 redis_queue.1    | 18358:M 04 Sep 16:07:20.407 * The server is now ready to accept connections on port 110
00
16:07:20 system           | redis_cache.1 started (pid=18348)
16:07:20 redis_cache.1    | 18370:M 04 Sep 16:07:20.422 * Increased maximum number of open files to 10032 (it was o
riginally set to 1024).
16:07:20 redis_cache.1    |                 _._                                                  
16:07:20 redis_cache.1    |            _.-``__ ''-._                                             
16:07:20 redis_cache.1    |       _.-``    `.  `_.  ''-._           Redis 3.0.6 (00000000/0) 64 bit
16:07:20 redis_cache.1    |   .-`` .-```.  ```\/    _.,_ ''-._                                   
16:07:20 redis_cache.1    |  (    '      ,       .-`  | `,    )     Running in standalone mode
16:07:20 redis_cache.1    |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 13000
16:07:20 redis_cache.1    |  |    `-._   `._    /     _.-'    |     PID: 18370
16:07:20 redis_cache.1    |   `-._    `-._  `-./  _.-'    _.-'                                   
16:07:20 redis_cache.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
16:07:20 redis_cache.1    |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
16:07:20 redis_cache.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
16:07:20 redis_cache.1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
16:07:20 redis_cache.1    |  |    `-._`-._        _.-'_.-'    |                                  
16:07:20 redis_cache.1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
16:07:20 redis_cache.1    |       `-._    `-.__.-'    _.-'                                       
16:07:20 redis_cache.1    |           `-._        _.-'                                           
16:07:20 redis_cache.1    |               `-.__.-'                                               
16:07:20 redis_cache.1    | 
16:07:20 redis_cache.1    | 18370:M 04 Sep 16:07:20.423 # WARNING: The TCP backlog setting of 511 cannot be enforce
d because /proc/sys/net/core/somaxconn is set to the lower value of 128.
16:07:20 redis_cache.1    | 18370:M 04 Sep 16:07:20.423 # Server started, Redis version 3.0.6
16:07:20 redis_cache.1    | 18370:M 04 Sep 16:07:20.423 # WARNING overcommit_memory is set to 0! Background save ma
y fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then re
boot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
16:07:20 redis_cache.1    | 18370:M 04 Sep 16:07:20.423 # WARNING you have Transparent Huge Pages (THP) support ena
bled 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 r
etain the setting after a reboot. Redis must be restarted after THP is disabled.
16:07:20 redis_cache.1    | 18370:M 04 Sep 16:07:20.423 * The server is now ready to accept connections on port 130
00
16:07:21 socketio.1       | listening on *: 9000
16:07:29 web.1            |  * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
16:07:29 web.1            |  * Restarting with inotify reloader
16:07:30 watch.1          | yarn run v1.17.3
16:07:30 watch.1          | $ node rollup/watch.js
16:07:31 web.1            |  * Debugger is active!
16:07:31 web.1            |  * Debugger PIN: 276-627-015
16:07:31 watch.1          | 
16:07:31 watch.1          | Rollup Watcher Started
16:07:31 watch.1          | 
16:07:31 watch.1          | Watching...
16:07:32 watch.1          | Rebuilding frappe-web.css
16:07:32 watch.1          | Rebuilding frappe-web-b4.css
16:07:32 watch.1          | Rebuilding chat.js
16:07:34 watch.1          | Rebuilding frappe-recorder.min.js
16:07:38 watch.1          | Rebuilding frappe-web.min.js
16:07:40 watch.1          | Rebuilding bootstrap-4-web.min.js
16:07:41 watch.1          | Rebuilding control.min.js
16:07:43 watch.1          | Rebuilding dialog.min.js
16:07:44 watch.1          | Rebuilding desk.min.css
16:07:44 watch.1          | Rebuilding frappe-rtl.css
16:07:44 watch.1          | Rebuilding printview.css
16:07:44 watch.1          | Rebuilding desk.min.js
16:07:50 watch.1          | Rebuilding module.min.css
16:07:50 watch.1          | Rebuilding form.min.css
16:07:50 watch.1          | Rebuilding form.min.js
16:07:53 watch.1          | Rebuilding list.min.css
16:07:53 watch.1          | Rebuilding list.min.js
16:07:54 watch.1          | Rebuilding report.min.css
16:07:54 watch.1          | Rebuilding report.min.js
16:07:56 watch.1          | Rebuilding web_form.min.js
16:07:56 watch.1          | Rebuilding web_form.css
16:07:56 watch.1          | Rebuilding email.css
16:07:56 watch.1          | Rebuilding social.min.js
16:07:57 watch.1          | Rebuilding modules.min.js
16:07:58 watch.1          | Rebuilding erpnext.css
16:07:58 watch.1          | Rebuilding marketplace.css
16:07:58 watch.1          | Rebuilding erpnext-web.min.js
16:07:58 watch.1          | Rebuilding erpnext-web.css
16:07:58 watch.1          | Rebuilding marketplace.min.js
16:08:01 watch.1          | Rebuilding erpnext.min.js
16:08:01 watch.1          | Rebuilding item-dashboard.min.js

Did you open port 8000 In gcloud
Instructions in below video

1 Like

@Praveen_Elangovan Thanks a lot. it worked for me.

1 Like