nextcloud / nextcloud/previewgenerator

setting preview size error from occ command

Open
#401 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs question
Dominant language
PHP
Stars
520
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Nextcloud Hub (26.0.3) via docker from linuxserver.io
all the commands provided,

./occ config:app:set --value="32 64 1024"  previewgenerator squareSizes
./occ config:app:set --value="64 128 1024" previewgenerator widthSizes
./occ config:app:set --value="64 256 1024" previewgenerator heightSizes

result in the same error, ie,

 $ occ config:app:set --value="64 256 1024" previewgenerator squareSizes
  Too many arguments, expected arguments "command" "app" "name".
config:app:set [--output [OUTPUT]] [--value VALUE] [--update-only] [--] <app> <name>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the three displayed occ config:app:set commands in the reported Docker/Linux environment, then compare their arguments with the command usage shown in the issue. Done means the preview size settings can be applied without the reported “Too many arguments” error, with the command guidance clarified if needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, linux, php
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.