portofacil
If so, any other alternative resposity to use please? and what is the limit rules please?
Tried manny times, and here are my step of POST INSTALLATION, if there are anything wrong, please correct me:
1#
root@101:~# source /etc/bash_completion.d/wo_auto.rc
root@101:~# sudo wo stack install
WP-CLI is already installed
Start : wo-kernel [OK]
Adding repository for MySQL, please wait...
Adding repository for NGINX, please wait...
Adding repository for PHP, please wait...
Whoops, something went wrong... [..]
Check the WordOps log for more details tail /var/log/wo/wordops.log
and please try again...
root@101:~#
2#
tail /var/log/wo/wordops.log
root@101:~# source /etc/bash_completion.d/wo_auto.rc
root@101:~# sudo wo stack install
WP-CLI is already installed
Start : wo-kernel [OK]
Adding repository for MySQL, please wait...
Adding repository for NGINX, please wait...
Adding repository for PHP, please wait...
Whoops, something went wrong... [..]
Check the WordOps log for more details tail /var/log/wo/wordops.log
and please try again...
root@101:~#
3#
Update and replace repository mirrors:
root@101:~# for X in /etc/apt/sources.list.d/*; do echo; echo; echo " $X:"; echo; cat $X; done**
root@101:~# sudo add-apt-repository --remove ppa:jonathonf/backports Backports of various (low impact) packages to Bionic
Do you help make open-source sustainable? Tell me.
https://ko-fi.com/jonathonf
More info: https://launchpad.net/~jonathonf/+archive/ubuntu/backports
Press [ENTER] to continue or ctrl-c to cancel removing it
rroot@101:~# nano /etc/apt/sources.list.d/wo-repo.list
root@101:~# sudo apt-get update
Here are all repository:
### but I did not replace this one: http://ppa.launchpad.net/wordops/nginx-wo/ubuntu xenial InRelease
Hit:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu xenial-security InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease
Hit:5 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease
Hit:6 http://mirrors.aliyun.com/mariadb/repo/10.3/ubuntu xenial InRelease
Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]
Hit:8 http://ppa.launchpad.net/wordops/nginx-wo/ubuntu xenial InRelease
Get:9 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [58.4 kB]
Hit:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
Hit:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease
Hit:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease
Hit:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease
Get:14 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main i386 Packages [58.2 kB]
Get:15 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main Translation-en [30.2 kB]
Fetched 171 kB in 4s (35.8 kB/s)
Reading package lists... Done
4# issue will produce again:
root@101:~# source /etc/bash_completion.d/wo_auto.rc
root@101:~# sudo wo stack install
WP-CLI is already installed
Adding repository for MySQL, please wait...
Adding repository for NGINX, please wait...
Adding repository for PHP, please wait...
Updating apt-cache [OK]
Installing APT packages [OK]
Applying Nginx configuration templates
Testing Nginx configuration [OK]
Restarting Nginx [OK]
Testing Nginx configuration [OK]
Restarting Nginx [OK]
Configuring php7.3-fpm
Restarting php7.3-fpm [OK]
Tuning MariaDB configuration
Stop : mysql [OK]
Start : mysql [OK]
Restarting fail2ban [OK]
Configuring Fail2Ban
Reloading fail2ban [OK]
Downloading PHPMyAdmin [Done]
Downloading phpRedisAdmin [Done]
Downloading Composer [Done]
Downloading Adminer [Done]
Downloading Adminer theme Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 160, in new_conn
(self.dns_host, self.port), self.timeout, **extra_kw
File "/usr/local/lib/python3.5/dist-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/local/lib/python3.5/dist-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 381, in make_request
self.validate_conn(conn)
File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 978, in validate_conn
conn.connect()
File "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 309, in connect
conn = self.new_conn()
File "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 172, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5e535a3c8>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 727, in urlopen
method, url, error=e, _pool=self, stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.5/dist-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /vrana/adminer/master/designs/pepa-linha/adminer.css (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5e535a3c8>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/wo/core/download.py", line 26, in download
req = requests.get(url, timeout=(5, 30))
File "/usr/local/lib/python3.5/dist-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /vrana/adminer/master/designs/pepa-linha/adminer.css (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5e535a3c8>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/wo", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/wo/cli/main.py", line 102, in main
app.run()
File "/usr/local/lib/python3.5/dist-packages/cement/core/foundation.py", line 882, in run
return_val = self.controller._dispatch()
File "/usr/local/lib/python3.5/dist-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/usr/local/lib/python3.5/dist-packages/cement/core/controller.py", line 477, in _dispatch
return func()
File "/usr/local/lib/python3.5/dist-packages/wo/cli/plugins/stack.py", line 534, in install
WODownload.download(self, packages)
File "/usr/local/lib/python3.5/dist-packages/wo/core/download.py", line 33, in download
Log.debug(self, "[{err}]".format(err=str(e.reason)))
AttributeError: 'ConnectionError' object has no attribute 'reason'
root@101:~#