Hi. What am I missing?
edu4world /opt/openedx # pwd
/opt/openedx
edu4world /opt/openedx # grep -i version /etc/os-release
VERSION="20.04.5 LTS (Focal Fossa)"
VERSION_ID="20.04"
VERSION_CODENAME=focal
edu4world /opt/openedx # tutor --version
tutor, version 14.2.1
edu4world /opt/openedx # tutor local quickstart
⚠️ You are running Tutor as root. This is strongly not recommended. If you are doing this in order to access the Docker daemon, you should instead add your user to the 'docker' group. (see https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user)
==================================================
Interactive platform configuration
==================================================
Are you configuring a production platform? Type 'n' if you are just testing Tutor on your local computer [Y/n]
Your website domain name for students (LMS) [www.myopenedx.com] edu4world.online
Your website domain name for teachers (CMS) [studio.edu4world.online]
Your platform name/title [My Open edX] PSTFIT edX
Your public contact email address [contact@edu4world.online] oleksiibychkov@knu.ua
The default language code for the platform [en]
Activate SSL/TLS certificates for HTTPS access? Important note: this will NOT work in a development environment. [y/N]
Configuration saved to /root/.local/share/tutor/config.yml
Error rendering template apps/openedx/settings/cms/development.py
Traceback (most recent call last):
File "/usr/local/bin/tutor", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/tutor/commands/cli.py", line 24, in main
cli() # pylint: disable=no-value-for-parameter
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tutor/commands/local.py", line 119, in quickstart
tutor_env.save(context.obj.root, config)
File "/usr/local/lib/python3.8/dist-packages/tutor/env.py", line 252, in save
save_all_from(src, os.path.join(root_env, dst), config)
File "/usr/local/lib/python3.8/dist-packages/tutor/env.py", line 270, in save_all_from
renderer.render_all_to(dst, prefix.replace(os.sep, "/"))
File "/usr/local/lib/python3.8/dist-packages/tutor/env.py", line 200, in render_all_to
rendered = self.render_template(template_name)
File "/usr/local/lib/python3.8/dist-packages/tutor/env.py", line 187, in render_template
return self.__render(template)
File "/usr/local/lib/python3.8/dist-packages/tutor/env.py", line 206, in __render
return template.render(**self.config)
File "/usr/local/lib/python3.8/dist-packages/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python3.8/dist-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/dist-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.8/dist-packages/tutor/templates/apps/openedx/settings/partials/common_all.py", line 122, in <module>
{% set jwt_rsa_key | rsa_import_key %}{{ JWT_RSA_PRIVATE_KEY }}{% endset %}
File "/usr/local/lib/python3.8/dist-packages/jinja2/environment.py", line 986, in render
return concat(self.root_render_func(self.new_context(vars)))
File "/usr/local/lib/python3.8/dist-packages/tutor/templates/apps/openedx/settings/cms/development.py", line 14, in <module>
{% include "apps/openedx/settings/partials/common_cms.py" %}
File "/usr/local/lib/python3.8/dist-packages/tutor/templates/apps/openedx/settings/partials/common_cms.py", line 1, in <module>
{% include "apps/openedx/settings/partials/common_all.py" %}
File "/usr/local/lib/python3.8/dist-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/dist-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.8/dist-packages/tutor/templates/apps/openedx/settings/partials/common_all.py", line 122, in <module>
{% set jwt_rsa_key | rsa_import_key %}{{ JWT_RSA_PRIVATE_KEY }}{% endset %}
File "/usr/local/lib/python3.8/dist-packages/jinja2/environment.py", line 470, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.8/dist-packages/jinja2/parser.py", line 897, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.8/dist-packages/jinja2/parser.py", line 879, in subparse
rv = self.parse_statement()
File "/usr/local/lib/python3.8/dist-packages/jinja2/parser.py", line 121, in parse_statement
return getattr(self, 'parse_' + self.stream.current.value)()
File "/usr/local/lib/python3.8/dist-packages/jinja2/parser.py", line 174, in parse_set
body = self.parse_statements(('name:endset',),
File "/usr/local/lib/python3.8/dist-packages/jinja2/parser.py", line 155, in parse_statements
self.stream.expect('block_end')
File "/usr/local/lib/python3.8/dist-packages/jinja2/lexer.py", line 371, in expect
raise TemplateSyntaxError("expected token %r, got %r" %
jinja2.exceptions.TemplateSyntaxError: expected token 'end of statement block', got '|'
edu4world /opt/openedx #