[GH-ISSUE #602] Bugfix: Docker container fails due to wrong chromium path #3394

Closed
opened 2026-03-14 22:38:16 +03:00 by kerem · 5 comments
Owner

Originally created by @bash-stack on GitHub (Jan 6, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/602

had to execute

docker exec -it archivebox_archivebox_1 "ln -s /usr/bin/chromium /usr/bin/chromium-browser"

Originally created by @bash-stack on GitHub (Jan 6, 2021). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/602 had to execute `docker exec -it archivebox_archivebox_1 "ln -s /usr/bin/chromium /usr/bin/chromium-browser" `
kerem 2026-03-14 22:38:16 +03:00
Author
Owner

@pirate commented on GitHub (Jan 6, 2021):

Can you post the exact error output you saw and the output of running docker run archivebox/archivebox version.

<!-- gh-comment-id:755241369 --> @pirate commented on GitHub (Jan 6, 2021): Can you post the exact error output you saw and the output of running `docker run archivebox/archivebox version`.
Author
Owner

@bash-stack commented on GitHub (Jan 6, 2021):

sorry , i cannot remember exactly , it was the usual message when there is a binary missing in PATH ( Command not found)

( it happened on aarch64 docker version)

√  ARCHIVEBOX_BINARY      /usr/local/bin/archivebox                                                    v0.5.0          valid                                                                                                                 
√  PYTHON_BINARY          /usr/local/bin/python3.9                                                     v3.9.0          valid                                                                                                                 
√  DJANGO_BINARY          /usr/local/lib/python3.9/site-packages/django/bin/django-admin.py            v3.1.3          valid                                                                                                                 
√  CURL_BINARY            /usr/bin/curl                                                                v7.64.0         valid                                                                                                                 
√  WGET_BINARY            /usr/bin/wget                                                                v1.20.1         valid                                                                                                                 
√  NODE_BINARY            /usr/bin/node                                                                v15.3.0         valid                                                                                                                 
√  SINGLEFILE_BINARY      /node/node_modules/single-file/cli/single-file                               v0.1.14         valid                                                                                                                 
√  READABILITY_BINARY     /node/node_modules/readability-extractor/readability-extractor               v0.1.0          valid                                                                                                                 
√  MERCURY_BINARY         /node/node_modules/@postlight/mercury-parser/cli.js                          v1.0.0          valid                                                                                                                 
√  GIT_BINARY             /usr/bin/git                                                                 v2.20.1         valid                                                                                                                 
-  YOUTUBEDL_BINARY       /usr/local/bin/youtube-dl                                                    -               disabled                                                                                                              
√  CHROME_BINARY          /usr/bin/chromium                                                            v83.0.4103.116  valid                
<!-- gh-comment-id:755364796 --> @bash-stack commented on GitHub (Jan 6, 2021): sorry , i cannot remember exactly , it was the usual message when there is a binary missing in PATH ( Command not found) ( it happened on aarch64 docker version) ``` √ ARCHIVEBOX_BINARY /usr/local/bin/archivebox v0.5.0 valid √ PYTHON_BINARY /usr/local/bin/python3.9 v3.9.0 valid √ DJANGO_BINARY /usr/local/lib/python3.9/site-packages/django/bin/django-admin.py v3.1.3 valid √ CURL_BINARY /usr/bin/curl v7.64.0 valid √ WGET_BINARY /usr/bin/wget v1.20.1 valid √ NODE_BINARY /usr/bin/node v15.3.0 valid √ SINGLEFILE_BINARY /node/node_modules/single-file/cli/single-file v0.1.14 valid √ READABILITY_BINARY /node/node_modules/readability-extractor/readability-extractor v0.1.0 valid √ MERCURY_BINARY /node/node_modules/@postlight/mercury-parser/cli.js v1.0.0 valid √ GIT_BINARY /usr/bin/git v2.20.1 valid - YOUTUBEDL_BINARY /usr/local/bin/youtube-dl - disabled √ CHROME_BINARY /usr/bin/chromium v83.0.4103.116 valid ```
Author
Owner

@pirate commented on GitHub (Jan 6, 2021):

We need the command you ran and the exact error output to reproduce it and begin figuring out what caused it. (also don't redact the output of archivebox version, the whole output is important for us to be able to reproduce bug reports)

<!-- gh-comment-id:755457277 --> @pirate commented on GitHub (Jan 6, 2021): We need the command you ran and the exact error output to reproduce it and begin figuring out what caused it. (also don't redact the output of `archivebox version`, the whole output is important for us to be able to reproduce bug reports)
Author
Owner

@bash-stack commented on GitHub (Jan 8, 2021):

it is the following (aarch64) docker container:

archivebox/archivebox latest fed7c56b810d 4 weeks ago 1.08GB

and happened during archivebox add https://yourlink.net

<!-- gh-comment-id:756753026 --> @bash-stack commented on GitHub (Jan 8, 2021): it is the following (aarch64) docker container: `archivebox/archivebox latest fed7c56b810d 4 weeks ago 1.08GB` and happened during `archivebox add https://yourlink.net`
Author
Owner

@pirate commented on GitHub (Jan 8, 2021):

Are you able to reproduce it reliably with the latest version https://github.com/ArchiveBox/ArchiveBox/releases/tag/v0.5.3? If so please post a screenshot or verbatim copy paste of the full log output while it's happening (no redactions).

This is what the full output of archivebox version looks like:
image

It provides a lot of diagnostic info about your setup that makes it much easier to help debug stuff (including certain info that only displays if you have specific runtime setups, e.g. details about your docker env). If you're able to reproduce it on the latest version please also post the verbatim output of archivebox version in your env, we need all this info to continue helping.

<!-- gh-comment-id:756854604 --> @pirate commented on GitHub (Jan 8, 2021): Are you able to reproduce it reliably with the latest version https://github.com/ArchiveBox/ArchiveBox/releases/tag/v0.5.3? If so please post a screenshot or verbatim copy paste of the full log output while it's happening (no redactions). This is what the full output of `archivebox version` looks like: ![image](https://user-images.githubusercontent.com/511499/104040084-383e6900-51a5-11eb-82b6-9c88565805a4.png) It provides a lot of diagnostic info about your setup that makes it much easier to help debug stuff (including certain info that only displays if you have specific runtime setups, e.g. details about your docker env). If you're able to reproduce it on the latest version please also post the verbatim output of `archivebox version` in your env, we need all this info to continue helping.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3394
No description provided.