Something went badly wrong while changing some cache option on one site. First nginx helper could not be installed due to disc permission error. Disk space is now at 100%, site's all bad.
A clean --all give me this error (just first lines). nginx goes down a lot.
root@v-1:~# wo clean --all
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.7/logging/__init__.py", line 1038, in emit
self.flush()
File "/usr/lib/python3.7/logging/__init__.py", line 1018, in flush
self.stream.flush()
OSError: [Errno 28] No space left on device
Call stack:
File "/usr/local/bin/wo", line 8, in <module>
sys.exit(main()) [cut short]
More updates soon...
Another try:
root@v-1:~# wo clean --all
Cleaning NGINX FastCGI cache
Testing Nginx configuration [OK]
Cleaning opcache [..]
Traceback (most recent call last):
File "/opt/wo/lib/python3.7/site-packages/urllib3/connection.py", line 170, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/opt/wo/lib/python3.7/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err [cut short]
After doing wo clean --all a few times it goes through all green. No changed all sites to --wpfc, some had --redis. I believe some cache issue is filling the HDD.
Need to find where they dump the cache... But can't
root@v-1:/# du -a | sort -n -r | head -n 5
sort: write failed: /tmp/sort0YYGMV: No space left on device
After removing some old log files I managed to get some output: Biggest file is /var/log/nginx/error.log
Trying wo stop stack --redis
- makes putty sort of hang.
Where is the redis cache located?