nextcloud icon indicating copy to clipboard operation
nextcloud copied to clipboard

Upgrading from 18.0.7 (Ubuntu 18.04.5 LTS)

Open Baker0052 opened this issue 4 years ago • 3 comments

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.

Baker0052 avatar Feb 21 '21 18:02 Baker0052

Same if i manually upgrade to 20.0.7 and rerun the ansible script

Baker0052 avatar Feb 21 '21 20:02 Baker0052

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.

LinuksGuru avatar Feb 22 '21 14:02 LinuksGuru

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)

ReinerNippes avatar Feb 22 '21 19:02 ReinerNippes