Files
wecom_it_smart_desk/jumpserver-webcli/deploy_0802_cmds.txt
T

16 lines
610 B
Plaintext
Raw Normal View History

# Replace agent dist with the newly uploaded 0802 bundle
cd /opt/wecom-it-desk/src/frontend-agent
mv dist dist.bak.0802
mkdir dist
tar -xzf /tmp/frontend-agent-dist-0802.tar.gz -C dist --strip-components=1
ls dist | head
# Full restart of nginx container (critical: bind mount dentry cache invalidation)
docker restart wecom_it_nginx
# Wait for container to come back, then verify
sleep 6
docker ps --filter name=wecom_it_nginx
curl -s -o /dev/null -w 'itagent_http=%{http_code}\n' http://127.0.0.1/itagent/
curl -s http://127.0.0.1/itagent/index.html | grep -o 'assets/[^"]*AiAssistantPanel[^"]*' | head -1