nextcloud / nextcloud/nextcloudpi
NCP Disable automatic preview generation
Open
Nobody has claimed this yet.
has-updates
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
When disabling automatic preview generation the first lines of "nc-previews-auto.sh" are executed.
In line 17 of the mentioned file the command is rm -f /etc/cron.d/nc-previews-auto
The file name is incorrect imho, should be rm -f /etc/cron.d/ncp-previews-auto compared to line 26.
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
Open nc-previews-auto.sh and compare the cron-file paths on lines 17 and 26. Correct the path used when automatic preview generation is disabled, then verify that the disable operation removes the expected /etc/cron.d entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100