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

Oracle setup seems to be broken. #4

Open
charettes opened this issue Aug 10, 2019 · 7 comments · May be fixed by #5 or #48
Open

Oracle setup seems to be broken. #4

charettes opened this issue Aug 10, 2019 · 7 comments · May be fixed by #5 or #48

Comments

@charettes
Copy link
Member

charettes commented Aug 10, 2019

It looks like referenced image is not publicly available anymore

docker-compose run oracle-db
Pulling oracle-db (sath89/oracle-12c:)...
ERROR: pull access denied for sath89/oracle-12c, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

https://hub.docker.com/r/sath89/oracle-12c/ is a 404

@orf
Copy link
Collaborator

orf commented Aug 15, 2019

Honestly, I think we should bite the bullet and try to use the official Oracle image from the Oracle container registry.

What's unfortunate is we will not be able to run this on the CI though. I'm guessing these public docker images break some kind of licensing, which is why they are being removed. See: https://old.reddit.com/r/docker/comments/ail87k/my_image_with_10m_pulls_has_just_gone_completely/?st=jzcw7ohs&sh=cbadbdc2 and the linked issue

@oduvan
Copy link

oduvan commented Nov 24, 2020

any progress with that?

@InvalidInterrupt
Copy link

I've hacked together a version that uses 18c XE at https://github.com/InvalidInterrupt/django-docker-box/tree/oracle-xe that may be suitable for local testing. It also works around the sudo issue in the entrypint script.

There was some discussion regarding Oracle making XE images officially (and maybe publicly?) available here: oracle/docker-images#1156

@awtimmering
Copy link

awtimmering commented Dec 1, 2021

truevoly/oracle-12c seems to have been around for 3 years. Could we switch to that for the time being in our docker-compose.yml? Looks like a PR for that change has been sitting since 2019.

@jpnauta
Copy link

jpnauta commented Apr 15, 2023

For anyone else looking into using this project to run Oracle: the latest version of Django (5.0) requires Oracle 19 or later - as such, neither sath89/oracle-12c nor truevoly/oracle-12c will work anymore.

If anyone attempts to fix this in the future, here are some tips:

  • oracle_entrypoint.sh is broken with an error saying that sudo isn't installed. To resolve this, copy from this commit.

image

  • I got an error TNS:listener does not currently know of service requested in connect descriptor. To resolve this, make a change like this in settings/test_oracle.py

image

  • If you run into error ORA-12528: TNS:listener: all appropriate instances are blocking new connections, you will need to expose port 5500 for oracle-db in docker-compose.yml

image

Good luck to you! Gotta love Oracle 🙄

@ngnpope
Copy link
Member

ngnpope commented May 10, 2024

For anyone interested in this, I have Oracle working on the main branch of my fork.

I have a bunch of tidying up to do, but hopefully in the coming months we can get it rolled back in upstream.

@charettes
Copy link
Member Author

Super exciting stuff @ngnpope that would make building new features on Oracle less of a pain for sure. Let me know if you want someone to QA your work locally when you're done tidying it up.

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