Element Synapse install script fails due to typo in cd command #858

Closed
opened 2026-02-04 21:56:00 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @thegeorgeliu on GitHub (Apr 26, 2025).

Have you read and understood the above guidelines?

yes

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

Element Synapse

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/elementsynapse.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 attempting to install Element Synapse, the Synapse Admin portion of the script encounters an error and fails.

Looking at lines 63-67 of elementsynapse-install.sh:

mkdir -p /opt/synapse-admin
RELEASE=$(curl -fsSL https://api.github.com/repos/etkecc/synapse-admin/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSL "https://github.com/etkecc/synapse-admin/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file"
tar xzf "$temp_file" -C /opt/synapse-admin --strip-components=1
cd /opt/synapse-adminsys

The cd command should be to /opt/synapse-admin instead of cd /opt/synapse-adminsys

🔄 Steps to reproduce the issue.

This issue can be reliably reproduced by running the install script on the Proxmox VE shell.

Paste the full error output (if available).

line 67: cd: /opt/synapse-adminsys: No such file or directory
[ERROR] in line 67: exit code 0: while executing command cd /opt/synapse-adminsys

🖼️ Additional context (optional).

No response

Originally created by @thegeorgeliu on GitHub (Apr 26, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Element Synapse ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/elementsynapse.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. When attempting to install Element Synapse, the Synapse Admin portion of the script encounters an error and fails. Looking at lines 63-67 of `elementsynapse-install.sh`: ```sh mkdir -p /opt/synapse-admin RELEASE=$(curl -fsSL https://api.github.com/repos/etkecc/synapse-admin/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') curl -fsSL "https://github.com/etkecc/synapse-admin/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file" tar xzf "$temp_file" -C /opt/synapse-admin --strip-components=1 cd /opt/synapse-adminsys ``` The `cd` command should be to `/opt/synapse-admin` instead of `cd /opt/synapse-adminsys` ### 🔄 Steps to reproduce the issue. This issue can be reliably reproduced by running the install script on the Proxmox VE shell. ### ❌ Paste the full error output (if available). ```sh line 67: cd: /opt/synapse-adminsys: No such file or directory [ERROR] in line 67: exit code 0: while executing command cd /opt/synapse-adminsys ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 21:56:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#858