Hi!
I’m trying to upgrade from ironwood to juniper, code upgrade went smoothly but facing issue while restoring the ironwood data on juniper.
After successfully restoring the data I’m getting this error in LMS-Logs
Traceback (most recent call last):
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/exception.py”, line 34, in inner
response = get_response(request)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/utils/deprecation.py”, line 94, in call
response = response or self.get_response(request)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/exception.py”, line 36, in inner
response = response_for_exception(request, exc)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/exception.py”, line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/core/handlers/exception.py”, line 129, in handle_uncaught_exception
return callback(request, **param_dict)
File “/edx/app/edxapp/edx-platform/common/djangoapps/util/views.py”, line 98, in wrapper
return func(request, *args, **kwargs)
File “/edx/app/edxapp/edx-platform/lms/djangoapps/static_template_view/views.py”, line 103, in render_500
return HttpResponseServerError(render_to_string(‘static_templates/server-error.html’, {}, request=request))
File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py”, line 177, in render_to_string
return template.render(dictionary, request)
File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/template.py”, line 60, in render
context_object = self._get_context_object(request)
File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/template.py”, line 91, in _get_context_object
request_context = get_template_request_context(request)
File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/request_context.py”, line 49, in get_template_request_context
context[‘site’] = safe_get_host(request)
File “/edx/app/edxapp/edx-platform/openedx/core/lib/request_utils.py”, line 72, in safe_get_host
return configuration_helpers.get_value(‘site_domain’, settings.SITE_NAME)
File “/edx/app/edxapp/edx-platform/openedx/core/djangoapps/site_configuration/helpers.py”, line 112, in get_value
if is_site_configuration_enabled():
File “/edx/app/edxapp/edx-platform/openedx/core/djangoapps/site_configuration/helpers.py”, line 40, in is_site_configuration_enabled
configuration = get_current_site_configuration()
File “/edx/app/edxapp/edx-platform/openedx/core/lib/cache_utils.py”, line 77, in decorator
result = wrapped(*args, **kwargs)
File “/edx/app/edxapp/edx-platform/openedx/core/djangoapps/site_configuration/helpers.py”, line 27, in get_current_site_configuration
return getattr(site, “configuration”, None)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/models/fields/related_descriptors.py”, line 401, in get
rel_obj = self.get_queryset(instance=instance).get(**filter_args)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/models/query.py”, line 402, in get
num = len(clone)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/models/query.py”, line 256, in len
self._fetch_all()
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/models/query.py”, line 1242, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/models/query.py”, line 55, in iter
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/models/sql/compiler.py”, line 1142, in execute_sql
cursor.execute(sql, params)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/backends/utils.py”, line 67, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/backends/utils.py”, line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/backends/utils.py”, line 84, in _execute
return self.cursor.execute(sql, params)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/utils.py”, line 89, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/backends/utils.py”, line 84, in _execute
return self.cursor.execute(sql, params)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/django/db/backends/mysql/base.py”, line 71, in execute
return self.cursor.execute(query, args)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/MySQLdb/cursors.py”, line 209, in execute
res = self._query(query)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/MySQLdb/cursors.py”, line 315, in _query
db.query(q)
File “/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/MySQLdb/connections.py”, line 239, in query
_mysql.connection.query(self, query)
django.db.utils.OperationalError: (1054, “Unknown column ‘site_configuration_siteconfiguration.site_values’ in ‘field list’”)
During handling of the above exception, another exception occurred:
Any idea how to resolve this issue ?