Service 'user' is not available in xblock

After an upgrade to nutmeg from maple, I’m getting the following error when I visit the lms dashboard page for a user.

Traceback (most recent call last):
File “/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py”, line 47, in inner
response = get_response(request)
File “/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py”, line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/pyenv/versions/3.8.12/lib/python3.8/contextlib.py”, line 75, in inner
return func(*args, **kwds)
File “/openedx/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py”, line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/openedx/venv/lib/python3.8/site-packages/django/utils/decorators.py”, line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File “/openedx/edx-platform/./openedx/core/djangoapps/util/maintenance_banner.py”, line 42, in _decorated
return func(request, *args, **kwargs)
File “/openedx/edx-platform/common/djangoapps/student/views/dashboard.py”, line 843, in student_dashboard
for url in get_resume_urls_for_enrollments(user, course_enrollments).values():
File “/openedx/edx-platform/common/djangoapps/student/helpers.py”, line 776, in get_resume_urls_for_enrollments
block_data = get_course_blocks(user, block_key)
File “/openedx/edx-platform/./lms/djangoapps/course_blocks/api.py”, line 107, in get_course_blocks
return get_block_structure_manager(starting_block_usage_key.course_key).get_transformed(
File “/openedx/edx-platform/./openedx/core/djangoapps/content/block_structure/manager.py”, line 65, in get_transformed
block_structure = collected_block_structure.copy() if collected_block_structure else self.get_collected()
File “/openedx/edx-platform/./openedx/core/djangoapps/content/block_structure/manager.py”, line 105, in get_collected
block_structure = self._update_collected()
File “/openedx/edx-platform/./openedx/core/djangoapps/content/block_structure/manager.py”, line 128, in _update_collected
BlockStructureTransformers.collect(block_structure)
File “/openedx/edx-platform/./openedx/core/djangoapps/content/block_structure/transformers.py”, line 78, in collect
transformer.collect(block_structure)
File “/openedx/edx-platform/./lms/djangoapps/course_api/blocks/transformers/blocks_api.py”, line 58, in collect
StudentViewTransformer.collect(block_structure)
File “/openedx/edx-platform/./lms/djangoapps/course_api/blocks/transformers/student_view.py”, line 63, in collect
student_view_data = block.student_view_data()
File “/openedx/edx-platform/common/lib/xmodule/xmodule/html_module.py”, line 112, in student_view_data
return {‘enabled’: True, ‘html’: self.get_html()}
File “/openedx/edx-platform/./lms/djangoapps/edxnotes/decorators.py”, line 30, in get_html
return original_get_html(self, *args, **kwargs)
File “/openedx/edx-platform/common/lib/xmodule/xmodule/html_module.py”, line 123, in get_html
user_id = self.runtime.service(self, ‘user’).get_current_user().opt_attrs.get(ATTR_KEY_ANONYMOUS_USER_ID)
File “/openedx/edx-platform/common/lib/xmodule/xmodule/x_module.py”, line 2218, in service
service = self._descriptor_system.service(block, service_name)
File “/openedx/edx-platform/common/lib/xmodule/xmodule/x_module.py”, line 1621, in service
service = super().service(block=block, service_name=service_name)
File “/openedx/venv/lib/python3.8/site-packages/xblock/runtime.py”, line 1125, in service
raise NoSuchServiceError(f"Service {service_name!r} is not available.")
xblock.exceptions.NoSuchServiceError: Service ‘user’ is not available.

Any help appreciated. Thanks.