Sir / Madam
Multi-tenant (based on sub-domains) system installed and working ( seems to work)
Three sites-
electrical.mydomain.com
woodwork.mydomain.com
gardening.mydomain.com
ERPNExt V13.21
However, I found many errors in my worker.error.log.
I made another install and used the same procedure-
And this time I kept a close eye on “worker.error.log” to see when the errors occur.
This time there were less errors.
The procedure I follow is as above and just after bench setup production I do-
supervisorctl stop all
supervisorctl start all
And just after this, I see the following in the worker.error.log.
Exception in thread Thread-1:
Traceback (most recent call last):
File “/usr/lib/python3.8/threading.py”, line 932, in _bootstrap_inner
self.run()
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/client.py”, line 3718, in run
pubsub.get_message(ignore_subscribe_messages=True,
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/client.py”, line 3617, in get_message
response = self.parse_response(block=False, timeout=timeout)
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/client.py”, line 3503, in parse_response
if not block and not conn.can_read(timeout=timeout):
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/connection.py”, line 734, in can_read
return self._parser.can_read(timeout)
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/connection.py”, line 416, in can_read
return self.read_from_socket(timeout=timeout,
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/connection.py”, line 429, in read_from_socket
raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Exception in thread Thread-1:
Traceback (most recent call last):
File “/usr/lib/python3.8/threading.py”, line 932, in _bootstrap_inner
self.run()
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/client.py”, line 3718, in run
pubsub.get_message(ignore_subscribe_messages=True,
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/client.py”, line 3617, in get_message
response = self.parse_response(block=False, timeout=timeout)
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/client.py”, line 3503, in parse_response
if not block and not conn.can_read(timeout=timeout):
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/connection.py”, line 734, in can_read
return self._parser.can_read(timeout)
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/connection.py”, line 416, in can_read
return self.read_from_socket(timeout=timeout,
File “/home/frappeuser/frappe-bench/env/lib/python3.8/site-packages/redis/connection.py”, line 429, in read_from_socket
raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
redis.exceptions.ConnectionError: Connection closed by server.
Something else that is also happening , there are many deprecation warnings on my
install-console during the installation.
Can anyone offer some advise please? I am hesitant to use my 3 sites.
Hope you have a great day.