overleaf / overleaf/toolkit

Sharelatex container fails to execute my_init on Qnap Container Station

Open
#201 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1.3k
Forks
310
Avg merge
3d 12h
Merged PRs (30d)
1

Description

Hi,
I am trying to deploy this application on a QNAP nas, and I was forced to modify a bit the docker compose files as to be able to connect all the services. At first I had to modify the mongo db image because of the ARM version of the processor and then i had to modify the sharelatex container exposed port.

Nonetheless, the sharelatex container still is not able to run. The logs report the following: exec /sbin/my_init: exec format error

and i have no clue on how to solve it. Are you able to help me?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Docker Compose changes described in the issue and the sharelatex container log showing the /sbin/my_init exec format error. Confirm the image architecture against the QNAP ARM processor and determine whether the container can start with a compatible image; done means the sharelatex container runs successfully on Container Station.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.