60 lines
1.5 KiB
Markdown
60 lines
1.5 KiB
Markdown
# Restart Distribuzione NetGescon
|
|
|
|
Snapshot operativo per riprendere lavoro su distribuzione/update quando la chat viene chiusa o riavviata.
|
|
|
|
## Stato Ultimo Aggiornamento
|
|
|
|
Data: 10-03-2026
|
|
|
|
Completato:
|
|
|
|
1. Comando update client: `php artisan netgescon:update`
|
|
2. Endpoint update server: manifest/package (`/api/v1/distribution/updates/*`)
|
|
3. Config distribuzione: `config/distribution.php`
|
|
4. Script baseline e publish manifest:
|
|
- `scripts/ops/netgescon-baseline-freeze.sh`
|
|
- `scripts/ops/netgescon-publish-manifest.sh`
|
|
5. Stack Git machine:
|
|
- `scripts/ops/git-stack/docker-compose.yml`
|
|
- `scripts/ops/git-stack/.env.example`
|
|
6. Runbook remoto principale:
|
|
- `docs/RUNBOOK-DISTRIBUZIONE-REMOTA-NETGESCON.md`
|
|
|
|
## Primo Blocco Comandi Da Lanciare
|
|
|
|
```bash
|
|
cd /home/michele/netgescon/netgescon-laravel
|
|
php artisan list | head -n 40
|
|
php artisan list | grep -E "netgescon:update|distribution|gescon:|import:" | head -n 80
|
|
```
|
|
|
|
Se questi comandi non rispondono, risolvere prima eventuali errori PHP/sintassi nel progetto.
|
|
|
|
## Sequenza Ripartenza Consigliata
|
|
|
|
1. Leggi `docs/RUNBOOK-DISTRIBUZIONE-REMOTA-NETGESCON.md`
|
|
2. Verifica endpoint update:
|
|
|
|
```bash
|
|
curl -sS "https://updates.netgescon.it/api/v1/distribution/updates/manifest?channel=free" | jq
|
|
```
|
|
|
|
1. Verifica staging:
|
|
|
|
```bash
|
|
curl -I -sS "https://staging.netgescon.it/fornitore/tickets?fornitore=1"
|
|
```
|
|
|
|
1. Esegui check update su staging:
|
|
|
|
```bash
|
|
cd /var/www/netgescon
|
|
php artisan netgescon:update --channel=free
|
|
```
|
|
|
|
1. Se ok, applica:
|
|
|
|
```bash
|
|
php artisan netgescon:update --channel=free --apply
|
|
```
|