Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -537,11 +537,12 @@ start_new_version_standalone() {
msg_info "This may take 2-5 minutes (pulling images, starting containers)..."

if [[ "$DOCKER_COMPOSE_CMD" == "docker compose" ]]; then
docker compose --env-file .env-bitoarch up -d > "$LOG_FILE" 2>&1 &
docker compose --env-file .env-bitoarch up -d --pull always > "$LOG_FILE" 2>&1 &
else
set -a
source .env-bitoarch
set +a
$DOCKER_COMPOSE_CMD pull >> "$LOG_FILE" 2>&1 || true
$DOCKER_COMPOSE_CMD up -d > "$LOG_FILE" 2>&1 &
fi

Expand Down Expand Up @@ -722,7 +723,7 @@ main() {
if [[ "$TARGET_VERSION" == "latest" ]]; then
download_url="${DOWNLOAD_BASE_URL}/latest/bito-ai-architect-latest.tar.gz"
else
download_url="${DOWNLOAD_BASE_URL}/versions/${TARGET_VERSION}/bito-ai-architect-${TARGET_VERSION}.tar.gz"
download_url="${DOWNLOAD_BASE_URL}/${TARGET_VERSION}/bito-ai-architect-${TARGET_VERSION}.tar.gz"
fi
tarball_path=$(download_package "$version_name" "$download_url")
fi
Expand Down