craftcms / craftcms/cms

craft index-assets/one command does nothing

Open
#5,124 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

Description

I am trying to index about 2GB of files for one volume with handle "pics". It takes forever from the CP, so I tried it from cmd.
When i run the command craft index-assets/one pics it displays:

Indexing assets in Pics ...
Done indexing assets in Pics.

but nothing happens. I open the CP and the files are still not indexed.

Additional info
  • Craft version: 3.3.4.1

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 craft index-assets/one pics with Craft 3.3.4.1 for a volume containing files, then compare its output with the asset state shown in the CP. Done means the command reports indexing only after the files are indexed and they appear in the CP.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.