Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
UehgxEQbFiw4Tlw8 opened this issue Sep 14, 2024 · 1 comment

Comments

@UehgxEQbFiw4Tlw8
Copy link

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:

  • docker
  • exec
  • --user=998:1002
  • mash-nextcloud-server
  • php
  • /var/www/html/occ
  • config:app:set
  • --type=int
  • --value=80

  • preview

  • jpeg_quality
    delta: '0:00:01.139061'
    end: '2024-09-14 12:29:06.329837'
    item:
    appConfig: preview
    appType: config:app:set
    configName: jpeg_quality
    type: int
    value: 80
    msg: non-zero return code
    rc: 1
    start: '2024-09-14 12:29:05.190776'
    stderr: |2-

    In AppConfig.php line 1069:

    Unknown type int

    config:app:set [--output [OUTPUT]] [--value VALUE] [--type TYPE] [--lazy|--no-lazy] [--sensitive|--no-sensitive] [--update-only] [--]
    stderr_lines:
    stdout: ''
    stdout_lines:

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
Copy link

neokyx commented Sep 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants