Syncthing script failing because it can't access URL #824

Closed
opened 2026-02-04 21:43:58 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @doveman on GitHub (Apr 17, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Syncthing

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/syncthing.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

When I run the command, the install fails because it can't access the URL.

🔄 Steps to reproduce the issue.

Run the command - bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/syncthing.sh)"

Paste the full error output (if available).

✖️ Container creation failed. Checking if template is corrupted.
✖️ Container creation failed, but template is not corrupted.
curl: (22) The requested URL returned error: 400

[ERROR] in line 1336: exit code 0: while executing command bash -c "(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh)" ?

🖼️ Additional context (optional).

If I run 'curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh' it shows the script, so I don't know why the install is saying it can't access that URL.

In the PVE log it shows that the problem is with creating the SSH key with dsa. I believe that option has been removed in PVE but I think I saw a workaround somewhere, so I'll try and find that. The error is:

"Creating SSH host key 'ssh_host_dsa_key' - this may take some time ...
unknown key type dsa

Logical volume "vm-110-disk-0" successfully removed.

TASK ERROR: unable to create CT 110 - command 'ssh-keygen -f /run/pve/.tmp414053.dsa -t dsa -N '' -E sha256 -C root@syncthing' failed: exit code 255

Originally created by @doveman on GitHub (Apr 17, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Syncthing ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/syncthing.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. When I run the command, the install fails because it can't access the URL. ### 🔄 Steps to reproduce the issue. Run the command - bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/syncthing.sh)" ### ❌ Paste the full error output (if available). ✖️ Container creation failed. Checking if template is corrupted. ✖️ Container creation failed, but template is not corrupted. curl: (22) The requested URL returned error: 400 [ERROR] in line 1336: exit code 0: while executing command bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh)" $? ### 🖼️ Additional context (optional). If I run 'curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh' it shows the script, so I don't know why the install is saying it can't access that URL. In the PVE log it shows that the problem is with creating the SSH key with dsa. I believe that option has been removed in PVE but I think I saw a workaround somewhere, so I'll try and find that. The error is: "Creating SSH host key 'ssh_host_dsa_key' - this may take some time ... unknown key type dsa Logical volume "vm-110-disk-0" successfully removed. TASK ERROR: unable to create CT 110 - command 'ssh-keygen -f /run/pve/.tmp414053.dsa -t dsa -N '' -E sha256 -C root@syncthing' failed: exit code 255
OVERLORD added the bug label 2026-02-04 21:43:58 +03:00
Author
Owner

@doveman commented on GitHub (Apr 17, 2025):

I found the fix here. https://forum.proxmox.com/threads/lxc-container-creation-failing-dsa-ssh-key-generation-error.155813/post-721126

After editing /usr/share/perl5/PVE/LXC/Setup/Base.pm and removing the 'dsa => 'ssh_host_dsa_key' line, the Syncthing script works fine.

@doveman commented on GitHub (Apr 17, 2025): I found the fix here. https://forum.proxmox.com/threads/lxc-container-creation-failing-dsa-ssh-key-generation-error.155813/post-721126 After editing /usr/share/perl5/PVE/LXC/Setup/Base.pm and removing the 'dsa => 'ssh_host_dsa_key' line, the Syncthing script works fine.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#824