Self-hosting install is broken

My self-hosted VM got corrupted (vmware issue; not the e package’s fault) and I figured there’s nothing there that’s not on my phone so I’ll just rebuild the VM.

Not the right choice.

Apparently the self-hosted kit’s installer uses salt, and the salt install process is completely changed since December they changed all their hosting over to broadcom domain names.

Manoj is helping me get access to gitlab to open an issue report, but that’s delayed by some issue with Murena’s system so I’m posting here.

Can someone please fix the self-hosted installer? :slight_smile:

Hi,

Sorry for the delay…

Just after the git clone, replace the content of /mnt/repo-base/scripts/bootstrap.sh with the following:

#!/bin/bash

# Install latest salt repo for ubuntu / debian from salt repo
# Ensure keyrings dir exists
mkdir -p /etc/apt/keyrings
# Download public key
curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | sudo tee /etc/apt/keyrings/salt-archive-keyring.pgp
# Create apt repo target configuration
curl -fsSL https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.sources | sudo tee /etc/apt/sources.list.d/salt.sources

################################################################################
apt-get update
echo 'Package: salt-*
Pin: version 3006.*
Pin-Priority: 1001' | tee /etc/apt/preferences.d/salt-pin-1001
apt-get update && apt install -y --asume-yes true git salt-minion
################################################################################

# Init salt-minion (masterless)
cp /mnt/repo-base/deployment/salt/init-config/masterless.conf /etc/salt/minion.d/

# Run repo init (might run a few minutes)
echo "System update and packages installation .."
salt-call state.apply docker-compose

# init repo
bash /mnt/repo-base/scripts/init-repo.sh $ENVIRONMENT

Then proceed with the next instructions from install guide (cd then bash).

Tested OK on a Hetzner VPS with (/etc/lsb-release):

DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.2 LTS"

Reference documentation: Linux (DEB) - Salt install guide


Please don’t forget to refresh DNS records for email, as suggested at the end of installation by the script.

2 Likes