fonoster: Docker installation not working

Describe the bug When I launch the command in the documentation I receive always the same error:

ERROR: for mediaserver Container "327cdb9899a6" is unhealthy.

docker logs give me this error on the mediaserver container:

[INFO  tini (1)] Spawned child process './routr' with pid '8'
[INFO  tini (1)] Main child exited with signal (with signal 'Terminated')

To Reproduce Steps to reproduce the behavior:

  1. Run the suggested command:
docker run -it --rm \
  -e CONFIG_PATH=$(pwd)/fonoster/config \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  --volume $(pwd)/fonoster:/out:rw \
  fonoster/fonoster
  1. Wait for the error

Expected behavior Application has to start

System information (please complete the following):

  • OS: Ubuntu Server 22.04 on Intel, Mac OSX 12.6 on Apple M1

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 15 (9 by maintainers)

Most upvoted comments

Hi @pezzeonline,

Thanks for taking the time to try Fonoster. We will have someone on the team triaging this issue.

cc: @YuriCodes @efraa

Hello @psanders

I have the same problem. How do I install Fonoster with your branch? If not, how can I get around the problem?

Quick update.

TLDR: Made some progress but it seems that this installer needs a lot more work.

Found few issues with the docker installer.

Addressed the issues in the this branch.

Tested the fixes on Ubuntu @ DigitalOcean and my M1.

After installing I had to stop/start the server due to the MediaServer.

The installation is considerably slower on my M1 (potentially due to QEMU.)

More to follow.

@kymppi we checked an confirm is not an issue with the CPU architecture since Routr runs fine as a standalone service using Docker. We will continue triaging this issue and keep the thread updated.

cc @pezzeonline

Thank you. Actually, as I wrote in the first post, I have the same error on a Intel server with Ubuntu 22.04 LTS

Hello @pezzeonline thank you for reaching out. We are currently working on giving you an accurate solution so you can get back to your project. Thank you for your patience