[GH-ISSUE #6667] meilisearch installation script fails on missing directory. #1412

Closed
opened 2026-02-26 12:48:49 +03:00 by kerem · 1 comment
Owner

Originally created by @RXWatcher on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6667

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). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6667 ### ✅ 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
kerem 2026-02-26 12:48:49 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Aug 8, 2025):

fixed after #6668 merged

<!-- gh-comment-id:3167537657 --> @MickLesk commented on GitHub (Aug 8, 2025): fixed after #6668 merged
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#1412
No description provided.