Challenges implementing ERPNext on Scaleway VPS

I’m trying to implement ERPNext on a Scaleway VPS. I’m having all kinds of problems.

Has anybody implemented ERPNext on Scaleway? Any hints/suggestions?



Any particular errors you are facing? I use it actively.

A whole bunch. But before I send you the latest error, some validations:

Scaleway provides root access
I created another account, gave sudo access to it and then installed everything.
The easy install doesn’t go through too well, so I did the manual install.

Is that the right way to go about it? Or what?



bench init frappe-bench is giving me the following error:

bench init frappe-bench
INFO:bench.utils:virtualenv -q env -p /usr/bin/python
Already using interpreter /usr/bin/python
INFO:bench.utils:./env/bin/pip -q install --upgrade pip
INFO:bench.utils:./env/bin/pip -q install wheel
INFO:bench.utils:./env/bin/pip -q install six
INFO:bench.utils:./env/bin/pip -q install -e git+ app frappe
INFO:bench.utils:git clone GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript --origin upstream
Cloning into ‘frappe’…
remote: Counting objects: 135922, done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 135922 (delta 6), reused 3 (delta 0), pack-reused 135874
Receiving objects: 100% (135922/135922), 105.67 MiB | 15.85 MiB/s, done.
Resolving deltas: 100% (102961/102961), done.
Checking connectivity… done.
(‘installing’, u’frappe’) frappe
INFO:bench.utils:frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe --no-cache-dir
Command “python egg_info” failed with error code 1 in /tmp/pip-build-rL2WPG/mysqlclient/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/shero/bench-repo/bench/”, line 40, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/shero/bench-repo/bench/commands/”, line 19, in init
verbose=verbose, clone_from=clone_from)
File “/home/shero/bench-repo/bench/”, line 56, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File “/home/shero/bench-repo/bench/”, line 76, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/home/shero/bench-repo/bench/”, line 107, in install_app
File “/home/shero/bench-repo/bench/”, line 130, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe --no-cache-dir

Below is what I use, I generally use easy install ( not too qualified to do a manual install :slight_smile: )

  1. sudo su
  2. apt-get install python-minimal
  3. wget
  4. python --production --user frappe

This usually works well for me for new installations.


Buddy: You saved my life. And like how!!

Permit me to buy you a beverage of your choice on one of the evenings of the conference.



1 Like