Hi all,
trying to set up nextcloud with actual debops (0.8.1) I get an error
during run_occ.yml.
Responsible seems to be in setup_owncloud.yml
- name: Get current ownCloud configuration via occ config:list
include: 'run_occ.yml'
loop_control:
loop_var: 'owncloud__occ_item'
tags: [ 'role::owncloud:occ_config' ]
when: (owncloud__apps_config_combined is mapping and
owncloud__apps_config_combined.keys() | length)
with_flattened:
- command: 'config:list'
get_output: True
But nextcloud (15) doesn't have an command "config". The whole error
output is (when no_log is set to False):
/debops.owncloud/tasks/run_occ.yml:36
[WARNING]: Unable to use /var/www/.ansible/tmp as temporary directory,
failing back to system: [Errno 13] Permission denied: '/var/www/.ansible'
fatal: [
nextcloud.example.org]: FAILED! => {
"changed": false,
"cmd": [
"php",
"--file",
"/srv/www/nextcloud/occ",
"config:list",
"--output=json_pretty"
],
"delta": "0:00:00.180020",
"end": "2019-03-18 22:14:32.564783",
"failed_when_result": true,
"invocation": {
"module_args": {
"_raw_params": "php --file
\"/srv/www/nextcloud/occ\"
config:list --output=json_pretty",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2019-03-18 22:14:32.384763",
"stderr": "\n
\n There are no commands defined in the \"config\" namespace. \n
",
"stderr_lines": [
"",
" ",
" There are no commands defined in the \"config\" namespace.
",
" "
],
"stdout": "Nextcloud is not installed - only a limited number of
commands are available",
"stdout_lines": [
"Nextcloud is not installed - only a limited number of commands
are available"
]
}
Any idea?
Regards
Jan