Hi SImon,
The above django.log
file i took, doesn't show the problem. Because django service was down(or continiously restarting).
The following log displays the error when django service started successfully.
tail -f /home/cchq/www/echis/log/django.log
raise original_exception
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 889, in execute_sql
cursor.execute(sql, params)
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/sentry_sdk/integrations/django/init.py", line 395, in execute
return real_execute(self, sql, params)
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/django/db/utils.py", line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: column phone_synclogsql.app_id does not exist
LINE 1: ...sql"."log_format", "phone_synclogsql"."build_id", "phone_syn...
^
tail -f /home/cchq/www/echis/log/echis0-commcarehq.django.log
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/django/db/utils.py", line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/home/cchq/www/echis/releases/2019-10-26_17.12/python_env-3.6/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: column phone_synclogsql.app_id does not exist
LINE 1: ...sql"."log_format", "phone_synclogsql"."build_id", "phone_syn...
tail -f /var/log/nginx/error.log
2019/10/28 07:59:15 [alert] 514#514: worker process 4722 exited on signal 9