36 lines
1.8 KiB
Plaintext
36 lines
1.8 KiB
Plaintext
AssetManager 0.5.5.5 - kumulatives Update ab 0.5.5.0
|
|
|
|
Enthaltene Korrekturen aus 0.5.5.1 bis 0.5.5.5:
|
|
- PowerShell-Dateijobs starten über Windows-Eingabeaufforderung mit:
|
|
powershell -ExecutionPolicy Bypass -File "C:\ProgramData\AssetManager\Jobs\<Job-ID>-<Versuch>\run.ps1"
|
|
- Für diesen Start wird MeshCtrl NICHT mit --powershell aufgerufen.
|
|
- Diagnoseprotokoll zeigt Shell, exakten Startbefehl und MeshCtrl-PowerShell-Modus.
|
|
- Vor dem Upload wird eine eventuell vorhandene Zieldatei entfernt.
|
|
- Fehlgeschlagene Uploads werden einmal erneut versucht und vollständig protokolliert.
|
|
- Merge von MeshCentral-Asset in ein bestehendes importiertes Asset gibt mesh_node_id zuerst frei.
|
|
- Merge-Fehler werden auf /assets als Toast angezeigt; keine Redirect-Schleife mehr.
|
|
- VERSION und app/version.py sind beide auf 0.5.5.5 gesetzt.
|
|
- Dockerfile kopiert VERSION in das Image.
|
|
|
|
Paketstruktur:
|
|
Die Dateien liegen direkt im ZIP-Stamm. Es gibt keinen zusätzlichen Ordner
|
|
"assetmanager" und keinen Ordner mit Versionsnummer.
|
|
|
|
Installation:
|
|
cd /srv/docker/assetmanager
|
|
unzip -o /pfad/assetmanager-v0.5.5.5-cumulative-root.zip -d /srv/docker/assetmanager
|
|
cat VERSION
|
|
grep APP_VERSION app/version.py
|
|
grep -n "powershell -ExecutionPolicy Bypass -File" app/software_control.py
|
|
docker compose build --no-cache app
|
|
docker compose up -d --force-recreate app
|
|
|
|
Nach dem Start im Container prüfen:
|
|
docker compose exec app python -c "from app.version import APP_VERSION; print(APP_VERSION)"
|
|
docker compose exec app grep -n "powershell -ExecutionPolicy Bypass -File" /app/app/software_control.py
|
|
|
|
Ein neuer Windows-PowerShell-Job muss im Diagnoseprotokoll enthalten:
|
|
Remote execution shell: Windows Command Prompt
|
|
Remote execution command: powershell -ExecutionPolicy Bypass -File "...\run.ps1"
|
|
MeshCtrl PowerShell mode: False
|