Closed marcus-herrmann closed 4 years ago
I can confirm same behaviour, running command "occ ...." does not throws an error, while "php occ..." does.
You are most probably running the command under the wrong user id or you are missing to initialize other environment variables
Never the less - the occ script was added on purpose so that you don't need to care about what needs to be done - https://github.com/owncloud-docker/base/blob/master/latest/overlay/usr/bin/occ
Please just use the script and we are all happy ;-)
Just in case you what to know what else might be missing - these are some of the initialization scripts: https://github.com/owncloud-docker/base/tree/master/latest/overlay/etc/entrypoint.d
As said - occ is there on purpose - please just use as is
@DeepDiver1975 yeah, my thought exactly - thanks for quick response.