ReinerNippes / nextcloud

Ansible playbook to install nextcloud, php, nginx or apache, mariadb or postgres, redis-server, onlyoffice or collabora office
MIT License
410 stars 142 forks source link

nextcloud-reloaded - ansible filters seemingly missing [debian/bullseye] #140

Open KaffeMyers opened 1 year ago

KaffeMyers commented 1 year ago

Trying to install this on a freshly installed Debian Bullseye, hitting a wall.

Where it fails:

TASK [tls-certificate : create cert directory] ***************************************
fatal: [localhost]: FAILED! =>
  msg: 'template error while templating string: No filter named ''dirname''.. String:
{{ tls_certificate_file | dirname }}'

PLAY RECAP ***************************************************************************
localhost                  : ok=34   changed=20   unreachable=0    failed=1    skipped=6    rescued=0    ignored=0
KaffeMyers commented 1 year ago

I probably should add that I did try hardcoding the directory name to see if I could get passed it for my installation, but later got hit with a similar issue regarding another missing filter. I don't have the logs stored from that try, but I do remeber it was complaining about missing regex_findall.

perfectra1n commented 1 year ago

https://github.com/ansible/ansible/issues/77356

The resolution here was to update your Ansible version, I had the same issue.