mother-of-all-self-hosting / mash-playbook

🐋 Ansible playbook which helps you host various FOSS services as Docker containers on your own server
GNU Affero General Public License v3.0
471 stars 60 forks source link

FAIL - Adjust Nextcloud configuration values related to preview generator #258

Closed UehgxEQbFiw4Tlw8 closed 1 week ago

UehgxEQbFiw4Tlw8 commented 1 month ago

Hi! The problem: after updating the system with just roles && just setup-all, after modifying my vars.yml with the line set to "true" as in the documentation and after installing the App, running just run-tags adjust-nextcloud-config breaks with message:

TASK [galaxy/nextcloud : Adjust Nextcloud configuration values related to preview generator] *** changed: [mash.example.com] => (item={'appType': 'config:system:set', 'appConfig': '', 'configName': 'preview_max_x', 'type': 'string', 'value': None}) changed: [mash.example.com] => (item={'appType': 'config:system:set', 'appConfig': '', 'configName': 'preview_max_y', 'type': 'string', 'value': None}) failed: [mash.example.com] (item={'appType': 'config:app:set', 'appConfig': 'preview', 'configName': 'jpeg_quality', 'type': 'int', 'value': 80}) => changed=true ansible_loop_var: item cmd:

As you can see, some ints seems to be unknown (how can that be?) but required or set that way in the 3rd line above (I think this is (?) the problem).

Any help or idea to solve the issue please? Highly appreciated, thank you very much!

Have a nice day and weekend!

Kind regards, M.

neokyx commented 1 month ago

Hi ! Same issue here. I think it can be solved by specify manually the preview x and y values to '80' (for example) instead of 'null'. At least, in my case, the occ app command "preview:generate-all" seems to complete after this change.

sudo-Tiz commented 1 week ago

Solved in ansible-role-nextcloud v30.0.0-1 Upgrading MASH should fix your issues