Logs and logs…
Backend - appears twice
/usr/local/lib/python3.10/functools.py:981: UserWarning: The 'filters_config' hook used to add custom operators is not yet implemented in frappe.db.query engine. Use db_query (frappe.get_list) instead.
val = self.func(instance)
Frontend logs look heathly - lots of 200 HTTP status codes … sample of my logs:
10.2.0.44 - - [23/Dec/2022:14:57:21 +0000] "POST / HTTP/1.1" 200 13 "https://erp.mergelabs.io/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "127.0.0.1"
10.2.0.44 - - [23/Dec/2022:14:57:21 +0000] "POST /socket.io/?EIO=4&transport=polling&t=OK_VHJ1&sid=m9U4A8rab6ptF4ItAAAU HTTP/1.1" 200 2 "https://erp.mergelabs.io/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "127.0.0.1"
10.2.0.44 - - [23/Dec/2022:14:57:21 +0000] "GET /api/method/frappe.realtime.get_user_info?sid=Guest HTTP/1.1" 200 45 "-" "node-superagent/3.8.3" "127.0.0.1"
10.2.0.44 - - [23/Dec/2022:14:57:21 +0000] "GET /socket.io/?EIO=4&transport=polling&t=OK_VHJ2&sid=m9U4A8rab6ptF4ItAAAU HTTP/1.1" 200 32 "https://erp.mergelabs.io/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "127.0.0.1"
Web Socket Log, only this appears and nothing else:
(node:1) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
Scheduler - Appears once, nothing else
/usr/local/lib/python3.10/functools.py:981: UserWarning: The 'filters_config' hook used to add custom operators is not yet implemented in frappe.db.query engine. Use db_query (frappe.get_list) instead.
val = self.func(instance)
Queues - now and again this error appears:
For Default Queue:
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/database.py", line 358, in sql_list
return self.sql(query, values, **kwargs, debug=debug, pluck=True)
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/postgres/database.py", line 199, in sql
return super().sql(modify_query(query), modify_values(values), *args, **kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/database.py", line 240, in sql
traceback.print_stack()
Error in query:
date/time field value out of range: "0000-00-00"
LINE 4: and (end_of_life is null or end_of_life='0000-00-00' or e...
For Long Queue:
File "/home/frappe/frappe-bench/apps/frappe/frappe/query_builder/utils.py", line 76, in execute_query
return frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/postgres/database.py", line 199, in sql
return super().sql(modify_query(query), modify_values(values), *args, **kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/database.py", line 240, in sql
traceback.print_stack()
Error in query:
column "tabStock Entry.name" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT "tabStock Entry"."name","tabStock Entry"."company","t...
For Short Queue - only this:
15:16:24 Worker rq:worker:5facec02ffe047e6b7ec0fdbc3faee36.mergelabs-erp-queue-short-deployment-5cdcf74b6b-mgwfz.6.home-frappe-frappe-bench:short: started, version 1.11.1
15:16:24 Subscribing to channel rq:pubsub:5facec02ffe047e6b7ec0fdbc3faee36.mergelabs-erp-queue-short-deployment-5cdcf74b6b-mgwfz.6.home-frappe-frappe-bench:short
15:16:25 *** Listening on home-frappe-frappe-bench:short...
15:16:25 Cleaning registries for queue: home-frappe-frappe-bench:short
- But mostly in the queues it states:
15:17:30 home-frappe-frappe-bench:default: Job OK (d7d97712-216d-4748-96f1-591f9f68766c)
15:17:30 Result is kept for 600 seconds
15:17:30 home-frappe-frappe-bench:default: frappe.utils.background_jobs.execute_job(event=None, is_async=True, job_name='frappe.core.doctype.scheduled_job_type.scheduled_job_type.run_scheduled_jo..., kwargs={'job_type': 'erpnext.utilities.doctype.video.video.update_youtube_data'}, method='frappe.core.doctype.scheduled_job_type.scheduled_job_type.run_scheduled_jo..., site='-redacted-', user='Administrator') (d8a00742-adbc-4128-be00-8878087e0a4e)
/usr/local/lib/python3.10/functools.py:981: UserWarning: The 'filters_config' hook used to add custom operators is not yet implemented in frappe.db.query engine. Use db_query (frappe.get_list) instead.
val = self.func(instance)
15:17:30 home-frappe-frappe-bench:default: Job OK (d8a00742-adbc-4128-be00-8878087e0a4e)
15:17:30 Result is kept for 600 seconds
15:17:30 home-frappe-frappe-bench:default: frappe.utils.background_jobs.execute_job(event=None, is_async=True, job_name='frappe.core.doctype.scheduled_job_type.scheduled_job_type.run_scheduled_jo..., kwargs={'job_type': 'erpnext.manufacturing.doctype.bom_update_log.bom_update_log.r..., method='frappe.core.doctype.scheduled_job_type.scheduled_job_type.run_scheduled_jo..., site='-redacted-', user='Administrator') (7ab8f292-677c-4d6b-91b8-53304f8f1be3)
/usr/local/lib/python3.10/functools.py:981: UserWarning: The 'filters_config' hook used to add custom operators is not yet implemented in frappe.db.query engine. Use db_query (frappe.get_list) instead.
val = self.func(instance)