Hi @FuadBader,
Just give a go, but the installation fails again.
Same issue and problem trying to execute a docker-compose (alas in a docker container) file inside a docker container.
The error:
==================================================
Interactive platform configuration
==================================================
Are you configuring a production platform? Type 'n' if you are just testing Tutor on your local computer [Y/n] y
Your website domain name for students (LMS) [openedx.educateiot.com]
Your website domain name for teachers (CMS) [studio.educateiot.com]
Your platform name/title [Awon Omo Yoruba]
Your public contact email address [contact@openedx.educateiot.com]
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] n
Configuration saved to /root/.local/share/tutor/config.yml
Unknown error rendering template dev/docker-compose.yml
Traceback (most recent call last):
File "/venv/bin/tutor", line 8, in <module>
sys.exit(main())
^^^^^^
File "/tutor/tutor/commands/cli.py", line 27, in main
cli() # pylint: disable=no-value-for-parameter
^^^^^
File "/venv/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tutor/tutor/commands/compose.py", line 99, in launch
interactive_configuration(context, not non_interactive, run_for_prod=run_for_prod)
File "/tutor/tutor/commands/compose.py", line 198, in interactive_configuration
tutor_env.save(context.obj.root, config)
File "/tutor/tutor/env.py", line 335, in save
save_all_from(src, os.path.join(root_env, dst), config)
File "/tutor/tutor/env.py", line 353, in save_all_from
renderer.render_all_to(dst, prefix.replace(os.sep, "/"))
File "/tutor/tutor/env.py", line 220, in render_all_to
rendered = self.render_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tutor/tutor/env.py", line 207, in render_template
return self.__render(template)
^^^^^^^^^^^^^^^^^^^^^^^
File "/tutor/tutor/env.py", line 226, in __render
return template.render(**self.config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
self.environment.handle_exception()
File "/venv/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/tutor/tutor/templates/dev/docker-compose.yml", line 47, in top-level template code
{% if RUN_ELASTICSEARCH and is_docker_rootless() %}
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tutor/tutor/utils.py", line 184, in is_docker_rootless
results = subprocess.run(["docker", "info"], capture_output=True, check=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'docker'
(venv) root@0fe5d2d3524c:/#
Hoops, screenshot images restriction. This forum wont allow me to upload the error images
I am looking at the repository again to see if I could late the main-installer scripts for study and adaptation
God blesses!!!
Regards