Trilium installation script got 400 error #954

Closed
opened 2026-02-04 22:19:52 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @whatdoyoumeanaboutme on GitHub (May 14, 2025).

Have you read and understood the above guidelines?

yes

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

TriliumNext

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/trilium.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.

A “400” error occurs when installing TriliumNext

🔄 Steps to reproduce the issue.

  1. Ran the script “bash -c ‘$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/trilium.sh)’”
  2. After “LXC Template is ready to use.” I got error 400 from curl

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 1316: 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).

Perhaps the problem I encountered was similar to the one described in this issue: https://github.com/community-scripts/ProxmoxVE/issues/1886

Originally created by @whatdoyoumeanaboutme on GitHub (May 14, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? TriliumNext ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/trilium.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. A “400” error occurs when installing TriliumNext ### 🔄 Steps to reproduce the issue. 1) Ran the script “bash -c ‘$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/trilium.sh)’” 2) After “LXC Template is ready to use.” I got error 400 from curl ### ❌ 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 1316: 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). Perhaps the problem I encountered was similar to the one described in this issue: [https://github.com/community-scripts/ProxmoxVE/issues/1886](https://github.com/community-scripts/ProxmoxVE/issues/1886)
OVERLORD added the bug label 2026-02-04 22:19:52 +03:00
Author
Owner

@whatdoyoumeanaboutme commented on GitHub (May 14, 2025):

@MickLesk

@whatdoyoumeanaboutme commented on GitHub (May 14, 2025): @MickLesk
Author
Owner

@MickLesk commented on GitHub (May 14, 2025):

You got an 400 because you cannot reach GitHub Out of the LXC

Try Default with verbose, maybe your DNS or Adblock Block the call

@MickLesk commented on GitHub (May 14, 2025): You got an 400 because you cannot reach GitHub Out of the LXC Try Default with verbose, maybe your DNS or Adblock Block the call
Author
Owner

@whatdoyoumeanaboutme commented on GitHub (May 14, 2025):

I understand you correctly that this error occurs on my side and has nothing to do with a script error?

You got an 400 because you cannot reach GitHub Out of the LXC

@whatdoyoumeanaboutme commented on GitHub (May 14, 2025): I understand you correctly that this error occurs on my side and has nothing to do with a script error? > You got an 400 because you cannot reach GitHub Out of the LXC
Author
Owner

@whatdoyoumeanaboutme commented on GitHub (May 14, 2025):

From my pve side I can access github and everything is fine.

root@pve-nuc:~# ping -c 4 github.com PING github.com (140.82.121.4) 56(84) bytes of data. 64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=1 ttl=53 time=46.5 ms 64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=2 ttl=53 time=46.3 ms 64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=3 ttl=53 time=47.7 ms 64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=4 ttl=53 time=46.3 ms

root@pve-nuc:~# curl -Is --connect-timeout 5 https://github.com | head -n 1 HTTP/2 200

root@pve-nuc:~# curl -Is --connect-timeout 5 https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh | head -n 1 HTTP/2 200

@whatdoyoumeanaboutme commented on GitHub (May 14, 2025): From my pve side I can access github and everything is fine. `root@pve-nuc:~# ping -c 4 github.com PING github.com (140.82.121.4) 56(84) bytes of data. 64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=1 ttl=53 time=46.5 ms 64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=2 ttl=53 time=46.3 ms 64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=3 ttl=53 time=47.7 ms 64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=4 ttl=53 time=46.3 ms` `root@pve-nuc:~# curl -Is --connect-timeout 5 https://github.com | head -n 1 HTTP/2 200` `root@pve-nuc:~# curl -Is --connect-timeout 5 https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh | head -n 1 HTTP/2 200`
Author
Owner

@whatdoyoumeanaboutme commented on GitHub (May 14, 2025):

Yes, you were right. The problem is on the server side. I apologize for your time.

@whatdoyoumeanaboutme commented on GitHub (May 14, 2025): Yes, you were right. The problem is on the server side. I apologize for your time.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#954