From 57821dd3d7249cbc9e9ad4f59374fd8efa138abf Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 12 Apr 2022 16:57:59 -0400 Subject: [PATCH] Updated Chromium Install (markdown) --- Chromium-Install.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Chromium-Install.md b/Chromium-Install.md index afc0074..9cfb3f9 100644 --- a/Chromium-Install.md +++ b/Chromium-Install.md @@ -66,8 +66,8 @@ You can download old versions of Chrome in order to match it from https://chromi **General steps:** -1. Install desired chromium version in new directory inside your data folder `./data/chromium` on the host (outside Docker) -2. Run [`vncserver`](https://linux.die.net/man/1/vncserver) as `archivebox` user and run chromium in VNC session to generate cookies, then close VNC session ([detailed instructions here](https://forums.raspberrypi.com/viewtopic.php?t=200590)) +1. Install desired Chromium version in new directory `./data/chromium` inside your data folder on the host (outside Docker) +2. Open the Chromium binary directly on the host if possible, or run [`vncserver`](https://linux.die.net/man/1/vncserver) as `archivebox` user and run chromium in VNC session to generate cookies, then close VNC session ([detailed instructions here](https://forums.raspberrypi.com/viewtopic.php?t=200590)) 3. Add the config to `docker-compose.yml` to mount the `./data/chromium` volume and environment variables telling ArchiveBox to use it `docker-compose.yml`: ```yaml @@ -90,11 +90,11 @@ services: docker-compose run --rm archivebox /bin/bash # then inside of docker run these: chown -R archivebox:archivebox /data/chromium/ -chmod -R ugo+rwx ./data/chromium/.config/chromium +chmod -R ugo+rwx /data/chromium ``` -Now profile is now generated and used by same instance of chrome on docker host and container. +The new profile is now generated and used by same instance of Chrome on docker host and container. Each step is crucial, especially the permissions and matching the binary inside of Docker and outside. -More info and troubleshooting steps: https://github.com/ArchiveBox/ArchiveBox/issues/952 +More info and troubleshooting steps: https://github.com/ArchiveBox/ArchiveBox/issues/952 \ No newline at end of file