Closed nickvergessen closed 9 years ago
On a fresh set up it can take you a while to figure out you didn't set the right permissions on the directory, because the return code and messages are hidden:
Fix owncloud/smashbox#99
@moscicki
I removed logger.info('sync cmd is: %s',cmd) because it is already written by runcmd: https://github.com/owncloud/smashbox/blob/ee2b40f9995cf66f443ef00cb1ed7c14c4b69ab4/python/smashbox/utilities/__init__.py#L305-305
logger.info('sync cmd is: %s',cmd)
2015-06-25 10:15:40,493 - INFO - sharer - sync cmd is: ***/owncloudcmd --trust /var/lib/jenkins/build/smashdir/test_shareGroup/sharer/ ownclouds://***/owncloud8.1/remote.php/webdav/ >> ***/test_shareGroup/sharer-ocsync.step03.cnt000.log 2>&1 2015-06-25 10:15:40,493 - INFO - sharer - running '***/owncloudcmd --trust /var/lib/jenkins/build/smashdir/test_shareGroup/sharer/ ownclouds://***/owncloud8.1/remote.php/webdav/ >> ***/test_shareGroup/sharer-ocsync.step03.cnt000.log 2>&1' 2015-06-25 10:15:40,495 - WARNING - sharer - Non-zero exit code 1 from command '***/owncloudcmd --trust /var/lib/jenkins/build/smashdir/test_shareGroup/sharer/ ownclouds://***/owncloud8.1/remote.php/webdav/ >> ***/test_shareGroup/sharer-ocsync.step03.cnt000.log 2>&1'
On a fresh set up it can take you a while to figure out you didn't set the right permissions on the directory, because the return code and messages are hidden:
Fix owncloud/smashbox#99
@moscicki
I removed
logger.info('sync cmd is: %s',cmd)
because it is already written by runcmd: https://github.com/owncloud/smashbox/blob/ee2b40f9995cf66f443ef00cb1ed7c14c4b69ab4/python/smashbox/utilities/__init__.py#L305-305