I’ve been trying to install ERPNext in my Ubuntu Droplet, but every time I try it it send me some errors, for me it’s kind of weird because if I install it in my real computer (local) It installs without problem. The errors I get are:
Adding ubuntu mariadb repo Installing packages for Ubuntu. This might take time… Installing wkhtmltopdf
installing frappe Error: None Traceback (most recent call last): File “/usr/local/bin/bench”, line 9, in <module> load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)() File “/home/frappe/bench-repo/bench/cli.py”, line 56, in cli bench() File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 664, in call return self.main(*args, **kwargs) File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 644, in main rv = self.invoke(ctx) File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 991, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 837, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 464, in invoke return callback(*args, **kwargs) File “/home/frappe/bench-repo/bench/cli.py”, line 161, in init no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch) File “/home/frappe/bench-repo/bench/utils.py”, line 64, in init get_app(‘frappe’, frappe_path, branch=frappe_branch, bench=path, build_asset_files=False) File “/home/frappe/bench-repo/bench/app.py”, line 54, in get_app install_app(app, bench=bench) File “/home/frappe/bench-repo/bench/app.py”, line 78, in install_app find_links=find_links)) File “/home/frappe/bench-repo/bench/utils.py”, line 79, in exec_cmd subprocess.check_call(cmd, cwd=cwd, shell=True) File “/usr/lib/python2.7/subprocess.py”, line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command ‘frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe’ returned non-zero exit status 2
Someone have an idea of what’s happening ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I keep getting these errors when starting bench.
Cent OS 7 on Digital Ocean
21:22:56 system | web.1 started (pid=24170) 21:22:56 system | workerbeat.1 started (pid=24172) 21:22:56 system | redis_cache.1 started (pid=24175) 21:22:56 redis_cache.1 | [24175] 02 Jun 21:22:56.609 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. 21:22:56 redis_cache.1 | [24175] 02 Jun 21:22:56.609 # Redis can’t set maximum open files to 10032 because of OS error: Operation not permitted. 21:22:56 redis_cache.1 | [24175] 02 Jun 21:22:56.609 # Current maximum open files is 1024. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’. 21:22:56 redis_cache.1 | [24175] 02 Jun 21:22:56.609 # Creating Server TCP listening socket 127.0.0.1:13000: bind: Address already in use 21:22:56 system | redis_cache.1 stopped (rc=1) 21:22:56 system | socketio.1 started (pid=24174) 21:22:56 system | async_worker.1 started (pid=24171) 21:22:56 system | watch.1 started (pid=24173) 21:22:56 system | redis_queue.1 started (pid=24176) 21:22:56 redis_queue.1 | [24176] 02 Jun 21:22:56.602 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. 21:22:56 redis_queue.1 | [24176] 02 Jun 21:22:56.602 # Redis can’t set maximum open files to 10032 because of OS error: Operation not permitted. 21:22:56 redis_queue.1 | [24176] 02 Jun 21:22:56.602 # Current maximum open files is 1024. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’. 21:22:56 redis_queue.1 | [24176] 02 Jun 21:22:56.602 # Creating Server TCP listening socket 127.0.0.1:11000: bind: Address already in use 21:22:56 system | redis_queue.1 stopped (rc=1) 21:22:56 system | redis_socketio.1 started (pid=24177) 21:22:56 redis_socketio.1 | [24177] 02 Jun 21:22:56.606 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. 21:22:56 redis_socketio.1 | [24177] 02 Jun 21:22:56.606 # Redis can’t set maximum open files to 10032 because of OS error: Operation not permitted. 21:22:56 redis_socketio.1 | [24177] 02 Jun 21:22:56.606 # Current maximum open files is 1024. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’. 21:22:56 redis_socketio.1 | [24177] 02 Jun 21:22:56.607 # Creating Server TCP listening socket 127.0.0.1:12000: bind: Address already in use 21:22:56 system | redis_socketio.1 stopped (rc=1) 21:22:56 system | longjob_worker.1 started (pid=24179) 21:22:56 system | worker.1 started (pid=24178) 21:22:56 system | sending SIGTERM to workerbeat.1 (pid 24172) 21:22:56 system | sending SIGTERM to watch.1 (pid 24173) 21:22:56 system | sending SIGTERM to web.1 (pid 24170) 21:22:56 system | sending SIGTERM to async_worker.1 (pid 24171) 21:22:56 system | sending SIGTERM to socketio.1 (pid 24174) 21:22:56 system | sending SIGTERM to worker.1 (pid 24178) 21:22:56 system | sending SIGTERM to longjob_worker.1 (pid 24179) 21:22:56 system | worker.1 stopped (rc=-15) 21:22:56 system | longjob_worker.1 stopped (rc=-15) 21:22:56 system | workerbeat.1 stopped (rc=-15) 21:22:56 system | watch.1 stopped (rc=-15) 21:22:56 system | async_worker.1 stopped (rc=-15) 21:22:56 system | web.1 stopped (rc=-15) 21:22:56 system | socketio.1 stopped (rc=143)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.