Hi There,
Thank you for all your help so far.
We have managed to get a route into the device however we now have the following error showing:
An unhandled exception occured
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1802, in _execute_context
self.dialect.do_execute(
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute
cursor.execute(statement, parameters)
sqlite3.OperationalError: no such table: appconfig
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1514, in full_dispatch_request
rv = self.preprocess_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1857, in preprocess_request
rv = self.ensure_sync(before_func)()
File "/usr/local/lib/python3.8/dist-packages/clustermgr/application.py", line 143, in before_request
appconfig = AppConfiguration.query.first()
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2810, in first
return self.limit(1)._iter().first()
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2894, in _iter
result = self.session.execute(
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/session.py", line 1692, in execute
result = conn._execute_20(statement, params or {}, execution_options)
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1614, in _execute_20
return meth(self, args_10style, kwargs_10style, execution_options)
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/sql/elements.py", line 325, in _execute_on_connection
return connection._execute_clauseelement(
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1481, in _execute_clauseelement
ret = self._execute_context(
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1845, in _execute_context
self._handle_dbapi_exception(
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 2026, in _handle_dbapi_exception
util.raise_(
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/compat.py", line 207, in raise_
raise exception
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1802, in _execute_context
self.dialect.do_execute(
File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: appconfig
[SQL: SELECT appconfig.id AS appconfig_id, appconfig.replication_dn AS appconfig_replication_dn, appconfig.replication_pw AS appconfig_replication_pw, appconfig.last_test AS appconfig_last_test, appconfig.gluu_version AS appconfig_gluu_version, appconfig.use_ip AS appconfig_use_ip, appconfig.nginx_host AS appconfig_nginx_host, appconfig.log_purge AS appconfig_log_purge, appconfig.admin_email AS appconfig_admin_email, appconfig.monitoring AS appconfig_monitoring, appconfig.modify_hosts AS appconfig_modify_hosts, appconfig.nginx_ip AS appconfig_nginx_ip, appconfig.ldap_update_period AS appconfig_ldap_update_period, appconfig.object_class_base AS appconfig_object_class_base, appconfig.attribute_oid AS appconfig_attribute_oid, appconfig.external_load_balancer AS appconfig_external_load_balancer, appconfig.cache_host AS appconfig_cache_host, appconfig.cache_ip AS appconfig_cache_ip, appconfig.nginx_os AS appconfig_nginx_os, appconfig.use_ldap_cache AS appconfig_use_ldap_cache, appconfig.ldap_update_period_unit AS appconfig_ldap_update_period_unit, appconfig.nginx_os_type AS appconfig_nginx_os_type, appconfig.latest_version AS appconfig_latest_version, appconfig.offline AS appconfig_offline, appconfig.gluu_archive AS appconfig_gluu_archive, appconfig.ldap_cache_clean_period AS appconfig_ldap_cache_clean_period, appconfig.nginx_ssh_port AS appconfig_nginx_ssh_port
FROM appconfig
LIMIT ? OFFSET ?]
[parameters: (1, 0)]
(Background on this error at: https://sqlalche.me/e/14/e3q8)
Are you able to assist on this?
Kind regards,
Clifton Meldrum