Error during installing erpnext on ubuntu

HI
I started to use ubuntu to instatll erpnext with easy way instruction. but facing error during fisrt time. logs are:

p { margin-bottom: 0.1in; line-height: 120%; }

ewel@jewel-VirtualBox:~$
wget
'https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh

–2015-08-15
15:54:56–
'https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh

Resolving
raw.githubusercontent.com (raw.githubusercontent.com)…
103.245.222.133

Connecting to


(raw.githubusercontent.com)|103.245.222.133|:443… connected.

HTTP request sent,
awaiting response… 200 OK

Length: 12875 (13K)
[text/plain]

Saving to:
‘setup_frappe.sh’

100%[======================================>]
12,875 --.-K/s in 0.005s

2015-08-15 15:54:58
(2.61 MB/s) - ‘setup_frappe.sh’ saved [12875/12875]

jewel@jewel-VirtualBox:~$
sudo bash setup_frappe.sh --setup-production

[sudo] password for
jewel:

Installing for
Ubuntu trusty x86

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…

Installing
wkhtmltopdf

  • Stopping MariaDB
    database server mysqld [ OK ]

  • Starting MariaDB
    database server mysqld [ OK ]

  • Checking for
    corrupt, not cleanly closed and upgrade needing tables.

Adding frappe user

Installing
frappe-bench

/home/jewel/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90:
InsecurePlatformWarning: A true SSLContext object is not available.
This prevents urllib3 from configuring SSL appropriately and may
cause certain SSL connections to fail. For more information, see
'https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

InsecurePlatformWarning

/home/jewel/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90:
InsecurePlatformWarning: A true SSLContext object is not available.
This prevents urllib3 from configuring SSL appropriately and may
cause certain SSL connections to fail. For more information, see
'https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

InsecurePlatformWarning

/home/jewel/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90:
InsecurePlatformWarning: A true SSLContext object is not available.
This prevents urllib3 from configuring SSL appropriately and may
cause certain SSL connections to fail. For more information, see
'https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

InsecurePlatformWarning

Cloning into
‘frappe’…

Checking out files:
100% (1167/1167), done.

/home/jewel/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90:
InsecurePlatformWarning: A true SSLContext object is not available.
This prevents urllib3 from configuring SSL appropriately and may
cause certain SSL connections to fail. For more information, see
'https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

InsecurePlatformWarning

no crontab for jewel

Cloning into
‘erpnext’…

error: RPC failed;
result=56, HTTP code = 200

fatal: The remote
end hung up unexpectedly

fatal: early EOF

fatal: index-pack
failed

Already using
interpreter /usr/bin/python

installing frappe

Traceback (most
recent call last):

File
“/usr/local/bin/bench”, line 9, in

load_entry_point(‘bench==0.92’, ‘console_scripts’, ‘bench’)()

File
“/home/jewel/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/jewel/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/jewel/bench-repo/bench/utils.py”, line 79, in init

install_apps_from_path(apps_path, bench=path)

File
“/home/jewel/bench-repo/bench/app.py”, line 192, in
install_apps_from_path

get_app(app[‘name’], app[‘url’], branch=app.get(‘branch’),
bench=bench, build_asset_files=False)

File
“/home/jewel/bench-repo/bench/app.py”, line 52, in get_app

cwd=os.path.join(bench, ‘apps’))

File
“/home/jewel/bench-repo/bench/utils.py”, line 100, in
exec_cmd

raise

CommandFailedError(cmd)

bench.utils.CommandFailedError:
git clone 'https://github.com/frappe/erpnext --branch master --origin
upstream erpnext

and tried for second time ended with another message:

jewel@jewel-VirtualBox:~$ cd /home/erpnext/erpnext
bash: cd: /home/erpnext/erpnext: No such file or directory
jewel@jewel-VirtualBox:~$ ./lib/wnf.py --serve
bash: ./lib/wnf.py: No such file or directory
jewel@jewel-VirtualBox:~$ sudo bash setup_frappe.sh --setup-production
[sudo] password for jewel:
Installing for Ubuntu trusty x86
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…
Installing wkhtmltopdf

  • Stopping MariaDB database server mysqld [ OK ]
  • Starting MariaDB database server mysqld [ OK ]
  • Checking for corrupt, not cleanly closed and upgrade needing tables.
    Adding frappe user
    fatal: destination path ‘bench-repo’ already exists and is not an empty directory.
    jewel@jewel-VirtualBox:~$

could anyone help me to complete??
Regards
Jewel

Hi Jewel,

Looks like due to network issue the installation stopped the first time.

try removing the folder bench-repo and frappe-bench and try to install again.

-Anand.