Skip to content

any-sync-consensusnode:v0.6.8 (prod) broken - wrong syntax for cmd #192

Description

@tobiaskitsune

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

When starting a fresh install with default settings by "make start" the container "any-sync-consensusnode" is not coming up and restarting continuously. The container logs show an error:

/bin/sh: 1: [/bin/any-sync-consensusnode,: not found

This indicates a syntax error in the container:

"Cmd": [
"/bin/sh",
"-c",
"[/bin/any-sync-consensusnode, -c, /etc/any-sync-consensusnode/config.yml]"
],

Expected Behavior

The container should start normally without error.

This can be enforced by overwriting the command in the docker.compose file by adding this code:

entrypoint: ["/bin/any-sync-consensusnode"]
command:
- -c
- /etc/any-sync-consensusnode/config.yml

Steps To Reproduce

Under OpenSUSE Tumbleweed with Docker and Almalinux 10 with Docker

mkdir /var/opt/any-sync-dockercompose
cd /var/opt/any-sync-dockercompose
git clone https://github.com/anyproto/any-sync-dockercompose.git
make start

Environment

- OS: openSUSE and Almalinux
- Version: Tumbleweed / 10
- any-sync-consensusnode:v0.6.8 (prod)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions