camilo@DESKTOP-KOJCFNE:~$ sudo python3 -m pip install --upgrade pip
[sudo] password for camilo:
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
WARNING: The directory ‘/home/camilo/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo’s -H flag.
Requirement already satisfied: pip in /usr/local/lib/python3.6/dist-packages (21.3.1)
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:
camilo@DESKTOP-KOJCFNE:~$ python3 install.py --production
python3: can’t open file ‘install.py’: [Errno 2] No such file or directory
camilo@DESKTOP-KOJCFNE:~$ cd mnt/c
-bash: cd: mnt/c: No such file or directory
camilo@DESKTOP-KOJCFNE:~$ cd …
camilo@DESKTOP-KOJCFNE:/home$ cd …
camilo@DESKTOP-KOJCFNE:/$ cd …
camilo@DESKTOP-KOJCFNE:/$
camilo@DESKTOP-KOJCFNE:/$ cd mnt/c
camilo@DESKTOP-KOJCFNE:/mnt/c$ cd Users/SHAMILO/Downloads/
camilo@DESKTOP-KOJCFNE:/mnt/c/Users/SHAMILO/Downloads$ sudo ssh -i AkoERPNext.pem ubuntu"arroba"3.87.160.216
Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 5.4.0-1060-aws x86_64)
- Documentation:
- Management:
- Support:
System information as of Thu Dec 9 18:59:14 UTC 2021
System load: 0.0 Processes: 107
Usage of /: 67.0% of 7.69GB Users logged in: 0
Memory usage: 31% IP address for eth0: 172.31.92.5
Swap usage: 0%
- Ubuntu Pro delivers the most comprehensive open source security and
compliance features.
0 updates can be applied immediately.
New release ‘20.04.3 LTS’ available.
Run ‘do-release-upgrade’ to upgrade to it.
Last login: Thu Dec 9 16:47:37 2021 from 181.225.78.13
ubuntu@ip-172-31-92-5:~$ $ apt install python3-minimal build-essential python3-setuptools
$: command not found
ubuntu@ip-172-31-92-5:~$ apt install python3-minimal build-essential python3-setuptools
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
ubuntu@ip-172-31-92-5:~$ sudo $ apt install python3-minimal build-essential python3-setuptools
sudo: $: command not found
ubuntu@ip-172-31-92-5:~$ sudo apt install python3-minimal build-essential python3-setuptools
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version (12.4ubuntu1).
python3-setuptools is already the newest version (39.0.1-2).
python3-minimal is already the newest version (3.6.7-1~18.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ip-172-31-92-5:~$ sudo wget https://raw.githubusercontent.com/frappe/bench/develop/install.py
–2021-12-09 19:00:07–
Resolving 185.199.111.133, 185.199.108.133, 185.199.109.133, …
Connecting to raw.githubusercontent.com |185.199.111.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 18232 (18K) [text/plain]
Saving to: ‘install.py.3’
install.py.3 100%[===============================>] 17.80K --.-KB/s in 0s
2021-12-09 19:00:08 (84.9 MB/s) - ‘install.py.3’ saved [18232/18232]
ubuntu@ip-172-31-92-5:~$ sudo python3 install.py --production
Logs are saved under /tmp/logs/easy-install__2021-12-09__19-00.log
curl already installed!
wget already installed!
git already installed!
pip3 already installed!
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead
pip3 already installed!
Checking System Compatibility…
ubuntu 18 is compatible!
Cloning bench repository branch develop into /tmp/.bench
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit
localhost does not match ‘all’
Input MySQL and Frappe Administrator passwords:
Passwords saved at ~/passwords.txt
Initializing bench frappe-bench:
Frappe Branch: version-12
ERPNext Branch: version-12
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit
localhost does not match ‘all’
[WARNING]: Consider using the get_url or uri module rather than running ‘curl’. If you need to
use command because get_url or uri is insufficient you can add ‘warn: false’ to this command
task or set ‘command_warnings=False’ in ansible.cfg to get rid of this message.
[DEPRECATION WARNING]: evaluating [] as a bare variable, this behaviour will go away and you
might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS
configuration toggle… This feature will be removed in version 2.12. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Consider using the file module with owner rather than running ‘chown’. If you need
to use command because file is insufficient you can add ‘warn: false’ to this command task or
set ‘command_warnings=False’ in ansible.cfg to get rid of this message.
Traceback (most recent call last):
File “install.py”, line 500, in
install_bench(args)
File “install.py”, line 281, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 416, in run_playbook
success = subprocess.check_call(args, cwd=playbooks_folder, 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 ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-vvvv’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returne
d non-zero exit status 2.