docker-images icon indicating copy to clipboard operation
docker-images copied to clipboard

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

Open eyaneylii opened this issue 2 years ago • 8 comments

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 ?

eyaneylii avatar Apr 23 '23 20:04 eyaneylii

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

yunus-qureshi avatar Apr 24 '23 08:04 yunus-qureshi

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

eyaneylii avatar Apr 24 '23 09:04 eyaneylii

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

yunus-qureshi avatar Apr 25 '23 05:04 yunus-qureshi

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

eyaneylii avatar Apr 26 '23 11:04 eyaneylii

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.

yunus-qureshi avatar Apr 26 '23 13:04 yunus-qureshi

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

eyaneylii avatar Apr 26 '23 14:04 eyaneylii

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

yunus-qureshi avatar Apr 26 '23 15:04 yunus-qureshi

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 ?

eyaneylii avatar Apr 26 '23 16:04 eyaneylii