Orthanc is not working for accessing NAS(Network-attached storage ) inside docker volume

i have already mounted my NAS storage through fstab :

volumes:

Config

  • ./config/42/orthanc.json:/etc/orthanc/orthanc.json:ro
  • ./config/42/transcodeAndForward.lua:/etc/share/orthanc/scripts/transcodeAndForward.lua
  • ./config/42/countSearch.py:/etc/share/orthanc/scripts/countSearch.py

My mounted volume

  • /mnt/win_share/orthanc-test/:/var/lib/orthanc/db/
    command: ‘/etc/orthanc --verbose’

Error log file :

Orthanc.log.20171130-050430(3).2396 (2.42 KB)

storage directory inside orthanc.json file:

“StorageDirectory”: “/var/lib/orthanc/db”,
“IndexDirectory”: “/var/lib/orthanc/db”,

Hello. What do you have when you access the container and do:

ll -h /var/lib/orthanc/

Are you sure the folder has the right permissions for the Orthanc user? Can you try chmod 777 -R in the /mnt/win_share/orthanc-test/ folder?

A quinta-feira, 7 de abril de 2022 à(s) 08:53:31 UTC+1, shaher...@gmail.com escreveu:

Yes , i have allow permission but still have getting same error , i am not sure with “ll -h /var/lib/orthanc/” point

If you access your container via terminal, you can run ll -h /var/lib/orthanc/ and see if you have the db folder and see its permissions if it exists.

A segunda-feira, 11 de abril de 2022 à(s) 06:42:11 UTC+1, shaher...@gmail.com escreveu: