Run the installer again
Paste the same command again: it resumes where it stopped and repairs what is missing, without losing data or changing keys.
curl -fsSL https://argunis.com/instalar.sh | sudo bash
Argunis/On-premise/Install
One command installs Docker, Portainer and Argunis, and at the end shows you the addresses and passwords.
A server (physical or virtual) dedicated to Argunis. The installer checks all of this before starting and tells you what is missing.
api.argunis.com, ws.argunis.com, argunis.com, ghcr.io and registry-1.docker.io (software), and registry.ollama.ai (AI model, the first time).sudo) and a way to connect by SSH or through the virtual machine console.You do not need to know Docker. It takes 15 to 40 minutes depending on your connection. Current release:
Fill in the form and confirm your email. You will see your JTRL-… key once and it also arrives by email: keep it, you will use it in step 4.
Open a terminal (Windows: PowerShell; Mac and Linux: Terminal) and type this command, replacing usuario with your server user and 192.168.1.50 with its IP.
The first time it asks whether you trust the server: type yes and press Enter.
Paste it in the server terminal and press Enter. It will ask for your administrator password.
curl -fsSL https://argunis.com/instalar.sh | sudo bash
curl -fsSL https://argunis.com/instalar.sh | sudo bash -s -- --probar
At the end you will see the Argunis address and the Portainer user and password. Write the password down: it is shown only once (it stays in /opt/argunis/acceso.txt, administrators only).
In your browser open https:// and the server IP, for example https://192.168.1.50. The browser will warn about a non-private connection because Argunis uses your server’s own certificate:
Paste your JTRL-… key and fill in your company details, email (SMTP) and your administrator user with its second factor (MFA).
Open https://192.168.1.50:9443 and sign in with the user admin and the password the installer showed. In Stacks → argunis-onpremise you see each service, its logs and can restart them.
Paste the same command again: it resumes where it stopped and repairs what is missing, without losing data or changing keys.
curl -fsSL https://argunis.com/instalar.sh | sudo bash
In Portainer or in the terminal. Postgres and ClickHouse stay “waiting” until you activate the key: this is normal.
sudo docker ps --format "table {{.Names}}\t{{.Status}}"Addresses, Portainer user and password, and the installation log:
sudo cat /opt/argunis/acceso.txt
sudo tail -n 50 /opt/argunis/instalador.log
When we announce a new release, keep your data and keys:
curl -fsSL https://argunis.com/instalar.sh | sudo bash -s -- --actualizar
/opt/argunis/tls/tls.crt and tls.key (owner 101) and restart the web service in Portainer./opt/argunis/instalador.log.Each file with its SHA-256 so you can verify it. Images are pinned by digest in docker-compose.yml. Releases
Loading the current release…
| File | Purpose | SHA-256 |
|---|
To review the installer before running it: download it, compare its SHA-256 with the table and run it.
curl -fsSLO https://argunis.com/instalar.sh && sha256sum instalar.sh
sudo bash instalar.sh
For teams that already run Docker and Portainer. Otherwise, use the installer above: it does all of this on its own.
Encrypted-disk modules, /opt/argunis folders, shared mount and the seccomp profile of the test browser:
sudo modprobe loop dm_crypt && printf "loop\ndm_crypt\n" | sudo tee /etc/modules-load.d/argunis.conf sudo mkdir -p /opt/argunis/secure /opt/argunis/vault-state /opt/argunis/vault-data /opt/argunis/seccomp /opt/argunis/tls sudo install -d -o 1000 -g 1000 /opt/argunis/control && sudo chmod 700 /opt/argunis/vault-state /opt/argunis/vault-data echo "/opt/argunis/secure /opt/argunis/secure none bind,rshared 0 0" | sudo tee -a /etc/fstab && sudo mount /opt/argunis/secure sudo curl -fsSL -o /opt/argunis/seccomp/chromium.json https://argunis.com/descargas/VERSION/chromium.json
Self-signed (or copy yours as tls.crt and tls.key):
IP=192.168.1.50 # la IP de tu servidor sudo openssl req -x509 -newkey rsa:2048 -nodes -days 825 -subj "/CN=$IP" -addext "subjectAltName=IP:$IP" \ -keyout /opt/argunis/tls/tls.key -out /opt/argunis/tls/tls.crt && sudo chown 101:101 /opt/argunis/tls/tls.key /opt/argunis/tls/tls.crt
The same installer generates every key without installing anything. Keep a copy outside the server: without those keys the data cannot be opened.
curl -fsSL https://argunis.com/instalar.sh | bash -s -- --solo-generar-env argunis.env
Stacks → Add stack, name argunis-onpremise: paste the release docker-compose.yml and, in Environment variables → Advanced mode, the content of argunis.env.