Issue while using Easy Install script

I cant install ERPNexts while using Easy Install script.
Server Provider: Contabo
OS: Ubuntu 18.04

ANY SOLUTION ?

frappe@vmi533097:~$ python3 install.py --production
python3: can't open file 'install.py': [Errno 2] No such file or directory
frappe@vmi533097:~$ wget https://raw.githubusercontent.com/frappe/bench/develop/install.py
--2021-02-25 13:48:06--  https://raw.githubusercontent.com/frappe/bench/develop/install.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17981 (18K) [text/plain]
Saving to: ‘install.py’

install.py                              100%[============================================================================>]  17.56K  --.-KB/s    in 0s      

2021-02-25 13:48:06 (48.9 MB/s) - ‘install.py’ saved [17981/17981]

frappe@vmi533097:~$ python3 install.py --production
Please run this script as a non-root user with sudo privileges
frappe@vmi533097:~$ su
Password: 
su: Authentication failure
frappe@vmi533097:~$  
frappe@vmi533097:~$ su root
Password: 
root@vmi533097:/home/frappe# python3 install.py --production
Logs are saved under /tmp/logs/easy-install__2021-02-25__12-49.log
E: Sub-process /usr/bin/dpkg returned an error code (1)
Traceback (most recent call last):
  File "install.py", line 487, in <module>
    install_prerequisites()
  File "install.py", line 156, in install_prerequisites
    'sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel'
  File "install.py", line 141, in run_os_command
    returncode = subprocess.check_call(command, shell=True, stdout=log_stream, stderr=sys.stderr)
  File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'sudo apt-get install -y git build-essential python3-setuptools python3-dev libffi-dev' returned non-zero exit status 100.
root@vmi533097:/home/frappe#

What happens when you try running this package installation manually?

Might just be some env vars that are not set… try using

su - root

The “-” forces the environment to update (so I’m told)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.