mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #1087] Question: Help setting up full text search #679
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#679
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @diego898 on GitHub (Jan 20, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1087
I was trying the instructions outlined here:
https://github.com/ArchiveBox/ArchiveBox/issues/956#issuecomment-1320587158
to setup full text search on my archive of a single link. I split this out into its own issue so as to not derail the other:
@pirate - I had to download the
sonic.cfgthe root directory not thedatafolder.Also, after
down; down; upI trieddocker-compose run archivebox update --index-onlyand got:
I've only indexed a single website so far
@pirate commented on GitHub (Jan 21, 2023):
Interesting, never seen this error before. Can you post your sonic config from
docker-compose.yml. Also the full output ofarchivebox --version.@diego898 commented on GitHub (Jan 21, 2023):
from
docker-compose.yml:and:
@diego898 commented on GitHub (Jan 23, 2023):
The error is different if I place it in the data folder. Also, occasionally I’ll bet a folder at root called sonic.cfg which is very strange
@pirate commented on GitHub (Jan 24, 2023):
folder at root called
sonic.cfgis caused by the file not being where you told docker to look for it, so it creates it as an empty volume and mounts it. Keep it outside the data folder and mount it like you're doing in thedocker-compose.ymlyou posted and it should work. Can you post the contents of yoursonic.cfgfile, maybe it got messed up somehow?@diego898 commented on GitHub (Feb 6, 2023):
This is the file:
@diego898 commented on GitHub (Feb 6, 2023):
and re-runnig after re-downloading the file gives this error:
@pirate commented on GitHub (Feb 6, 2023):
Very strange, your setup is completely standard but it's failing as if sonic is not running.
Lets try checking the sonic container logs, can you post the output of
docker-compose logs sonic?You can also try pinging/telnet the sonic container from the ArchiveBox one to see if it's a network issue:
@diego898 commented on GitHub (Feb 6, 2023):
These are the outputs:
and
@diego898 commented on GitHub (Feb 6, 2023):
Note:
sonic.cfgfile from thedata/directory.docker-compose down; docker-compose down; docker-compose updocker-compose logs sonicand it came back empty (this is good right?)Back on the
upscreen I get:Very strange!
@pirate commented on GitHub (Feb 6, 2023):
Ah ok that seems fine now, looks like it's working. It's possible that the Ecliptik article text extraction had an issue and so Sonic is getting empty text for that URL, but it's working on other URLs as evidenced by the logs after that point.
@diego898 commented on GitHub (Feb 7, 2023):
wow what are the odds that the very first test url I made had a url specific error and it never occurred to me to try others! thank you! closing this for now!