oracle / docker-images

Official source of container configurations, images, and examples for Oracle products and projects
https://developer.oracle.com/use-cases/#containers
Universal Permissive License v1.0
6.57k stars 5.43k forks source link

Applying Patching on oracle:19.3.0.0 got error Argument(s) Error... Patch location is not valid for apply #2617

Closed eyaneylii closed 4 months ago

eyaneylii commented 1 year ago

when I try to appy patch on 19.3.0.0 with zip file of 19.18.0.0 I got below error : ZOP-51: The patch location is not valid for apply, because it doesn't have correct metadata, or it points to a patch directory. Argument(s) Error... Patch location is not valid for apply How to solve it please ?

yunus-qureshi commented 1 year ago

Please provide the build logs. Where have you downloaded and placed the patch? Did you unzip it?

eyaneylii commented 1 year ago

I followed the steps in this link : I build the base image 19.3.0.0 and downloaded the patch 19.18.0.0 then I followed the steps of applying patch but I modified the dockerfile to get my built image and I tried both zip file and unzipped file

yunus-qureshi commented 1 year ago

Can you try this https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance/extensions/patching

eyaneylii commented 1 year ago

Thank you for your response. So the release update is the patch zip file right ? but the one-offs what does it mean please ?

yunus-qureshi commented 1 year ago

It is for applying one or more one-off fixes over the release update. You may leave that directory empty if you don't have any.

eyaneylii commented 1 year ago

It is for applying one or more one-off fixes over the release update. You may leave that directory empty if you don't have any.

I followed the steps but I got error screenshot attached Capture

yunus-qureshi commented 1 year ago

What do you have 6880880 under the release_update folder? That has to be placed under the one-offs. We'll update the documentation to indicate that

eyaneylii commented 1 year ago

Thank you it works, now. But I need to ask you about something please. Actually I'm doing the patch due to some vulnerabilities (java, log4j, ...) but after patching I found same versions nothing changed. So please is there any documentation or any other patch to fix those vulnerabilities ?