Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot change welcome message #129

Closed
aurkaxi opened this issue Feb 17, 2025 · 7 comments
Closed

cannot change welcome message #129

aurkaxi opened this issue Feb 17, 2025 · 7 comments

Comments

@aurkaxi
Copy link

aurkaxi commented Feb 17, 2025

am i missing any steps? or not understanding what is welcome message. cz i did this but the home page still says "The place for all your online learning"

❯ tutor config save --set "INDIGO_WELCOME_MESSAGE='changed'"
Configuration saved to /home/aurka/.local/share/tutor/config.yml
Environment generated in /home/aurka/.local/share/tutor/env

❯ tutor local start -d
docker compose -f /home/aurka/.local/share/tutor/env/local/docker-compose.yml -f /home/aurka/.local/share/tutor/env/dev/docker-compose.yml --project-name tutor_dev stop
docker compose -f /home/aurka/.local/share/tutor/env/local/docker-compose.yml -f /home/aurka/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local up --remove-orphans -d
[+] Running 12/12
 ✔ Container tutor_local-mysql-1        Started                                                    0.2s 
 ✔ Container tutor_local-smtp-1         Started                                                    0.2s 
 ✔ Container tutor_local-caddy-1        Started                                                    0.2s 
 ✔ Container tutor_local-permissions-1  Started                                                    0.2s 
 ✔ Container tutor_local-redis-1        Started                                                    0.4s 
 ✔ Container tutor_local-meilisearch-1  Started                                                    0.4s 
 ✔ Container tutor_local-mongodb-1      Started                                                    0.4s 
 ✔ Container tutor_local-lms-1          Started                                                    0.5s 
 ✔ Container tutor_local-mfe-1          Started                                                    0.7s 
 ✔ Container tutor_local-lms-worker-1   Started                                                    0.7s 
 ✔ Container tutor_local-cms-1          Started                                                    0.7s 
 ✔ Container tutor_local-cms-worker-1   Started                                                    0.9s 

❯ tutor plugins list
NAME       	STATUS   	VERSION
android    	installed	19.0.0
cairn      	installed	19.0.0
credentials	installed	19.0.0
discovery  	installed	19.0.0
ecommerce  	installed	19.0.0
forum      	installed	19.0.0
indigo     	✅ enabled	19.0.1
jupyter    	installed	19.0.0
mfe        	✅ enabled	19.0.0
minio      	installed	19.0.0
notes      	installed	19.0.0
webui      	installed	19.0.0
xqueue     	installed	19.0.0

❯ tutor config printvalue INDIGO_WELCOME_MESSAGE
changed
@aurkaxi aurkaxi changed the title cannot cange welcome message cannot change welcome message Feb 17, 2025
@DawoudSheraz
Copy link
Contributor

Hi @aurkaxi . Did you re-build the image after setting the value? Since the config is setting a value used in theme templates, the image re-build is needed for the theme files to update. Please verify this. Thanks

@aurkaxi
Copy link
Author

aurkaxi commented Feb 23, 2025

i tried tutor images build openedx
but it throw a error with the help message.

Error: Command failed with status 125: docker buildx build --tag=docker.io/overhangio/openedx:19.0.2-indigo --output=type=docker --cache-from=type=registry,ref=docker.io/overhangio/openedx:19.0.2-indigo-cache /home/aurka/.local/share/tutor/env/build/openedx

@DawoudSheraz
Copy link
Contributor

@aurkaxi Can you add the complete trace, the current error does not tell what is going on. Thanks

@DawoudSheraz
Copy link
Contributor

I verified it locally and it is working. I changed the welcome message with tutor config save --set INDIGO_WELCOME_MESSAGE="changed welcome message.", built the images, and then ran local launch.

Image

@aurkaxi
Copy link
Author

aurkaxi commented Feb 24, 2025

here is the traceback:

❯ tutor images build openedx
Building image docker.io/overhangio/openedx:19.0.2-indigo
docker buildx build --tag=docker.io/overhangio/openedx:19.0.2-indigo --output=type=docker --cache-from=type=registry,ref=docker.io/overhangio/openedx:19.0.2-indigo-cache /home/aurka/.local/share/tutor/env/build/openedx
unknown flag: --tag
See 'docker --help'.

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Common Commands:
  run         Create and run a new container from an image
  exec        Execute a command in a running container
  ps          List containers
  build       Build an image from a Dockerfile
  pull        Download an image from a registry
  push        Upload an image to a registry
  images      List images
  login       Authenticate to a registry
  logout      Log out from a registry
  search      Search Docker Hub for images
  version     Show the Docker version information
  info        Display system-wide information

Management Commands:
  builder     Manage builds
  compose*    Docker Compose
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  plugin      Manage plugins
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Swarm Commands:
  swarm       Manage Swarm

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  import      Import the contents from a tarball to create a filesystem image
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  wait        Block until one or more containers stop, then print their exit codes

Global Options:
      --config string      Location of client config files (default "/home/aurka/.docker")
  -c, --context string     Name of the context to use to connect to the daemon (overrides
                           DOCKER_HOST env var and default context set with "docker context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket to connect to
  -l, --log-level string   Set the logging level ("debug", "info", "warn", "error", "fatal")
                           (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default "/home/aurka/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default "/home/aurka/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default "/home/aurka/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Run 'docker COMMAND --help' for more information on a command.

For more help on how to use Docker, head to https://docs.docker.com/go/guides/

Error: Command failed with status 125: docker buildx build --tag=docker.io/overhangio/openedx:19.0.2-indigo --output=type=docker --cache-from=type=registry,ref=docker.io/overhangio/openedx:19.0.2-indigo-cache /home/aurka/.local/share/tutor/env/build/openedx

@aurkaxi
Copy link
Author

aurkaxi commented Feb 24, 2025

fixed
had to install docker-buildx package. you might want to add it to tutor install requirements.

@aurkaxi aurkaxi closed this as completed Feb 24, 2025
@github-project-automation github-project-automation bot moved this from Pending Triage to Done in Tutor project management Feb 24, 2025
@DawoudSheraz
Copy link
Contributor

Right. The docs mention buildkit, an explicit mention of buildx can be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants