Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ID for Syncthing not being set #72

Open
tdruiva opened this issue Jul 12, 2024 · 2 comments
Open

ID for Syncthing not being set #72

tdruiva opened this issue Jul 12, 2024 · 2 comments
Labels
Bug fix bug Something isn't working high priority portal Belongs to edt-offline-portal

Comments

@tdruiva
Copy link

tdruiva commented Jul 12, 2024

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

@tdruiva tdruiva added the bug Something isn't working label Jul 12, 2024
@maige-app maige-app bot added high priority portal Belongs to edt-offline-portal Bug fix labels Jul 12, 2024
Copy link

maige-app bot commented Jul 12, 2024

Suggested Solution:

Modify the Dockerfile to copy the 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/

Refer to the LinuxServer documentation for more details.

From Maige. How's my driving?

Copy link

maige-app bot commented Jul 12, 2024

Engineer dispatched. See details on the Maige dashboard.

Name Status Message Updated (UTC)
Fix Syncthing ID replacement issue 🟡 Pending (inspect) Jul 12, 2024, 12:23 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug fix bug Something isn't working high priority portal Belongs to edt-offline-portal
Projects
None yet
Development

No branches or pull requests

1 participant