greyltc / docker-owncloud

Arch linux based docker container with owncloud
111 stars 37 forks source link

Added cron support. Fixed issues with 'occ' execution and config folder permissions. #47

Closed dbxt closed 8 years ago

dbxt commented 8 years ago

I pulled some of the methodology from @jchaney container in order to get the cron working. The cron.conf can be rolled into the docker file if necessary.

The occ and config permissions issue is resolved by adding the symbolic link destination to the open_basedir property in the php.ini.

It needs more testing, but this is how I'm able to get my docker arch based owncloud image working with updating News and a working occ.

l3iggs commented 8 years ago

Great! Thanks for your contribution!

skidelo commented 8 years ago

Crontab doesn't seem to be running for me. At least owncloud says it hasn't ran for 11 days. Just trying to identify if this is a universal issue, or specific to my system?

l3iggs commented 8 years ago

I don't use this feature so I haven't noticed anything. Any other users notice anything?

skidelo commented 8 years ago

It should be easy enough to test. Just have to set the cron settings to 'Cron' instead of 'AJAX' on the Admin page. Info here: https://doc.owncloud.org/server/8.2/admin_manual/configuration_server/background_jobs_configuration.html?highlight=background