Error on installing ERPNext on Ubuntu 14.04 trusty

I am getting the following error when i try to install erpnext on my system.

Pc:~/ERPNext$ sudo bash setup_frappe.sh
Installing for Ubuntu trusty amd64
In case you encounter an error, you can post on https://discuss.frappe.io

Adding ubuntu mariadb repo
Installing packages for Ubuntu. This might take time…
Reading package lists…
Building dependency tree…
Reading state information…
build-essential is already the newest version.
libxslt1.1 is already the newest version.
libxslt1.1 set to manually installed.
xfonts-base is already the newest version.
xfonts-base set to manually installed.
fontconfig is already the newest version.
fontconfig set to manually installed.
git is already the newest version.
libxext6 is already the newest version.
libxext6 set to manually installed.
libxrender1 is already the newest version.
libxrender1 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libmariadbclient-dev : Depends: libmariadbclient18 (>= 10.0.24+maria-1~trusty) but it is not going to be installed
mariadb-server : Depends: mariadb-server-10.0 (= 10.0.24+maria-1~trusty) but it is not going to be installed
python-mysqldb : Depends: libmysqlclient18 (>= 5.5.13-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

When i try with production

Pc:~/ERPNext$ sudo bash setup_frappe.sh
Installing for Ubuntu trusty amd64
In case you encounter an error, you can post on https://discuss.frappe.io

Adding ubuntu mariadb repo
Installing packages for Ubuntu. This might take time…
Reading package lists…
Building dependency tree…
Reading state information…
build-essential is already the newest version.
libxslt1.1 is already the newest version.
libxslt1.1 set to manually installed.
xfonts-base is already the newest version.
xfonts-base set to manually installed.
fontconfig is already the newest version.
fontconfig set to manually installed.
git is already the newest version.
libxext6 is already the newest version.
libxext6 set to manually installed.
libxrender1 is already the newest version.
libxrender1 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libmariadbclient-dev : Depends: libmariadbclient18 (>= 10.0.24+maria-1~trusty) but it is not going to be installed
mariadb-server : Depends: mariadb-server-10.0 (= 10.0.24+maria-1~trusty) but it is not going to be installed
python-mysqldb : Depends: libmysqlclient18 (>= 5.5.13-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Please help me solve this issue.

Regards
Furkan

Let me see if I can recreate this, I’ll get back to you

Hi, I spun up a 14.04.4 on DigitalOcean and ran the script without issues. Are you using a fresh system?

Yes a fresh system.

Did you install MySQL before?

Run:

sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean

No never installed mysql.

Trying these commands now.
Thanks for quick reply.

-Pc:~/frappe-bench$ bench start
18:40:39 system | worker_long.1 started (pid=7321)
18:40:39 system | socketio.1 started (pid=7339)
18:40:39 system | redis_cache.1 started (pid=7346)
18:40:39 system | watch.1 started (pid=7323)
18:40:39 system | web.1 started (pid=7343)
18:40:39 system | redis_queue.1 started (pid=7328)
18:40:39 redis_queue.1 | [7344] 14 May 18:40:39.962 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
18:40:39 redis_queue.1 | .
18:40:39 redis_queue.1 | .-__ ''-._ 18:40:39 redis_queue.1 | _.- . . ‘’-._ Redis 2.8.4 (00000000/0) 64 bit
18:40:39 redis_queue.1 | .- .-```. ```\/ _.,_ ''-._ 18:40:39 redis_queue.1 | ( ' , .-` | `, ) Running in stand alone mode 18:40:39 redis_queue.1 | |`-._`-...-` __...-.-.|'_.-'| Port: 11000 18:40:39 redis_queue.1 | | -. ._ / _.-' | PID: 7344 18:40:39 redis_queue.1 | -._ -._ -./ .-’ .-’
18:40:39 redis_queue.1 | |-._-.
-.__.-' _.-'_.-'| 18:40:39 redis_queue.1 | | -.
-._ _.-'_.-' | http://redis.io 18:40:39 redis_queue.1 | -._ -._-..-'.-’ .-’
18:40:39 redis_queue.1 | |-._-.
-.__.-' _.-'_.-'| 18:40:39 redis_queue.1 | | -.
-._ _.-'_.-' | 18:40:39 redis_queue.1 | -._ -._-.
.-‘.-’ .-’
18:40:39 redis_queue.1 | -._ -..-’ _.-’
18:40:39 redis_queue.1 | -._ _.-' 18:40:39 redis_queue.1 | -.
.-’
18:40:39 redis_queue.1 |
18:40:39 redis_queue.1 | [7344] 14 May 18:40:39.963 # Server started, Redis version 2.8.4
18:40:39 redis_queue.1 | [7344] 14 May 18:40:39.963 # 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.
18:40:39 redis_queue.1 | [7344] 14 May 18:40:39.963 * The server is now ready to accept connections on port 11000
18:40:39 redis_cache.1 | [7348] 14 May 18:40:39.962 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
18:40:39 redis_cache.1 | .
18:40:39 redis_cache.1 | .-__ ''-._ 18:40:39 redis_cache.1 | _.- . . ‘’-.
Redis 2.8.4 (00000000/0) 64 bit
18:40:39 redis_cache.1 | .- .-```. ```\/ _.,_ ''-._ 18:40:39 redis_cache.1 | ( ' , .-` | `, ) Running in stand alone mode 18:40:39 redis_cache.1 | |`-._`-...-` __...-.-.
|’_.-'| Port: 13000 18:40:39 redis_cache.1 | | -._ ._ / _.-' | PID: 7348 18:40:39 redis_cache.1 | -._ -._ -./ .-’ .-’
18:40:39 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 18:40:39 redis_cache.1 | | -.
-._ _.-'_.-' | http://redis.io 18:40:39 redis_cache.1 | -._ -._-..-'.-’ .-’
18:40:39 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 18:40:39 redis_cache.1 | | -.
-._ _.-'_.-' | 18:40:39 redis_cache.1 | -._ -._-.
.-‘.-’ .-’
18:40:39 redis_cache.1 | -._ -..-’ _.-’
18:40:39 redis_cache.1 | -._ _.-' 18:40:39 redis_cache.1 | -.
.-’
18:40:39 redis_cache.1 |
18:40:39 redis_cache.1 | [7348] 14 May 18:40:39.962 # Server started, Redis version 2.8.4
18:40:39 redis_cache.1 | [7348] 14 May 18:40:39.962 # 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.
18:40:39 redis_cache.1 | [7348] 14 May 18:40:39.962 * The server is now ready to accept connections on port 13000
18:40:39 system | schedule.1 started (pid=7341)
18:40:39 system | redis_socketio.1 started (pid=7320)
18:40:39 redis_socketio.1 | [7326] 14 May 18:40:39.952 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
18:40:39 redis_socketio.1 | .
18:40:39 redis_socketio.1 | .-__ ''-._ 18:40:39 redis_socketio.1 | _.- . . ‘’-.
Redis 2.8.4 (00000000/0) 64 bit
18:40:39 redis_socketio.1 | .- .-```. ```\/ _.,_ ''-._ 18:40:39 redis_socketio.1 | ( ' , .-` | `, ) Running in stand alone mode 18:40:39 redis_socketio.1 | |`-._`-...-` __...-.-.
|’_.-'| Port: 12000 18:40:39 redis_socketio.1 | | -._ ._ / _.-' | PID: 7326 18:40:39 redis_socketio.1 | -._ -._ -./ .-’ .-’
18:40:39 redis_socketio.1 | |-._-.
-.__.-' _.-'_.-'| 18:40:39 redis_socketio.1 | | -.
-._ _.-'_.-' | http://redis.io 18:40:39 redis_socketio.1 | -._ -._-..-'.-’ .-’
18:40:39 redis_socketio.1 | |-._-.
-.__.-' _.-'_.-'| 18:40:39 redis_socketio.1 | | -.
-._ _.-'_.-' | 18:40:39 redis_socketio.1 | -._ -._-.
.-‘_.-’ _.-’
18:40:39 redis_socketio.1 | -._ -..-’ _.-’
18:40:39 redis_socketio.1 | -._ _.-' 18:40:39 redis_socketio.1 | -.
.-’
18:40:39 redis_socketio.1 |
18:40:39 redis_socketio.1 | [7326] 14 May 18:40:39.952 # Server started, Redis version 2.8.4
18:40:39 redis_socketio.1 | [7326] 14 May 18:40:39.952 # 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.
18:40:39 redis_socketio.1 | [7326] 14 May 18:40:39.952 * The server is now ready to accept connections on port 12000
18:40:40 system | worker_default.1 started (pid=7330)
18:40:40 system | worker_short.1 started (pid=7359)
18:40:40 socketio.1 | module.js:338
18:40:40 socketio.1 | throw err;
18:40:40 socketio.1 | ^
18:40:40 socketio.1 | Error: Cannot find module ‘express’
18:40:40 socketio.1 | at Function.Module._resolveFilename (module.js:336:15)
18:40:40 socketio.1 | at Function.Module._load (module.js:278:25)
18:40:40 socketio.1 | at Module.require (module.js:365:17)
18:40:40 socketio.1 | at require (module.js:384:17)
18:40:40 socketio.1 | at Object. (/home/fsalman/frappe-bench/apps/frappe/socketio.js:1:73)
18:40:40 socketio.1 | at Module._compile (module.js:460:26)
18:40:40 socketio.1 | at Object.Module._extensions…js (module.js:478:10)
18:40:40 socketio.1 | at Module.load (module.js:355:32)
18:40:40 socketio.1 | at Function.Module._load (module.js:310:12)
18:40:40 socketio.1 | at Function.Module.runMain (module.js:501:10)
18:40:40 system | socketio.1 stopped (rc=1)
18:40:40 system | sending SIGTERM to redis_socketio.1 (pid 7320)
18:40:40 system | sending SIGTERM to worker_long.1 (pid 7321)
18:40:40 system | sending SIGTERM to watch.1 (pid 7323)
18:40:40 system | sending SIGTERM to redis_queue.1 (pid 7328)
18:40:40 system | sending SIGTERM to web.1 (pid 7343)
18:40:40 system | sending SIGTERM to schedule.1 (pid 7341)
18:40:40 system | sending SIGTERM to worker_default.1 (pid 7330)
18:40:40 system | sending SIGTERM to redis_cache.1 (pid 7346)
18:40:40 system | sending SIGTERM to worker_short.1 (pid 7359)
18:40:40 redis_socketio.1 | [7326 | signal handler] (1463240440) Received SIGTERM, scheduling shutdown…
18:40:40 redis_queue.1 | [7344 | signal handler] (1463240440) Received SIGTERM, scheduling shutdown…
18:40:40 redis_cache.1 | [7348 | signal handler] (1463240440) Received SIGTERM, scheduling shutdown…
18:40:40 system | worker_long.1 stopped (rc=-15)
18:40:40 system | worker_default.1 stopped (rc=-15)
18:40:40 system | schedule.1 stopped (rc=-15)
18:40:40 system | watch.1 stopped (rc=-15)
18:40:40 system | worker_short.1 stopped (rc=-15)
18:40:40 system | web.1 stopped (rc=-15)
18:40:40 redis_socketio.1 | [7326] 14 May 18:40:40.255 # User requested shutdown…
18:40:40 redis_socketio.1 | [7326] 14 May 18:40:40.255 # Redis is now ready to exit, bye bye…
18:40:40 system | redis_socketio.1 stopped (rc=-15)
18:40:40 redis_queue.1 | [7344] 14 May 18:40:40.263 # User requested shutdown…
18:40:40 redis_queue.1 | [7344] 14 May 18:40:40.263 # Redis is now ready to exit, bye bye…
18:40:40 system | redis_queue.1 stopped (rc=-15)
18:40:40 redis_cache.1 | [7348] 14 May 18:40:40.266 # User requested shutdown…
18:40:40 redis_cache.1 | [7348] 14 May 18:40:40.266 # Redis is now ready to exit, bye bye…
18:40:40 system | redis_cache.1 stopped (rc=-15)

Everything is install on my ubuntu pc but still not able to browse the erpnext login page.
localhost:8000 cant be reached where as localhost shows “welcome to nginx”

Can anyone help me with this ? Above is the log when i do ‘bench start’.

Please try this . You need to go to the bench-repo directory and do git checkout develop followed by git pull. After that back in the frappe-bench folder you need to run bench setup procfile and then do bench update and then bench start and dont forget to restart your computer after doing this .

I had the same problem thanks to vjFaLk he solved my problem .

1 Like

Try all the above still not on… This is the reply i get when i do bench start

-Pc:~/frappe-bench$ bench start
20:46:51 system | worker_long.1 started (pid=3696)
20:46:51 system | watch.1 started (pid=3698)
20:46:51 system | web.1 started (pid=3705)
20:46:51 system | redis_socketio.1 started (pid=3699)
20:46:51 system | worker_short.1 started (pid=3711)
20:46:51 system | socketio.1 started (pid=3707)
20:46:51 system | worker_default.1 started (pid=3714)
20:46:51 system | redis_queue.1 started (pid=3719)
20:46:51 redis_socketio.1 | [3716] 14 May 20:46:51.414 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
20:46:51 redis_socketio.1 | .
20:46:51 redis_socketio.1 | .-__ ''-._ 20:46:51 redis_socketio.1 | _.- . . ‘’-._ Redis 2.8.4 (00000000/0) 64 bit
20:46:51 redis_socketio.1 | .- .-```. ```\/ _.,_ ''-._ 20:46:51 redis_socketio.1 | ( ' , .-` | `, ) Running in stand alone mode 20:46:51 redis_socketio.1 | |`-._`-...-` __...-.-.|'_.-'| Port: 12000 20:46:51 redis_socketio.1 | | -. ._ / _.-' | PID: 3716 20:46:51 redis_socketio.1 | -._ -._ -./ .-’ .-’
20:46:51 redis_socketio.1 | |-._-.
-.__.-' _.-'_.-'| 20:46:51 redis_socketio.1 | | -.
-._ _.-'_.-' | http://redis.io 20:46:51 redis_socketio.1 | -._ -._-..-'.-’ .-’
20:46:51 redis_socketio.1 | |-._-.
-.__.-' _.-'_.-'| 20:46:51 redis_socketio.1 | | -.
-._ _.-'_.-' | 20:46:51 redis_socketio.1 | -._ -._-.
.-‘.-’ .-’
20:46:51 redis_socketio.1 | -._ -..-’ _.-’
20:46:51 redis_socketio.1 | -._ _.-' 20:46:51 redis_socketio.1 | -.
.-’
20:46:51 redis_socketio.1 |
20:46:51 redis_socketio.1 | [3716] 14 May 20:46:51.414 # Server started, Redis version 2.8.4
20:46:51 redis_socketio.1 | [3716] 14 May 20:46:51.414 # 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.
20:46:51 redis_socketio.1 | [3716] 14 May 20:46:51.416 * The server is now ready to accept connections on port 12000
20:46:51 system | schedule.1 started (pid=3725)
20:46:51 system | redis_cache.1 started (pid=3720)
20:46:51 redis_cache.1 | [3729] 14 May 20:46:51.421 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
20:46:51 redis_cache.1 | .
20:46:51 redis_cache.1 | .-__ ''-._ 20:46:51 redis_cache.1 | _.- . . ‘’-.
Redis 2.8.4 (00000000/0) 64 bit
20:46:51 redis_cache.1 | .- .-```. ```\/ _.,_ ''-._ 20:46:51 redis_cache.1 | ( ' , .-` | `, ) Running in stand alone mode 20:46:51 redis_cache.1 | |`-._`-...-` __...-.-.
|’_.-'| Port: 13000 20:46:51 redis_cache.1 | | -._ ._ / _.-' | PID: 3729 20:46:51 redis_cache.1 | -._ -._ -./ .-’ .-’
20:46:51 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 20:46:51 redis_cache.1 | | -.
-._ _.-'_.-' | http://redis.io 20:46:51 redis_cache.1 | -._ -._-..-'.-’ .-’
20:46:51 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 20:46:51 redis_cache.1 | | -.
-._ _.-'_.-' | 20:46:51 redis_cache.1 | -._ -._-.
.-‘.-’ .-’
20:46:51 redis_cache.1 | -._ -..-’ _.-’
20:46:51 redis_cache.1 | -._ _.-' 20:46:51 redis_cache.1 | -.
.-’
20:46:51 redis_cache.1 |
20:46:51 redis_cache.1 | [3729] 14 May 20:46:51.421 # Server started, Redis version 2.8.4
20:46:51 redis_cache.1 | [3729] 14 May 20:46:51.421 # 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.
20:46:51 redis_cache.1 | [3729] 14 May 20:46:51.421 * The server is now ready to accept connections on port 13000
20:46:51 redis_queue.1 | [3727] 14 May 20:46:51.431 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
20:46:51 redis_queue.1 | .
20:46:51 redis_queue.1 | .-__ ''-._ 20:46:51 redis_queue.1 | _.- . . ‘’-.
Redis 2.8.4 (00000000/0) 64 bit
20:46:51 redis_queue.1 | .- .-```. ```\/ _.,_ ''-._ 20:46:51 redis_queue.1 | ( ' , .-` | `, ) Running in stand alone mode 20:46:51 redis_queue.1 | |`-._`-...-` __...-.-.
|’_.-'| Port: 11000 20:46:51 redis_queue.1 | | -._ ._ / _.-' | PID: 3727 20:46:51 redis_queue.1 | -._ -._ -./ .-’ .-’
20:46:51 redis_queue.1 | |-._-.
-.__.-' _.-'_.-'| 20:46:51 redis_queue.1 | | -.
-._ _.-'_.-' | http://redis.io 20:46:51 redis_queue.1 | -._ -._-..-'.-’ .-’
20:46:51 redis_queue.1 | |-._-.
-.__.-' _.-'_.-'| 20:46:51 redis_queue.1 | | -.
-._ _.-'_.-' | 20:46:51 redis_queue.1 | -._ -._-.
.-‘_.-’ _.-’
20:46:51 redis_queue.1 | -._ -..-’ _.-’
20:46:51 redis_queue.1 | -._ _.-' 20:46:51 redis_queue.1 | -.
.-’
20:46:51 redis_queue.1 |
20:46:51 redis_queue.1 | [3727] 14 May 20:46:51.431 # Server started, Redis version 2.8.4
20:46:51 redis_queue.1 | [3727] 14 May 20:46:51.431 # 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.
20:46:51 redis_queue.1 | [3727] 14 May 20:46:51.431 * The server is now ready to accept connections on port 11000
20:46:52 socketio.1 | module.js:338
20:46:52 socketio.1 | throw err;
20:46:52 socketio.1 | ^
20:46:52 socketio.1 | Error: Cannot find module ‘express’
20:46:52 socketio.1 | at Function.Module._resolveFilename (module.js:336:15)
20:46:52 socketio.1 | at Function.Module._load (module.js:278:25)
20:46:52 socketio.1 | at Module.require (module.js:365:17)
20:46:52 socketio.1 | at require (module.js:384:17)
20:46:52 socketio.1 | at Object. (/home/fsalman/frappe-bench/apps/frappe/socketio.js:1:73)
20:46:52 socketio.1 | at Module._compile (module.js:460:26)
20:46:52 socketio.1 | at Object.Module._extensions…js (module.js:478:10)
20:46:52 socketio.1 | at Module.load (module.js:355:32)
20:46:52 socketio.1 | at Function.Module._load (module.js:310:12)
20:46:52 socketio.1 | at Function.Module.runMain (module.js:501:10)
20:46:52 system | socketio.1 stopped (rc=1)
20:46:52 system | sending SIGTERM to redis_socketio.1 (pid 3699)
20:46:52 system | sending SIGTERM to worker_long.1 (pid 3696)
20:46:52 system | sending SIGTERM to watch.1 (pid 3698)
20:46:52 system | sending SIGTERM to redis_queue.1 (pid 3719)
20:46:52 system | sending SIGTERM to web.1 (pid 3705)
20:46:52 system | sending SIGTERM to schedule.1 (pid 3725)
20:46:52 system | sending SIGTERM to worker_default.1 (pid 3714)
20:46:52 system | sending SIGTERM to redis_cache.1 (pid 3720)
20:46:52 system | sending SIGTERM to worker_short.1 (pid 3711)
20:46:52 system | watch.1 stopped (rc=-15)
20:46:52 system | worker_long.1 stopped (rc=-15)
20:46:52 redis_socketio.1 | [3716 | signal handler] (1463248012) Received SIGTERM, scheduling shutdown…
20:46:52 redis_socketio.1 | [3716] 14 May 20:46:52.030 # User requested shutdown…
20:46:52 redis_socketio.1 | [3716] 14 May 20:46:52.030 # Redis is now ready to exit, bye bye…
20:46:52 redis_queue.1 | [3727 | signal handler] (1463248012) Received SIGTERM, scheduling shutdown…
20:46:52 redis_queue.1 | [3727] 14 May 20:46:52.036 # User requested shutdown…
20:46:52 redis_queue.1 | [3727] 14 May 20:46:52.036 # Redis is now ready to exit, bye bye…
20:46:52 system | worker_default.1 stopped (rc=-15)
20:46:52 redis_cache.1 | [3729 | signal handler] (1463248012) Received SIGTERM, scheduling shutdown…
20:46:52 system | redis_socketio.1 stopped (rc=-15)
20:46:52 system | redis_queue.1 stopped (rc=-15)
20:46:52 system | web.1 stopped (rc=-15)
20:46:52 system | worker_short.1 stopped (rc=-15)
20:46:52 system | schedule.1 stopped (rc=-15)
20:46:52 redis_cache.1 | [3729] 14 May 20:46:52.124 # User requested shutdown…
20:46:52 redis_cache.1 | [3729] 14 May 20:46:52.124 # Redis is now ready to exit, bye bye…
20:46:52 system | redis_cache.1 stopped (rc=-15)

Did you restart your computer before running bench start command ?

Yes i tried that.
Still the same issue
this is the log

-Pc:~/frappe-bench$ bench start
19:21:07 system | redis_socketio.1 started (pid=9132)
19:21:07 system | redis_queue.1 started (pid=9137)
19:21:07 system | watch.1 started (pid=9135)
19:21:07 system | worker_long.1 started (pid=9134)
19:21:07 system | worker_default.1 started (pid=9146)
19:21:07 system | web.1 started (pid=9150)
19:21:07 system | redis_cache.1 started (pid=9160)
19:21:07 system | schedule.1 started (pid=9148)
19:21:07 system | worker_short.1 started (pid=9161)
19:21:07 system | socketio.1 started (pid=9158)
19:21:07 redis_socketio.1 | [9143] 15 May 19:21:07.932 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
19:21:07 redis_socketio.1 | .
19:21:07 redis_socketio.1 | .-__ ''-._ 19:21:07 redis_socketio.1 | _.- . . ‘’-._ Redis 2.8.4 (00000000/0) 64 bit
19:21:07 redis_socketio.1 | .- .-```. ```\/ _.,_ ''-._ 19:21:07 redis_socketio.1 | ( ' , .-` | `, ) Running in stand alone mode 19:21:07 redis_socketio.1 | |`-._`-...-` __...-.-.|'_.-'| Port: 12000 19:21:07 redis_socketio.1 | | -. ._ / _.-' | PID: 9143 19:21:07 redis_socketio.1 | -._ -._ -./ .-’ .-’
19:21:07 redis_socketio.1 | |-._-.
-.__.-' _.-'_.-'| 19:21:07 redis_socketio.1 | | -.
-._ _.-'_.-' | http://redis.io 19:21:07 redis_socketio.1 | -._ -._-..-'.-’ .-’
19:21:07 redis_socketio.1 | |-._-.
-.__.-' _.-'_.-'| 19:21:07 redis_socketio.1 | | -.
-._ _.-'_.-' | 19:21:07 redis_socketio.1 | -._ -._-.
.-‘.-’ .-’
19:21:07 redis_socketio.1 | -._ -..-’ _.-’
19:21:07 redis_socketio.1 | -._ _.-' 19:21:07 redis_socketio.1 | -.
.-’
19:21:07 redis_socketio.1 |
19:21:07 redis_socketio.1 | [9143] 15 May 19:21:07.933 # Server started, Redis version 2.8.4
19:21:07 redis_socketio.1 | [9143] 15 May 19:21:07.933 # 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:21:07 redis_queue.1 | [9144] 15 May 19:21:07.937 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
19:21:07 redis_queue.1 | .
19:21:07 redis_queue.1 | .-__ ''-._ 19:21:07 redis_queue.1 | _.- . . ‘’-.
Redis 2.8.4 (00000000/0) 64 bit
19:21:07 redis_queue.1 | .- .-```. ```\/ _.,_ ''-._ 19:21:07 redis_queue.1 | ( ' , .-` | `, ) Running in stand alone mode 19:21:07 redis_queue.1 | |`-._`-...-` __...-.-.
|’_.-'| Port: 11000 19:21:07 redis_queue.1 | | -._ ._ / _.-' | PID: 9144 19:21:07 redis_queue.1 | -._ -._ -./ .-’ .-’
19:21:07 redis_queue.1 | |-._-.
-.__.-' _.-'_.-'| 19:21:07 redis_queue.1 | | -.
-._ _.-'_.-' | http://redis.io 19:21:07 redis_queue.1 | -._ -._-..-'.-’ .-’
19:21:07 redis_queue.1 | |-._-.
-.__.-' _.-'_.-'| 19:21:07 redis_queue.1 | | -.
-._ _.-'_.-' | 19:21:07 redis_queue.1 | -._ -._-.
.-‘.-’ .-’
19:21:07 redis_queue.1 | -._ -..-’ _.-’
19:21:07 redis_queue.1 | -._ _.-' 19:21:07 redis_queue.1 | -.
.-’
19:21:07 redis_queue.1 |
19:21:07 redis_queue.1 | [9144] 15 May 19:21:07.937 # Server started, Redis version 2.8.4
19:21:07 redis_queue.1 | [9144] 15 May 19:21:07.937 # 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:21:07 redis_queue.1 | [9144] 15 May 19:21:07.940 * The server is now ready to accept connections on port 11000
19:21:07 redis_socketio.1 | [9143] 15 May 19:21:07.940 * The server is now ready to accept connections on port 12000
19:21:07 redis_cache.1 | [9162] 15 May 19:21:07.978 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
19:21:07 redis_cache.1 | .
19:21:07 redis_cache.1 | .-__ ''-._ 19:21:07 redis_cache.1 | _.- . . ‘’-.
Redis 2.8.4 (00000000/0) 64 bit
19:21:07 redis_cache.1 | .- .-```. ```\/ _.,_ ''-._ 19:21:07 redis_cache.1 | ( ' , .-` | `, ) Running in stand alone mode 19:21:07 redis_cache.1 | |`-._`-...-` __...-.-.
|’_.-'| Port: 13000 19:21:07 redis_cache.1 | | -._ ._ / _.-' | PID: 9162 19:21:07 redis_cache.1 | -._ -._ -./ .-’ .-’
19:21:07 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 19:21:07 redis_cache.1 | | -.
-._ _.-'_.-' | http://redis.io 19:21:07 redis_cache.1 | -._ -._-..-'.-’ .-’
19:21:07 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 19:21:07 redis_cache.1 | | -.
-._ _.-'_.-' | 19:21:07 redis_cache.1 | -._ -._-.
.-‘_.-’ _.-’
19:21:07 redis_cache.1 | -._ -..-’ _.-’
19:21:07 redis_cache.1 | -._ _.-' 19:21:07 redis_cache.1 | -.
.-’
19:21:07 redis_cache.1 |
19:21:07 redis_cache.1 | [9162] 15 May 19:21:07.979 # Server started, Redis version 2.8.4
19:21:07 redis_cache.1 | [9162] 15 May 19:21:07.979 # 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:21:07 redis_cache.1 | [9162] 15 May 19:21:07.979 * The server is now ready to accept connections on port 13000
19:21:08 socketio.1 | module.js:338
19:21:08 socketio.1 | throw err;
19:21:08 socketio.1 | ^
19:21:08 socketio.1 | Error: Cannot find module ‘express’
19:21:08 socketio.1 | at Function.Module._resolveFilename (module.js:336:15)
19:21:08 socketio.1 | at Function.Module._load (module.js:278:25)
19:21:08 socketio.1 | at Module.require (module.js:365:17)
19:21:08 socketio.1 | at require (module.js:384:17)
19:21:08 socketio.1 | at Object. (/home/fsalman/frappe-bench/apps/frappe/socketio.js:1:73)
19:21:08 socketio.1 | at Module._compile (module.js:460:26)
19:21:08 socketio.1 | at Object.Module._extensions…js (module.js:478:10)
19:21:08 socketio.1 | at Module.load (module.js:355:32)
19:21:08 socketio.1 | at Function.Module._load (module.js:310:12)
19:21:08 socketio.1 | at Function.Module.runMain (module.js:501:10)
19:21:08 system | socketio.1 stopped (rc=1)
19:21:08 system | sending SIGTERM to redis_socketio.1 (pid 9132)
19:21:08 system | sending SIGTERM to worker_long.1 (pid 9134)
19:21:08 system | sending SIGTERM to watch.1 (pid 9135)
19:21:08 system | sending SIGTERM to redis_queue.1 (pid 9137)
19:21:08 system | sending SIGTERM to web.1 (pid 9150)
19:21:08 system | sending SIGTERM to schedule.1 (pid 9148)
19:21:08 system | sending SIGTERM to worker_default.1 (pid 9146)
19:21:08 system | sending SIGTERM to redis_cache.1 (pid 9160)
19:21:08 system | sending SIGTERM to worker_short.1 (pid 9161)
19:21:08 redis_socketio.1 | [9143 | signal handler] (1463329268) Received SIGTERM, scheduling shutdown…
19:21:08 redis_socketio.1 | [9143] 15 May 19:21:08.500 # User requested shutdown…
19:21:08 redis_socketio.1 | [9143] 15 May 19:21:08.501 # Redis is now ready to exit, bye bye…
19:21:08 system | worker_long.1 stopped (rc=-15)
19:21:08 system | worker_default.1 stopped (rc=-15)
19:21:08 redis_queue.1 | [9144 | signal handler] (1463329268) Received SIGTERM, scheduling shutdown…
19:21:08 redis_queue.1 | [9144] 15 May 19:21:08.503 # User requested shutdown…
19:21:08 redis_queue.1 | [9144] 15 May 19:21:08.503 # Redis is now ready to exit, bye bye…
19:21:08 system | redis_socketio.1 stopped (rc=-15)
19:21:08 system | watch.1 stopped (rc=-15)
19:21:08 system | redis_queue.1 stopped (rc=-15)
19:21:08 system | web.1 stopped (rc=-15)
19:21:08 redis_cache.1 | [9162 | signal handler] (1463329268) Received SIGTERM, scheduling shutdown…
19:21:08 system | schedule.1 stopped (rc=-15)
19:21:08 system | worker_short.1 stopped (rc=-15)
19:21:08 redis_cache.1 | [9162] 15 May 19:21:08.582 # User requested shutdown…
19:21:08 redis_cache.1 | [9162] 15 May 19:21:08.582 # Redis is now ready to exit, bye bye…
19:21:08 system | redis_cache.1 stopped (rc=-15)

I am not sure but this could help you , bench-repo directory and do git checkout master followed by git pull. After that back in the frappe-bench folder you need to runbench setup procfileand then dobench updateand then bench start and dont forget to restart your computer after doing this .

First we tried to install developer setup , try to install master setup with the above code . This might help .

Hello All,
Instead of opening new thread. I am asking here.

I tried the new script on a fresh Ubuntu Server with gui. And i the installation asking for Mysql password and I tried searching for the frappe folder everywhere but cant find it anywhere even in root folder its not there.

Where does the new script install the frappe and frappe-bench folder?
Please reply asap.
thanks

This is where you should provide your choice of password and keep it safe as you will need this MySQL root password everything you do add, remove etc. using bench tool on CLI.

frappe if you have given as username during install.py then
on doing sudo su - frappe will give you frappe user prompt.
Standard path for frappe user and frappe-bench is as per bench version 4 (latest stable) follows:

Full Path: /home/frappe/frappe-bench/
apps
config
env
logs
node_modules
patches.txt
Procfile
sites

Bench (cli) Full path: /home/frappe/.bench/

Path to run bench: frappe@yoursystem:~/frappe-bench$ bench --help

This topic was automatically closed after 3 days. New replies are no longer allowed.