Meilisearch: fix wrong path switch (#6668)
This commit is contained in:
parent
575ad61c93
commit
9c37ac385c
@ -24,10 +24,6 @@ function update_script() {
|
|||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
|
|
||||||
if [[ ! -d /opt/meilisearch ]]; then
|
|
||||||
msg_error "No Meilisearch Installation Found!"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "Meilisearch Update" --radiolist --cancel-button Exit-Script "Spacebar = Select" 10 58 2 \
|
UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "Meilisearch Update" --radiolist --cancel-button Exit-Script "Spacebar = Select" 10 58 2 \
|
||||||
"1" "Update Meilisearch" ON \
|
"1" "Update Meilisearch" ON \
|
||||||
"2" "Update Meilisearch-UI" OFF \
|
"2" "Update Meilisearch-UI" OFF \
|
||||||
|
@ -16,7 +16,6 @@ update_os
|
|||||||
fetch_and_deploy_gh_release "meilisearch" "meilisearch/meilisearch" "binary"
|
fetch_and_deploy_gh_release "meilisearch" "meilisearch/meilisearch" "binary"
|
||||||
|
|
||||||
msg_info "Configuring ${APPLICATION}"
|
msg_info "Configuring ${APPLICATION}"
|
||||||
cd /opt/meilisearch
|
|
||||||
curl -fsSL https://raw.githubusercontent.com/meilisearch/meilisearch/latest/config.toml -o /etc/meilisearch.toml
|
curl -fsSL https://raw.githubusercontent.com/meilisearch/meilisearch/latest/config.toml -o /etc/meilisearch.toml
|
||||||
MASTER_KEY=$(openssl rand -base64 12)
|
MASTER_KEY=$(openssl rand -base64 12)
|
||||||
LOCAL_IP="$(hostname -I | awk '{print $1}')"
|
LOCAL_IP="$(hostname -I | awk '{print $1}')"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user