[PR #6773] [MERGED] fix alpine syncthing config not being created #6374

Closed
opened 2026-02-26 15:31:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/6773
Author: @GamerHun1238
Created: 8/12/2025
Status: Merged
Merged: 8/12/2025
Merged by: @michelroegl-brunner

Base: mainHead: patch-1


📝 Commits (2)

  • 97fcc79 fix alpine syncthing config not being created
  • c8cf848 remove comment in alpine syncthing install script

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 install/alpine-syncthing-install.sh (+3 -0)

📄 Description

✍️ Description

starts the syncthing service and stops it to create the default config which the script requires

sed: /var/lib/syncthing/.local/state/syncthing/config.xml: No such file or directory

[ERROR] in line 18: exit code 1: while executing command sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /var/lib/syncthing/.local/state/syncthing/config.xml


[ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)

fix on the lxc with the failed install:

alpine-syncthing:~# cat /var/lib/syncthing/.local/state/syncthing/config.xml
cat: can't open '/var/lib/syncthing/.local/state/syncthing/config.xml': No such file or directory
alpine-syncthing:~# rc-service syncthing start
 * Caching service dependencies ... [ ok ]
 * Starting syncthing ... [ ok ]
alpine-syncthing:~# ls /var/lib/syncthing/.local/state/syncthing/config.xml
/var/lib/syncthing/.local/state/syncthing/config.xml

Link: #6723

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/6773 **Author:** [@GamerHun1238](https://github.com/GamerHun1238) **Created:** 8/12/2025 **Status:** ✅ Merged **Merged:** 8/12/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`97fcc79`](https://github.com/community-scripts/ProxmoxVE/commit/97fcc7983725f78f1127d91febfe6529f1496523) fix alpine syncthing config not being created - [`c8cf848`](https://github.com/community-scripts/ProxmoxVE/commit/c8cf84825fb099283faaa800d02b9e6cf8575e38) remove comment in alpine syncthing install script ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `install/alpine-syncthing-install.sh` (+3 -0) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description starts the syncthing service and stops it to create the default config which the script requires ``` sed: /var/lib/syncthing/.local/state/syncthing/config.xml: No such file or directory [ERROR] in line 18: exit code 1: while executing command sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /var/lib/syncthing/.local/state/syncthing/config.xml [ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh) ``` fix on the lxc with the failed install: ``` alpine-syncthing:~# cat /var/lib/syncthing/.local/state/syncthing/config.xml cat: can't open '/var/lib/syncthing/.local/state/syncthing/config.xml': No such file or directory alpine-syncthing:~# rc-service syncthing start * Caching service dependencies ... [ ok ] * Starting syncthing ... [ ok ] alpine-syncthing:~# ls /var/lib/syncthing/.local/state/syncthing/config.xml /var/lib/syncthing/.local/state/syncthing/config.xml ``` ## 🔗 Related PR / Issue Link: #6723 ## ✅ Prerequisites (**X** in brackets) - [X] **Self-review completed** – Code follows project standards. - [X] **Tested thoroughly** – Changes work as expected. - [X] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [X] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [ ] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 15:31:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#6374
No description provided.