overhangio/tutor-mfe

tutor dev launch fails with missing docker image

Closed this issue · 4 comments

I am unable to run tutor in development mode with mounted edx-platform (followed instructions as per as https://docs.tutor.overhang.io/dev.html)
During tutor images build openedx-dev it gives following error (at start)
ERROR importing cache manifest from openedx-dev:16.0.0-cache

tutor dev launch fails with this error
Error response from daemon: manifest for overhangio/openedx-account-dev:16.0.0 not found: manifest unknown: manifest unknown

Build environment:
Ubuntu 20.04
Docker version 24.0.2
Python 3.10.7

pip freeze | grep tutor response:

tutor==16.0.0
tutor-android==16.0.0
tutor-discovery==16.0.0
tutor-ecommerce==16.0.0
tutor-forum==16.0.0
tutor-license==16.0.0
tutor-mfe==16.0.0
tutor-minio==16.0.1
tutor-notes==16.0.0
tutor-webui==16.0.0
tutor-xqueue==16.0.0

edx-platform commit: d3b1ce176ae552cf36a87a1b875723c4358e5331

Note: It used to work fine before (at least a week back when I tried it), commands are changed now so that is that.

Docker compose file looks like this

version: "3.7"

x-openedx-service:
  &openedx-service
  image: openedx-dev:16.0.0
  stdin_open: true
  tty: true
  volumes:
    # Settings & config
    - ../apps/openedx/settings/lms:/openedx/edx-platform/lms/envs/tutor:ro
    - ../apps/openedx/settings/cms:/openedx/edx-platform/cms/envs/tutor:ro
    - ../apps/openedx/config:/openedx/config:ro
    # theme files
    - ../build/openedx/themes:/openedx/themes
    # editable requirements
    - ../build/openedx/requirements:/openedx/requirements

services:
  permissions:
    environment:
      OPENEDX_USER_ID: "1000"

  lms:
    <<: *openedx-service
    command: ./manage.py lms runserver 0.0.0.0:8000
    environment:
        DJANGO_SETTINGS_MODULE: lms.envs.tutor.development
    ports:
        - "8000:8000"
    networks:
      default:
        aliases:
          - "local.overhang.io"

  cms:
    <<: *openedx-service
    command: ./manage.py cms runserver 0.0.0.0:8000
    environment:
        DJANGO_SETTINGS_MODULE: cms.envs.tutor.development
    ports:
        - "8001:8000"

  lms-worker:
    <<: *openedx-service

  cms-worker:
    <<: *openedx-service

  # Additional service for watching theme changes
  watchthemes:
    <<: *openedx-service
    command: openedx-assets watch-themes --env dev
    restart: unless-stopped

  # MFE apps

  authn:
      image: "docker.io/overhangio/openedx-authn-dev:16.0.0"
      ports:
          - "1999:1999"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

  account:
      image: "docker.io/overhangio/openedx-account-dev:16.0.0"
      ports:
          - "1997:1997"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

  communications:
      image: "docker.io/overhangio/openedx-communications-dev:16.0.0"
      ports:
          - "1984:1984"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

  course-authoring:
      image: "docker.io/overhangio/openedx-course-authoring-dev:16.0.0"
      ports:
          - "2001:2001"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

  discussions:
      image: "docker.io/overhangio/openedx-discussions-dev:16.0.0"
      ports:
          - "2002:2002"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

  gradebook:
      image: "docker.io/overhangio/openedx-gradebook-dev:16.0.0"
      ports:
          - "1994:1994"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

  learning:
      image: "docker.io/overhangio/openedx-learning-dev:16.0.0"
      ports:
          - "2000:2000"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

  ora-grading:
      image: "docker.io/overhangio/openedx-ora-grading-dev:16.0.0"
      ports:
          - "1993:1993"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

  profile:
      image: "docker.io/overhangio/openedx-profile-dev:16.0.0"
      ports:
          - "1995:1995"
      stdin_open: true
      tty: true
      volumes:
          - ../plugins/mfe/apps/mfe/webpack.dev-tutor.config.js:/openedx/app/webpack.dev-tutor.config.js:ro
      restart: unless-stopped
      depends_on:
          - lms

There is no tag 16.0 in openedx-account-dev, also openedx-ora-grading-dev:16.0.0. is giving 404

regisb commented

CI was having a hard time because of arm64 issues. The image is there now: https://hub.docker.com/r/overhangio/openedx-account-dev/tags
Can you please check if it works for you?

EDIT: I just saw your comment about the ora-grading-dev image missing as well. Same for the the communications-dev image. Now building...

regisb commented

The images should be available now.

The images should be available now.

Thanks for quick turnaround on this one, rest of images are available except https://hub.docker.com/r/overhangio/openedx-communications-dev/tags . Can you please make this available as well?

regisb commented

Done!