You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to update the data/archive/<timestamp>/index.{json,html} files by running the archivebox update --index-only command as described in #544. I expected that this command would update the index.{json,html} files in the data/archive/<timestamp>/ folders, but the updated index.{json,html} files are only written to OUTPUT_DIR and not to the timestamp folder. The updated index.{json,html} files in the OUTPUT_DIR are probably only used by sonic to create the search index.
Steps to reproduce
Use git on the archive folder
Run archivebox update --index-only (also tried: archivebox update --index-only --overwrite but same result)
Updated index.{json,html} only written to OUTPUT_DIR
Running git status shows no changes to the archive folder
data/archive/<timestamp>/index.{json,html} files are not updated
This is by design, for safety and performance on large collections the timestamp folder index files are only lazily updated when they actually need to be changed. If you want to update them all, check all the snapshot rows in the UI and click the update button.
Describe the bug
I tried to update the
data/archive/<timestamp>/index.{json,html}
files by running thearchivebox update --index-only
command as described in #544. I expected that this command would update theindex.{json,html}
files in thedata/archive/<timestamp>/
folders, but the updatedindex.{json,html}
files are only written toOUTPUT_DIR
and not to the timestamp folder. The updatedindex.{json,html}
files in theOUTPUT_DIR
are probably only used by sonic to create the search index.Steps to reproduce
git
on thearchive
folderarchivebox update --index-only
(also tried:archivebox update --index-only --overwrite
but same result)index.{json,html}
only written toOUTPUT_DIR
git status
shows no changes to the archive folderdata/archive/<timestamp>/index.{json,html}
files are not updatedScreenshots or log output
N/A
ArchiveBox version
Config
The text was updated successfully, but these errors were encountered: