[GH-ISSUE #1290] Bug: /browsers folder inside v0.7.1 Docker container not accessible during compose init setup #3815

Closed
opened 2026-03-15 00:33:02 +03:00 by kerem · 2 comments
Owner

Originally created by @Gobbless on GitHub (Dec 17, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1290

I was reading the following:

          The browsers folder should not require binding and has no relation to the /data folder, it's entirely internal to the container and is not meant to be exposed to users at all.

Do you mind opening a new issue @hafx and posting the full output of archivebox version?

Originally posted by @pirate in https://github.com/ArchiveBox/ArchiveBox/issues/1277#issuecomment-1857296754

And it describes an issue I am also having with my installation of archivebox. The following message occurs after executing

docker compose run archivebox init --setup

on the current version of the compose file found at:
https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/dev/docker-compose.yml

While I haven't proceeded to actually try and use archivebox after encountering this, it sounds as though this issue would break my installation anyway as the browsers directory is an internal directory to the container needed for archiving pages correctly. Here is the full output of archivebox version as requested in the issue for the other github user.

docker compose run archivebox version

chown: cannot access '/browsers/*': No such file or directory
0.7.1+editable
ArchiveBox v0.7.1+editable Cpython Linux Linux-5.15.0-91-generic-x86_64-with-glibc2.36 x86_64
DEBUG=False IN_DOCKER=True IN_QEMU=False IS_TTY=True TZ=UTC FS_ATOMIC=True FS_REMOTE=True FS_USER=0:0 FS_PERMS=644 SEARCH_BACKEND=ripgrep

[i] Dependency versions:
 √  PYTHON_BINARY         v3.11.6         valid     /usr/local/bin/python3.11                     
 √  SQLITE_BINARY         v2.6.0          valid     /usr/local/lib/python3.11/sqlite3/dbapi2.py   
 √  DJANGO_BINARY         v3.1.14         valid     /usr/local/lib/python3.11/site-packages/django/__init__.py
 √  ARCHIVEBOX_BINARY     v0.7.1          valid     /usr/local/bin/archivebox                     

 √  CURL_BINARY           v8.4.0          valid     /usr/bin/curl                                 
 √  WGET_BINARY           v1.21.3         valid     /usr/bin/wget                                 
 √  NODE_BINARY           v21.1.0         valid     /usr/bin/node                                 
 √  SINGLEFILE_BINARY     v1.1.18         valid     /app/node_modules/single-file-cli/single-file 
 √  READABILITY_BINARY    v0.0.9          valid     /app/node_modules/readability-extractor/readability-extractor
 √  MERCURY_BINARY        v1.0.0          valid     /app/node_modules/@postlight/parser/cli.js    
 √  GIT_BINARY            v2.39.2         valid     /usr/bin/git                                  
 √  YOUTUBEDL_BINARY      v2023.10.13     valid     /usr/local/bin/yt-dlp                         
 √  CHROME_BINARY         v119.0.6045.9   valid     /usr/bin/chromium-browser                     
 √  RIPGREP_BINARY        v13.0.0         valid     /usr/bin/rg                                   

[i] Source-code locations:
 √  PACKAGE_DIR           24 files        valid     /app/archivebox                               
 √  TEMPLATES_DIR         4 files         valid     /app/archivebox/templates                     
 -  CUSTOM_TEMPLATES_DIR  -               disabled  None                                          

[i] Secrets locations:
 -  CHROME_USER_DATA_DIR  -               disabled  None                                          
 -  COOKIES_FILE          -               disabled  None                                          

[i] Data locations:
 √  OUTPUT_DIR            5 files @       valid     /data                                         
 √  SOURCES_DIR           0 files         valid     ./sources                                     
 √  LOGS_DIR              1 files         valid     ./logs                                        
 √  ARCHIVE_DIR           0 files         valid     ./archive                                     
 √  CONFIG_FILE           81.0 Bytes      valid     ./ArchiveBox.conf                             
 √  SQL_INDEX             0.0 Bytes       valid     ./index.sqlite3   
Originally created by @Gobbless on GitHub (Dec 17, 2023). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1290 I was reading the following: The browsers folder should not require binding and has no relation to the /data folder, it's entirely internal to the container and is not meant to be exposed to users at all. Do you mind opening a new issue @hafx and posting the full output of `archivebox version`? _Originally posted by @pirate in https://github.com/ArchiveBox/ArchiveBox/issues/1277#issuecomment-1857296754_ And it describes an issue I am also having with my installation of archivebox. The following message occurs after executing `docker compose run archivebox init --setup` on the current version of the compose file found at: https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/dev/docker-compose.yml While I haven't proceeded to actually try and use archivebox after encountering this, it sounds as though this issue would break my installation anyway as the browsers directory is an internal directory to the container needed for archiving pages correctly. Here is the full output of archivebox version as requested in the issue for the other github user. ``` docker compose run archivebox version chown: cannot access '/browsers/*': No such file or directory 0.7.1+editable ArchiveBox v0.7.1+editable Cpython Linux Linux-5.15.0-91-generic-x86_64-with-glibc2.36 x86_64 DEBUG=False IN_DOCKER=True IN_QEMU=False IS_TTY=True TZ=UTC FS_ATOMIC=True FS_REMOTE=True FS_USER=0:0 FS_PERMS=644 SEARCH_BACKEND=ripgrep [i] Dependency versions: √ PYTHON_BINARY v3.11.6 valid /usr/local/bin/python3.11 √ SQLITE_BINARY v2.6.0 valid /usr/local/lib/python3.11/sqlite3/dbapi2.py √ DJANGO_BINARY v3.1.14 valid /usr/local/lib/python3.11/site-packages/django/__init__.py √ ARCHIVEBOX_BINARY v0.7.1 valid /usr/local/bin/archivebox √ CURL_BINARY v8.4.0 valid /usr/bin/curl √ WGET_BINARY v1.21.3 valid /usr/bin/wget √ NODE_BINARY v21.1.0 valid /usr/bin/node √ SINGLEFILE_BINARY v1.1.18 valid /app/node_modules/single-file-cli/single-file √ READABILITY_BINARY v0.0.9 valid /app/node_modules/readability-extractor/readability-extractor √ MERCURY_BINARY v1.0.0 valid /app/node_modules/@postlight/parser/cli.js √ GIT_BINARY v2.39.2 valid /usr/bin/git √ YOUTUBEDL_BINARY v2023.10.13 valid /usr/local/bin/yt-dlp √ CHROME_BINARY v119.0.6045.9 valid /usr/bin/chromium-browser √ RIPGREP_BINARY v13.0.0 valid /usr/bin/rg [i] Source-code locations: √ PACKAGE_DIR 24 files valid /app/archivebox √ TEMPLATES_DIR 4 files valid /app/archivebox/templates - CUSTOM_TEMPLATES_DIR - disabled None [i] Secrets locations: - CHROME_USER_DATA_DIR - disabled None - COOKIES_FILE - disabled None [i] Data locations: √ OUTPUT_DIR 5 files @ valid /data √ SOURCES_DIR 0 files valid ./sources √ LOGS_DIR 1 files valid ./logs √ ARCHIVE_DIR 0 files valid ./archive √ CONFIG_FILE 81.0 Bytes valid ./ArchiveBox.conf √ SQL_INDEX 0.0 Bytes valid ./index.sqlite3 ```
kerem closed this issue 2026-03-15 00:33:07 +03:00
Author
Owner

@pirate commented on GitHub (Dec 18, 2023):

This should be fixed now on :dev https://github.com/ArchiveBox/ArchiveBox#install-and-run-a-specific-github-branch

pull the latest version with docker compose pull and re-run, comment back here if you have any issues and I'll reopen the ticket.

<!-- gh-comment-id:1859619194 --> @pirate commented on GitHub (Dec 18, 2023): This should be fixed now on `:dev` https://github.com/ArchiveBox/ArchiveBox#install-and-run-a-specific-github-branch pull the latest version with `docker compose pull` and re-run, comment back here if you have any issues and I'll reopen the ticket.
Author
Owner

@ZeroPing01 commented on GitHub (Dec 18, 2023):

I confirm, it is fixed. Thanks!

<!-- gh-comment-id:1860730016 --> @ZeroPing01 commented on GitHub (Dec 18, 2023): I confirm, it is fixed. Thanks!
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#3815
No description provided.