Bulk mail working, but individual emails do not send

Hi all,

I can’t seem to get our individual emails to work (i.e. transactional emails such as sending a quotation). However, our bulk emails work for things such as the weekly/daily digest.

We only have two email accounts - one for outgoing, and one that is disabled.

The locks folder in the current site is empty.

Some outputs of diagnostics below…thanks for any help.

Output of…
bench celery-doctor

Queue Status
------------
[
 {
  "total": 54
 }, 
 {
  "queue": "longjobs@energy_choice", 
  "event_counts": {
   "weekly_long": 7, 
   "daily_long": 47
  }, 
  "task_counts": {
   "frappe.tasks.scheduler_task": 54
  }, 
  "len": 54
 }
]
Running Tasks
------------
{
 "celery@Energychoice": []
}

supervisorctl status
error: <class 'socket.error'>, [Errno 13] Permission denied: file: /usr/lib/python2.7/socket.py line: 224

bench doctor
Inspecting workers and queues…
Finding locks…
Checking scheduler status…
Incorrect Site Path
Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/home/erpnext/webapps/frappe5_test/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 79, in
main()
File “/home/erpnext/webapps/frappe5_test/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 16, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/erpnext/webapps/frappe5_test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 664, in call
return self.main(*args, **kwargs)
File “/home/erpnext/webapps/frappe5_test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 644, in main
rv = self.invoke(ctx)
File “/home/erpnext/webapps/frappe5_test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/erpnext/webapps/frappe5_test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/erpnext/webapps/frappe5_test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/erpnext/webapps/frappe5_test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 464, in invoke
return callback(*args, **kwargs)
File “/home/erpnext/webapps/frappe5_test/frappe-bench/apps/frappe/frappe/commands.py”, line 865, in doctor
return _doctor()
File “/home/erpnext/webapps/frappe5_test/frappe-bench/apps/frappe/frappe/utils/doctor.py”, line 165, in doctor
if is_scheduler_disabled():
File “/home/erpnext/webapps/frappe5_test/frappe-bench/apps/frappe/frappe/utils/scheduler.py”, line 131, in is_scheduler_disabled
return not frappe.utils.cint(frappe.db.get_single_value(“System Settings”, “enable_scheduler”))
File “/home/erpnext/webapps/frappe5_test/frappe-bench/apps/frappe/frappe/database.py”, line 516, in get_single_value
tabSingles where doctype=%s and field=%s"“”, (doctype, fieldname))
File “/home/erpnext/webapps/frappe5_test/frappe-bench/apps/frappe/frappe/database.py”, line 106, in sql
self.connect()
File “/home/erpnext/webapps/frappe5_test/frappe-bench/apps/frappe/frappe/database.py”, line 52, in connect
use_unicode=True, charset=‘utf8’)
File “/home/erpnext/webapps/frappe5_test/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/init.py”, line 81, in Connect
return Connection(*args, **kwargs)
File “/home/erpnext/webapps/frappe5_test/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 193, in init
super(Connection, self).init(*args, **kwargs2)
TypeError: connect() argument 2 must be string, not None

Check Scheduler Log?

@vjFaLk the only things in the scheduler log are errors from a custom app.

Is it possible that this app has disabled the main scheduler, or prevented it from running due to the error?