meilisearch installation script fails on missing directory. #1649

Open
opened 2025-11-20 05:14:12 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @RXWatcher on GitHub (Aug 8, 2025).

Have you read and understood the above guidelines?

Yes

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

Meilisearch

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

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

The Meilisearch installation script fails because it tries to cd into /opt/meilisearch at line 19, but this directory is never created during the installation process.

🔄 Steps to reproduce the issue.

Run the Meilisearch container creation script:
bashbash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/meilisearch.sh)"

The script completes container creation and package installation successfully
The installation script fails with the error below

Paste the full error output (if available).

✔️ Deployed: meilisearch (1.16.0)
Configuring Meilisearch
bash: line 19: cd: /opt/meilisearch: No such file or directory
[ERROR] in line 19: exit code 0: while executing command cd /opt/meilisearch
[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)"

🖼️ Additional context (optional).

Looking at the installation script at https://raw.githubusercontent.com/community-scripts/ProxmoxVE/refs/heads/main/install/meilisearch-install.sh:
Line 16: fetch_and_deploy_gh_release "meilisearch" "meilisearch/meilisearch" "binary"

This function downloads the Meilisearch binary to /usr/bin/meilisearch
It does NOT create the /opt/meilisearch directory

Line 19: cd /opt/meilisearch

This line assumes the directory exists, causing the failure

Originally created by @RXWatcher on GitHub (Aug 8, 2025). ### ✅ Have you read and understood the above guidelines? Yes ### 📜 What is the name of the script you are using? Meilisearch ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/meilisearch.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. The Meilisearch installation script fails because it tries to cd into /opt/meilisearch at line 19, but this directory is never created during the installation process. ### 🔄 Steps to reproduce the issue. Run the Meilisearch container creation script: bashbash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/meilisearch.sh)" The script completes container creation and package installation successfully The installation script fails with the error below ### ❌ Paste the full error output (if available). ✔️ Deployed: meilisearch (1.16.0) ⏳ Configuring Meilisearch bash: line 19: cd: /opt/meilisearch: No such file or directory [ERROR] in line 19: exit code 0: while executing command cd /opt/meilisearch [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)" ### 🖼️ Additional context (optional). Looking at the installation script at https://raw.githubusercontent.com/community-scripts/ProxmoxVE/refs/heads/main/install/meilisearch-install.sh: Line 16: fetch_and_deploy_gh_release "meilisearch" "meilisearch/meilisearch" "binary" This function downloads the Meilisearch binary to /usr/bin/meilisearch It does NOT create the /opt/meilisearch directory Line 19: cd /opt/meilisearch This line assumes the directory exists, causing the failure
saavagebueno added the bug label 2025-11-20 05:14:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1649