nextcloud / nextcloud/previewgenerator

It scan only the first folder

Open
#189 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs info
Dominant language
PHP
Stars
520
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have 4 folders on my Nextcloud. When I start
nextcloud.occ preview:generate-all -vvv
It scans my first folder "Documents" which is first in alphabetical order and it stops.
Other folders are ignored. If I temporarily delete the document folder, the preview generator scans the other folder, etc.

Any ideas ?
Thanks,

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 nextcloud.occ preview:generate-all -vvv with several folders, including the reported Documents folder and another folder. Trace why processing stops after the first alphabetical folder; done means the command generates previews for all folders rather than stopping after one.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.