-
Notifications
You must be signed in to change notification settings - Fork 494
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
OSEM Installation using Docker doesn't work #2511
Comments
I'm having the same issue, though with the current version of the Dockerfile.production and the tmp file commands in osem directory don't seem to fix it.
note that neither the "ruby version" or the "files may not be writable" messages seem to be the cause of the problem, as either setting an OSEM_RUBY_VERSION in .env.production or running bundle as sudo ... --system makes the respective warnings disappear, but the error stays the same. |
I don't know why it doesn't get picked up from the environment but if you change line 5 of the Gemfile from: |
To use the provided Docker Compose environment, I first had to resolve all of:
Now OSEM runs and the tests pass. |
Thank you for sharing this project. I just went through deploying the Docker version for production and I had to do several changes in a few files to make it work. I am sharing what I did in case it helps someone else. ./docker-compose.yml.production-example:
I know that accessing the database with this ./Dockerfile.production:
The most difficult part here was Nokogiri. I think that this is what made it work and probably is sufficient on its own: I also had to change the ruby version in my Gemfile like this: Lastly, I changed something in /config/environments/production.rb because the assets pipeline was not working well if I stopped and restart the service: With all of that, I have now a running version of OSEM and happy with it. Thanks again. |
I'm submitting a ..
Current behavior:
When following INSTALL.md to install osem using docker in openSUSE Leap 15.0, it doesn't work as expected. When I run
it produce some errors. The errors are:
Expected correct behavior:
Images are build.
Steps to reproduce:
In openSUSE Leap 15.0 follow the step in INSTALL.md and run
Other information:
I can install it by adding tmp directory in osem directory and give it sticky bit.
Then running
The container is up and running and I can access it through browser
Without adding tmp directory with sticky bit in osem directory there will be a problem with the permission when trying to acces it using browser. Below is the example
The text was updated successfully, but these errors were encountered: