Skip to content

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

@thegeorgeliu

Description

@thegeorgeliu

βœ… 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions