oracle / adb-free

Universal Permissive License v1.0
35 stars 4 forks source link

pdb not found for single quotes... #9

Open zendelcrow opened 5 months ago

zendelcrow commented 5 months ago

Hi good day, running this command

podman run -d ^ -p 1521:1522 ^ -p 1522:1522 ^ -p 8443:8443 ^ -p 27017:27017 ^ -e WORKLOAD_TYPE='ATP' ^ -e WALLET_PASSWORD= ^ -e ADMIN_PASSWORD= ^ --cap-add SYS_ADMIN ^ --device /dev/fuse ^ --name adb-free ^ ghcr.io/oracle/adb-free:latest

The pod stop after starting, and reviewing the logs I found this

User has requested to download '.pdb' archive file from Object Storage bucket Downloading MY_'ATP'.pdb.. Traceback (most recent call last): File "/u01/scripts/download_my_container_pdb.py", line 88, in downloader.download() File "/u01/scripts/download_my_container_pdb.py", line 56, in download r.raise_for_status() File "/usr/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_errormsg, response=self) �requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://objectstorage.us-phoenix-1.oraclecloud.com/n/dwcsdev/b/adb-free/o/ADBS-23.10.2.3/MY'ATP'.pdb

I check this url https://objectstorage.us-phoenix-1.oraclecloud.com/n/dwcsdev/b/adb-free/o/ADBS-23.10.2.3/MY_'ATP'.pdb and changed with this one https://objectstorage.us-phoenix-1.oraclecloud.com/n/dwcsdev/b/adb-free/o/ADBS-23.10.2.3/MY_ATP.pdb and the last one is working.

aosingh commented 5 months ago

Hi @zendelcrow

Could you try without the quotes. Also, could you let me which OS are you using ?

podman run -d \
-p 1521:1522 \
-p 1522:1522 \
-p 8443:8443 \
-p 27017:27017 \
-e WORKLOAD_TYPE=ATP \
-e WALLET_PASSWORD=*** \
-e ADMIN_PASSWORD=*** \
--cap-add SYS_ADMIN \
--device /dev/fuse \
--name adb-free \
ghcr.io/oracle/adb-free:latest

On Linux, I don't see this problem.