mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1009] Question: binary path in config #3652
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#3652
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 @Dontkickmi22 on GitHub (Aug 4, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1009
Hi, first post (this is how much I want it back)
Short version:
Can anyone please give me a pointer about where exactly is
./node_modules/single-file/cli/single-file?I need to specify them in my conf file.
Thank you
Long version:
Pi 4, docker installaion, ran fine for the past weeks, just broke on me out of the blue.
Snapshot quickly stopped at 6MB (that particular page from my experience should be way less than 6MB).
Error log says unable to install chromium thru playwright.
I decided to skip docker and install on host (not gonna T-shoot that).
Did init, updated node.js, setup. Output of archivebox version below looks fine.
But when trying to snapshot again, I got chromium
Errno 2, singlefile Errno 2, and readability Errno 2 , and mercury Errno 2.So I looked up the chromium binary location from archivebox version output and added below in ArchiveBox.conf
CHROME_BINARY = /usr/bin/chromium-browserThat fixed the chromium Errno 2. That was easy.
So I go ahead and did the same to singlefile, readability, and mercury in ArchiveBox.conf
Error stays. Pointer please~!
Thank you
@pirate commented on GitHub (Aug 4, 2022):
Set it to the absolute path of
./node_modules/@postlight/mercury-parser/cli.jsnot the relative one.e.g.
/Users/yourusername/archivebox/node_modules/@postlight/mercury-parser/cli.js@Dontkickmi22 commented on GitHub (Aug 5, 2022):
Hi pirate,
Appreciate your input.
Short version, how can I reinstall those three programs? I mean uninstall, and reinstall?
Thank you
Long version,
a quick find returns those directories are only installed deep beneath under /var/lib/docker/overlay/...
However, I did the installation again under user pi with apt install archivebox.
So I decided the quickest way to finish this for me would be to reinstall these 3 functions, I ran :
Returns:
Above mentioned log:
Thank you
@pirate commented on GitHub (Aug 5, 2022):
if you're running in docker you shouldnt need to mess with or install those 3 manually, but outside of docker to fix it you should just need to run
archivebox init --setupand it will do thenpm installfor you.@Dontkickmi22 commented on GitHub (Aug 5, 2022):
Thank you.
Yea, I was running in docker, but now I am ditching it.
I did go thru the installation process for running host (on the same host) though.
Your command did took care of those 3 programs for me by reinstalling them automatically.
That was very nice.
But now when use firefox extension to archive, console returns
By the looks of it, I believe it is saying the host is missing add function?
So , on the host console, I typed
Console reacts normal, it just went do it's thing and completed the process soon after.
Went and check WebUI, there shows a new entry with content.
It's just the extension not functioning, hmmm
@Dontkickmi22 commented on GitHub (Aug 7, 2022):
By the way, I get server error 500 when trying to delete snapshot.
Output below seems fine, I'm not suppose to find that directory and delete it manually, right?
I wonder if I should open a ticket?
p.s. Sever Error 500 thru webUI add / delete. I will probably reinstall at a later date, for the moment I have zero issue perform thru console commands. Cheers~
@pirate commented on GitHub (Aug 9, 2022):
Please screenshot your extension configuration. I suspect you did not enter the archivebox host correctly / at all as it's empty according to the outputed error above.
@Dontkickmi22 commented on GitHub (Aug 9, 2022):
Here's the shot.
I found out I can remove snapshot in console with command archivebox remove. It's the webui giving me server error 500.