nextcloud / nextcloud/nextcloudpi

NCP Disable automatic preview generation

Open
#1,872 1 comment 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.