nextcloud / nextcloud/workflow_script
imagemagick convert script doesn't work
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 89
- Forks
- 19
- Avg merge
- 6h 38m
- Merged PRs (30d)
- 3
Description
Steps to reproduce
- Install external scripts
- Add automated tagging to uploaded files
- Run the command 'convert %x -interlace plane -strip -quality 80 -resize 1000x1000> $(basename %x)_1.jpg' on files that are tagged accordingly to step 2.
Expected behaviour
Image files should be converted according to command settings and have it's original name with the suffix '_1'. This works properly when the command is run directly at the server.
Actual behaviour
Nothing happens at all - flow log is empty. The automated tagging applies, but not the external script.
Workflow Script app
Workflow Script app version: 1.4.0
Server configuration
Operating system: Ubuntu Server 20.04 LTS
Web server: Nginx
Database: MariaDB 10.3.22
PHP version: 7.4.3
Nextcloud Version: 19.0.3
Where did you install Nextcloud from: Nextcloud
Signing status:
No errors have been found.
List of activated apps:
Nextcloud configuration:
Are you using external storage, if yes which one: Testing on Local but the plan is to have this applied on files in external storage (SMB)
Are you using encryption: no
Server log (data/nextcloud.log)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The payload names the workflow_script app and the ImageMagick command, but no source file or test. Start by reproducing the command through automated tagging and inspect the flow and server logs; done means the external script runs and creates the converted file with the original name plus the _1 suffix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100