Javier, It didn’t work…
I’ll summarize everything I did
- Formatted the server and installed ubuntu 18.04
$ sudo su
$ apt update
$ apt upgrade
$ apt install python3-minimal build-essential python3-setuptools
$ wget https://raw.githubusercontent.com/frappe/bench/develop/install.py
$ python3 install.py --production
$ export LC_ALL=C.UTF-8
$ python3 install.py --production
- Entered passwords
The commands were put into the terminal using PuTTY exactly as listed above
The console output after 9. was:
root@vps:/home/ubuntu# python3 install.py --production
Logs are saved under /tmp/logs/easy-install__2020-06-13__20-34.log
Checking System Compatibility...
ubuntu 18 is compatible!
curl already installed!
wget already installed!
git already installed!
Installing pip3...
pip3 installed!
[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:
Please enter mysql root password:
Re-enter mysql root password:
Please enter the default Administrator user password:
Re-enter Administrator password:
Passwords saved at ~/passwords.txt
[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]: Could not find aptitude. Using apt-get instead
[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.
Traceback (most recent call last):
File "install.py", line 440, in <module>
install_bench(args)
File "install.py", line 241, in install_bench
run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
File "install.py", line 365, 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']' returned non-zero exit status 2.
root@vps:/home/ubuntu#
Theoretically, after all this, when I put the server’s IP on my browser, I was supposed to see something, right? The browser says “this address cannot be reached”
Do you know what is going on??