All existing websites are working perfectly. Just unable to update or create sites at this point. Any ideas? The issue started after installed Node on the same server. KeyError: 'wo_mysql_grant_host'
makes my think it is related to mysql but nothing seems out of the ordinary.
Error on wo site update site.com
2021-03-21 21:30:31,411 (INFO) wo : Initializing WordOps Database
2021-03-21 21:30:31,421 (DEBUG) wo.core.logging : Setting apt_packages variable for Nginx
2021-03-21 21:30:32,483 (DEBUG) wo.core.logging : Finding string SCRIPT_FILENAME to file /etc/nginx/fastcgi_params
2021-03-21 21:30:32,484 (DEBUG) wo.core.logging : 'Namespace' object has no attribute 'web'
2021-03-21 21:30:32,484 (INFO) wo : Running pre-run checks
2021-03-21 21:30:32,484 (DEBUG) wo.core.logging : checking NGINX configuration ...
2021-03-21 21:30:32,807 (INFO) wo : Running pre-update checks
2021-03-21 21:30:32,808 (DEBUG) wo.core.logging : 'webroot'
2021-03-21 21:30:32,808 (INFO) wo : Check the log for details: `tail /var/log/wo/wordops.log` and please try again
Error on wo site create site.com --wp
Running pre-update checks [OK]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Downloading WordPress [Fail]
There was a serious error encountered...
Cleaning up afterwards...
Traceback (most recent call last):
File "/opt/wo/lib/python3.8/site-packages/wo/cli/plugins/site_create.py", line 375, in default
wo_wp_creds = setupwordpress(self, data, vhostonly)
File "/opt/wo/lib/python3.8/site-packages/wo/cli/plugins/site_functions.py", line 280, in setupwordpress
raise SiteError("download WordPress core failed")
wo.cli.plugins.site_functions.SiteError: 'download WordPress core failed'
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 "/opt/wo/lib/python3.8/site-packages/wo/cli/main.py", line 102, in main
app.run()
File "/opt/wo/lib/python3.8/site-packages/cement/core/foundation.py", line 882, in run
return_val = self.controller._dispatch()
File "/opt/wo/lib/python3.8/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.8/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.8/site-packages/cement/core/controller.py", line 477, in _dispatch
return func()
File "/opt/wo/lib/python3.8/site-packages/wo/cli/plugins/site_create.py", line 392, in default
dbhost=data['wo_mysql_grant_host'])
KeyError: 'wo_mysql_grant_host'