Code Monkey home page Code Monkey logo

Comments (4)

regisb avatar regisb commented on August 16, 2024 1

Sorry, I'm new to docker image tagging. The image that was uploaded to dockerhub had a bug. Please run make update and try again, then close this issue if it solved your problem.

from tutor.

regisb avatar regisb commented on August 16, 2024

The universal.production module is supposed to be in config/openedx/universal/cms/production.py, on the host. It contains the settings required to run the CMS and it should be mounted inside the docker image.

  1. Which version of openedx-docker are you using? Please give the result of git log -1 on the host.
  2. Is the configuration volume properly mounted inside the container? Please run the following: make cms on the host, and then in the container give the result of all following commands:
ls -lh cms/envs/universal
ls -lh cms/envs/universal/
ls -lh /openedx/config/
ls -lh /openedx/config/universal/cms/

from tutor.

macagua avatar macagua commented on August 16, 2024

Hi @regisb

Which version of openedx-docker are you using?

$ git log -1
commit bfbc0c2b5bf244826a32014a8edbe1e6188b0f1d
Author: Régis Behmo <[email protected]>
Date:   Wed May 16 19:35:18 2018 +0200

    Switch docker hub username

make cms and container structure commands:

$ make cms
docker-compose run --rm -e USERID=$(id -u) -e SETTINGS=universal.production -p 8001:8001 cms bash
Starting openedx-docker_mysql_1     ... done
Starting openedx-docker_smtp_1      ... done
Starting openedx-docker_memcached_1 ... done
Starting openedx-docker_mysql_1     ... done
creating new user 'openedx' with UID 1000
openedx@272f23c7aafc:~/edx-platform$ ls                   
AUTHORS		  Makefile	     cms	  docs		openedx       pavement.py      screenshots  static	  webpack.config.js
CHANGELOG.rst	  Open_edX.egg-info  codecov.yml  lms		openedx.yaml  pylintrc	       scripts	    test_root
CONTRIBUTING.rst  README.rst	     common	  manage.py	package.json  pylintrc_tweaks  setup.cfg    themes
LICENSE		  circle.yml	     conf	  node_modules	pavelib       requirements     setup.py     vendor_extra
openedx@272f23c7aafc:~/edx-platform$ ls -lh cms/envs/universal
lrwxrwxrwx 1 openedx root 32 May 16 16:36 cms/envs/universal -> /openedx/config/universal/cms.py
openedx@272f23c7aafc:~/edx-platform$ ls -lh cms/envs/universal/
ls: cannot access 'cms/envs/universal/': No such file or directory
openedx@272f23c7aafc:~/edx-platform$ ls -lh /openedx/config/
total 28K
-rw-rw-r-- 1 openedx openedx  856 May 23 19:35 cms.auth.json
-rw-rw-r-- 1 openedx openedx 2.5K May 23 19:35 cms.env.json
-rw-rw-r-- 1 openedx openedx  358 May 23 19:35 config.json
-rw-rw-r-- 1 openedx openedx  856 May 23 19:35 lms.auth.json
-rw-rw-r-- 1 openedx openedx 2.5K May 23 19:35 lms.env.json
drwxrwxr-x 2 openedx openedx 4.0K May 23 04:14 templates
drwxrwxr-x 4 openedx openedx 4.0K May 23 04:14 universal
openedx@272f23c7aafc:~/edx-platform$ ls -lh /openedx/config/universal/cms/
total 8.0K
-rw-rw-r-- 1 openedx openedx   0 May 23 04:14 __init__.py
-rw-rw-r-- 1 openedx openedx 798 May 23 04:14 development.py
-rw-rw-r-- 1 openedx openedx 933 May 23 04:14 production.py

from tutor.

macagua avatar macagua commented on August 16, 2024

@regisb Don't worry also I am newbie with Docker, I still don't build any Docker image, for that I report you the issue.

I followed your instructions and it's work very well :-)

Really thanks for your quickly support for fix this issue.

from tutor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.