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
Too many arguments (occ) #212
Comments
Try |
Same thing :/ |
Same problem for me : Too many arguments, expected arguments "command" "app" "name". config:app:set [--output [OUTPUT]] [--value VALUE] [--update-only] [--] |
Bumping.. Is this really a bug, or we doing something wrong? |
I've been getting the same errors. When I add a comma between the values, e.g. --value="256,384", the command runs successfully. However, I don't know for sure if it's parsed correctly by the previewgenerator. |
Tried it and after generating previews, seems to generate too many. PS. Also have the same problem on |
I'm closing this issue, seems to be a linuxserver docker specific problem, On official docker works as it should. Found a temporary solution. More info in linuxserver/docker-nextcloud#179 |
Sorry but I actually don't think this issue is resolved. I still had the very same problem today not running on docker or linuxserver, so the suggested solution did not change anything for me. My setup: Same error message as above when for example running: Results in: I also tried many suggested variants, like removing the = after value, adding a comma in between, etc. The solution I found (the classic): So this is the working way to do it as of now for me: Results in: So I'm not sure what exactly is the problem or what changed recently, but there must have changed something somewhere in the backend, either of Nextcloud or the Previewgenerator app. Anyways, thanks for the great app and I hope I could be of help to someone who might have the same error. ;-) EDIT Short update: |
With a shell open from a Linux system, the call works only this way
|
Working command:
|
Why are the \ necessary? It used to work for me, but this seemed to do the trick. |
When running
occ config:app:set --value="32 64 1024" previewgenerator squareSizes
i get errorToo many arguments
When i try to run it with only one value eg
occ config:app:set --value="32" previewgenerator squareSizes
It works.Running Preview Generator 3.0.1
Nextcloud 20.0.3
The text was updated successfully, but these errors were encountered: