question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker build fails on Synology NAS

See original GitHub issue

Hi there, I was playing around with ArchiveBox yesterday and I tried to install it on my Synology NAS on DSM 6.2.1-23824 Update 4 through docker-compose up -d. Unfortunately this didn’t work out and the build process stopped with this error message:

...
Setting up libgtk2.0-common (2.24.31-2) ...
Setting up fonts-ipafont-gothic (00303-16) ...
update-alternatives: using /usr/share/fonts/opentype/ipafont-gothic/ipag.ttf to provide /usr/share/fonts/truetype/fonts-japanese-gothic.ttf (fonts-japanese-gothic.ttf) in auto mode
Processing triggers for mime-support (3.60) ...
Setting up fonts-tlwg-laksaman-ttf (1:0.6.3-1) ...
Setting up fonts-tlwg-typewriter-ttf (1:0.6.3-1) ...
Setting up libjbig0:amd64 (2.1-3.1+b2) ...
ERROR: Service 'archivebox' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y curl --no-install-recommends     && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -     && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'     && apt-get update     && apt-get install -y chromium fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont       --no-install-recommends     && rm -rf /var/lib/apt/lists/*     && rm -rf /src/*.deb     && ln -s /usr/bin/chromium /usr/bin/chromium-browser' returned a non-zero code: 137
root@NASi:/volume1/docker/archivbox/ArchiveBox-master#

This seems to be related to the Chromium download / install. Is this something that can be fixed easily by myself or would this require a change to the docker file?

Thanks for this great project, by the way, I really like it. Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
piratecommented, Jan 23, 2019

Actually nvm, I think I fixed it, give master a try now. See e1be96e.

docker-compose up -d

echo 'https://example.com' | docker-compose exec -T archivebox /bin/archive
0reactions
piratecommented, Jan 25, 2019

Glad to hear you got it working!

I’ll add a note to the docs about creating that data/ folder beforehand, and I’ll see if I can fix the ability to add a single url via stdin.

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker build error on Synology NAS fails with "Please give the ...
I'm trying to build ant media server using Docker CLI on my Synology RS814+ using the instructions here. Here are my steps:.
Read more >
Docker Container Crashes immediatly on Synology NAS #69
I've installed this docker container and it crashes immediatly. Network mode: Hostnetwork. The Log says: chpasswd: (user root) pam_chauthtok() ...
Read more >
How do I debug and fix common Docker container issues?
Go to the Log page of the Docker package and check if there are any container start failure logs. For example, a container...
Read more >
How to use Docker on a Synology NAS in 2022 - WunderTech
This tutorial will show how to use Docker on a Synology NAS! Full instructions that will explain everything you need to know!
Read more >
Visual Editors fail on new mediawiki installs (on Synology NAS)
So I loaded Docker for Synology and tried to download and install the docker build for mediawiki using mariadb using both the official...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found