nextcloud
nextcloud copied to clipboard
Upgrading from 18.0.7 (Ubuntu 18.04.5 LTS)
i tried to upgrade from 18.0.7 (Nextcloud-Master) pulled the newest files from git and got the following message: /usr/local/lib/python2.7/dist-packages/ansible/parsing/vault/init.py:44: CryptographyDeprecationWarning: Python 2 is no longer supported b y the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. from cryptography.exceptions import InvalidSignature ERROR! couldn't resolve module/action 'firewalld'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/root/nextcloud/roles/prep_onlyoffice/tasks/main.yml': line 72, column 3, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: open firewalld ^ here
If i uncomment the line everything finishes. But i get "internal Server Error" when i open the webpage.
Same if i manually upgrade to 20.0.7 and rerun the ansible script
I think you should make new (fresh) NextCloud 20 install and migrate data. Not sure if this Reiner's Ansible scripts made for upgrade (may be wrong here). Fully dockerized install may solve such problems in a afuture.
The playbook is not meant to update Nextcloud. It's one is only used for installation.
OS and Nextcloud updates have to be done the "normal" way. (apt update && apt dist-upgrade)