Problem before Tutor starts - help

Hello everyone,

I’m trying to start a Tutor instance in a Proxmox container. I have installed the latest versions of Docker and Docker Compose. However, when the application is building, I keep encountering the same issue. The error below still appears, even after creating a new container with better resources.
I’ve already tried modifying the docker-compose.yml file, but every time I run “tutor local launch”, the changes I made are reverted.

Can anyone help me with this?

Container specs:
8GB RAM;
20GB HDD;
4vCPUS

root@teste-tutor-v3:~# tutor local launch
⚠️  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] 
As you are not running this platform in production, we automatically set the following configuration values:
    LMS_HOST = local.edly.io
    CMS_HOST = studio.local.edly.io
    ENABLE_HTTPS = False
Your platform name/title [My Open edX] 
Your public contact email address [contact@local.edly.io] 
The default language code for the platform [en] 
Configuration saved to /root/.local/share/tutor/config.yml

Environment generated in /root/.local/share/tutor/env
======================================
        Building Docker images
======================================
No image to build
==============================================
        Stopping any existing platform
==============================================
docker compose -f /root/.local/share/tutor/env/local/docker-compose.yml -f /root/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local stop
[+] Stopping 12/11
 ✔ Container tutor_local-mfe-1            Stopped                                                                                                          0.0s 
 ✔ Container tutor_local-caddy-1          Stopped                                                                                                          3.7s 
 ✔ Container tutor_local-cms-worker-1     Stopped                                                                                                          0.0s 
 ✔ Container tutor_local-lms-worker-1     Stopped                                                                                                          0.0s 
 ✔ Container tutor_local-cms-1            Stopped                                                                                                          0.0s 
 ✔ Container tutor_local-lms-1            Stopped                                                                                                          0.0s 
 ✔ Container tutor_local-elasticsearch-1  Stopped                                                                                                          0.0s 
 ✔ Container tutor_local-mysql-1          Stopped                                                                                                          5.7s 
 ✔ Container tutor_local-redis-1          Stopped                                                                                                          4.9s 
 ✔ Container tutor_local-smtp-1           Stopped                                                                                                          3.4s 
 ✔ Container tutor_local-mongodb-1        Stopped                                                                                                          7.1s 
 ✔ Container tutor_local-permissions-1    Stopped                                                                                                          0.0s 
======================================================
        Starting the platform in detached mode
======================================================
docker compose -f /root/.local/share/tutor/env/local/docker-compose.yml -f /root/.local/share/tutor/env/dev/docker-compose.yml --project-name tutor_dev stop
docker compose -f /root/.local/share/tutor/env/local/docker-compose.yml -f /root/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local up --remove-orphans -d
[+] Running 6/7
 ✔ Container tutor_local-permissions-1    Started                                                                                                          1.6s 
 ✔ Container tutor_local-caddy-1          Started                                                                                                          2.1s 
 ✔ Container tutor_local-redis-1          Started                                                                                                          7.5s 
 ✔ Container tutor_local-smtp-1           Started                                                                                                          1.7s 
 ✔ Container tutor_local-mysql-1          Started                                                                                                          2.2s 
 ✔ Container tutor_local-mongodb-1        Started                                                                                                          7.8s 
 ⠋ Container tutor_local-elasticsearch-1  Starting                                                                                                        10.0s 
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting rlimits for ready process: error setting rlimit type 8: operation not permitted: unknown
Error: Command failed with status 1: docker compose -f /root/.local/share/tutor/env/local/docker-compose.yml -f /root/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local up --remove-orphans -d

Hi, Lucas, Biz-teixeira
docker-compose.yml is updated every time you try to start.
One question, did you build the images?

tutor images build openedx
tutor images build mfe

Hello Juan,

I just tried running “tutor local launch” after using “pip install ‘tutor[full]’”, as the tutorial instructs. Could you explain what these commands do?

Thanks!

What happened to you is to build the images in docker, maybe you are missing making a
tutor dev launch

Understood, but I don’t need to develop the platform; I just want to run the testing environment of Tutor to host some courses, not to work in development mode. Do you have any other recommendations for this?

This thread looks like about your case. I’m not familiar with Proxmox, but

container-based with LXC

from Wikipedia about Proxmox gives a clue: Error setting rlimits type 8 (operation not permitted: unknown) in LXD container - LXD - Linux Containers Forum

Hello,
First : Don’t load from the root account, but use your user account
Then :

  • Did you install from pip or from binary?
  • try “systemctl edit docker” to edit the docker configuration

regards,