GithubHelp home page GithubHelp logo

Comments (10)

alexlii1971 avatar alexlii1971 commented on June 7, 2024

However, I tried the following way, and it succeced:

git clone https://github.com/WordOps/WordOps.git
cd WordOps/
sudo bash install

then, cd..

then, run:
DO_API_KEY="dop_v1_735635f218d564ef66e74e0a788f3ba698f1f92073dd025557ae6ae26393e67884"
root@Test:# sudo -E wo site create mysite.net --wpsubdomain --wpfc --php82 --ngxblocker --letsencrypt=wildcard --dns=dns_dgon

But, it will show 502 bad gateway error when accessing the site.

So, I tried to disable --ngxblocker=off

root@Test:~# sudo -E wo site update mysite.net --ngxblocker=off
Testing Nginx configuration [OK]
Reloading Nginx [OK]
Cannot update inlady.net, Invalid Options

from wordops.

alexlii1971 avatar alexlii1971 commented on June 7, 2024

wo site delete mysite.net --force

then reinstall by remove --ngxblocker

root@Test:# export DO_API_KEY="dop_v1_735635f218d564f6674e0a7838f3ba698f1f92073dd025557ae6ae26393e67884"
root@Test:
# sudo -E wo site create mysite.net --wpsubdomain --wpfc --php82 --letsencrypt=wildcard --dns=dns_dgon

root@Test:~# wo clean --all
Cleaning NGINX FastCGI cache
Testing Nginx configuration [OK]
Restarting Nginx [OK]
Cleaning opcache
Cleaning Redis cache

But, Same issue

from wordops.

alexlii1971 avatar alexlii1971 commented on June 7, 2024

tried various way, ALL failed, and even the following one:

root@Test:# export DO_API_KEY="dop_v1_735635f218d564f6674e0a7838f3ba698f1f92073dd025557ae6ae26393e67884"
root@Test:
# sudo -E wo site create mysite.net --wp --letsencrypt=wildcard --dns=dns_dgon
Running pre-update checks [OK]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Downloading WordPress [Done]
Setting up database [Done]
Configuring WordPress [OK]
Installing WordPress [OK]
Installing plugin nginx-helper [OK]
Testing Nginx configuration [OK]
Reloading Nginx [OK]
WordPress admin user : alex
WordPress admin password : gBx1C34a8z2W43oldSV0PLUAGIsF
Successfully created site http://inlady.net
Certificate type : wildcard
Validation mode : DNS mode with dns_dgon
Issuing SSL cert with acme.sh [OK]
Deploying SSL cert [OK]
Securing WordOps backend with current cert
Adding HTTPS redirection [OK]
Updating site url with https [OK]
Testing Nginx configuration [OK]
Reloading Nginx [OK]
Congratulations! Successfully Configured SSL on https://mysite.net
root@Test:#
root@Test:
#
root@Test:~# wo clean --all
Cleaning NGINX FastCGI cache
Testing Nginx configuration [OK]
Restarting Nginx [OK]
Cleaning opcache
Cleaning Redis cache

from wordops.

alexlii1971 avatar alexlii1971 commented on June 7, 2024

Rebuid server, and retry, and it seems there are some thing wrong with python3.10:

root@Test:~# sudo -E wo site create mysite.net --wpsubdomain --wpfc --php82 --ngxblocker --letsencrypt=wildcard --dns=dns_dgon
Start : wo-kernel [OK]
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]
Traceback (most recent call last):.]
File "/opt/wo/lib/python3.10/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "/opt/wo/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/opt/wo/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/wo/lib/python3.10/site-packages/urllib3/connectionpool.py", line 793, in urlopen
response = self._make_request(
File "/opt/wo/lib/python3.10/site-packages/urllib3/connectionpool.py", line 496, in _make_request
conn.request(
File "/opt/wo/lib/python3.10/site-packages/urllib3/connection.py", line 400, in request
self.endheaders()
File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
self.send(msg)
File "/usr/lib/python3.10/http/client.py", line 976, in send
self.connect()
File "/opt/wo/lib/python3.10/site-packages/urllib3/connection.py", line 238, in connect
self.sock = self._new_conn()
File "/opt/wo/lib/python3.10/site-packages/urllib3/connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7ff17aab4760>: Failed to establish a new connection: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/wo/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/opt/wo/lib/python3.10/site-packages/urllib3/connectionpool.py", line 847, in urlopen
retries = retries.increment(
File "/opt/wo/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='v4.wordops.eu', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff17aab4760>: 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
sys.exit(main())
File "/opt/wo/lib/python3.10/site-packages/wo/cli/main.py", line 102, in main
app.run()
File "/opt/wo/lib/python3.10/site-packages/cement/core/foundation.py", line 882, in run
return_val = self.controller._dispatch()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 477, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/site_create.py", line 268, in default
wo_auth = site_package_check(self, stype)
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/site_functions.py", line 933, in site_package_check
return (stack.install(apt_packages=apt_packages, packages=packages,
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/stack.py", line 515, in install
post_pref(self, apt_packages, [])
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/stack_pref.py", line 407, in post_pref
server_ip = requests.get('http://v4.wordops.eu')
File "/opt/wo/lib/python3.10/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/opt/wo/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/wo/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/opt/wo/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/opt/wo/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='v4.wordops.eu', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff17aab4760>: Failed to establish a new connection: [Errno 111] Connection refused'))

from wordops.

psfnet avatar psfnet commented on June 7, 2024

Having the same problem on VPS Contabo Debian 12.
Attempts on Debian 11, 12 and Ubuntu 22.04 lts.
Is it possible to use an earlier version of Wordops?

from wordops.

kingkool68 avatar kingkool68 commented on June 7, 2024

I get this error when I run sudo wo site create test-server.local --php

requests.exceptions.ConnectionError: HTTPConnectionPool(host='v4.wordops.eu', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffff9f5cb340>: Failed to establish a new connection: [Errno 111] Connection refused'))

It looks like https://v4.wordops.eu/ refuses to connect just like https://wordops.net/. I guess we need @VirtuBox to fix those sites before WordOps starts working again.

from wordops.

alexlii1971 avatar alexlii1971 commented on June 7, 2024

Yes, the website url is not reachable at https://wordops.net/

server_ip = requests.get('http://v4.wordops.eu/')

According to the log, it is not reachable...

Unfortuantely, there is no response from @VirtuBox by now.

from wordops.

VirtuBox avatar VirtuBox commented on June 7, 2024

Issue has been fixed, sorry for the delay

from wordops.

github-actions avatar github-actions commented on June 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

from wordops.

github-actions avatar github-actions commented on June 7, 2024

This issue was closed because it has been stalled for 5 days with no activity.

from wordops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.