This message was deleted.
# opal
s
This message was deleted.
o
In a quick glance it looks like the OPAL client process doesn't have file access to the backup file, you should chmod/chown it for the OPAL process user created in the dockerfile
๐Ÿ‘ 1
h
I have manage to use chown and chmod to change the owner and permission of the file. As you can see from the first screenshot the opa.json is now owned by 'opal' user with all access permission (same as the autogenerated opa.json.tmp file) and I restarted the opal client. But it still thrown the same exception as show in the second screenshot
a
cc @Ro'e Katz who is the feature owner
r
Hi @Heng Tan, Try mounting a directory. With a named volume:
Copy code
volumes:
      - opa_backup:/opal/backup:rw
or mounting to the hostโ€™s fs:
Copy code
volumes:
      - ./opa_backup:/opal/backup:rw
h
@Ro'e Katz thanks for your suggestion, I can confirm that mapping to the backup directory rather the folder works ๐ŸŽ‰๐Ÿ™
๐ŸŽ‰ 2