Skip to content

ID for Syncthing not being set  #72

Open
@tdruiva

Description

@tdruiva

Describe the bug
When you start a new device, Syncthing container should run a script to replace some variables like #ID_PRINCIPAL by SYNC_ID_PRINCIPAL env value but it is not happening.

To Reproduce
Steps to reproduce the behavior:

  1. Burn new SD card with BalenaOS
  2. Put it in a Rasp and connect it to a router
  3. Wait to be online
  4. Check for sync logs

Expected behavior
Is expected when you initialize Sync container, its config file should has folders' IDs from where it should sync

Device Type:
Raspberry Pi 4

Possible Solution
Modify Dockerfile, to copy script inside of /custom-cont-init.d/ instead of /etc/cont-init.d/

- COPY cont-init.d/ /etc/cont-init.d/
+ COPY cont-init.d/ /custom-cont-init.d/

Check LinuxServer documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions