Skip to content

Console Output

+ set -e
+ mkdir -p /zoumh/java/zmh/frontend /zoumh/data/nginx/www/zoumh.com /zoumh/java/zmh/frontend/nginx /zoumh/java/zmh/frontend/bin
+ cp -f frontend-dist.tgz /zoumh/java/zmh/frontend/frontend-dist.tgz
+ cp -f scripts/deploy-frontend-host.sh /zoumh/java/zmh/frontend/bin/deploy-frontend-host.sh
+ chmod +x /zoumh/java/zmh/frontend/bin/deploy-frontend-host.sh
+ ARCHIVE_PATH=/zoumh/java/zmh/frontend/frontend-dist.tgz HTML_DIR=/zoumh/data/nginx/www/zoumh.com NGINX_CONF_DIR=/zoumh/java/zmh/frontend/nginx NGINX_IMAGE=nginx:1.27-alpine NGINX_CONTAINER_NAME=ruoyi-nginx FRONTEND_PROXY_PASS=http://127.0.0.1:8080/ POST_DEPLOY_CMD=echo "=== host curl auth login ==="
curl -sS -i -H '"'"'Content-Type: application/json'"'"' -d '"'"'{"username":"admin","password":"admin123"}'"'"' http://127.0.0.1:8080/auth/login || true
echo "=== host curl actuator health ==="
curl -sS -i http://127.0.0.1:8080/actuator/health || true
echo "=== docker ps ==="
docker ps --format '"'"'table {{.Names}}\t{{.Status}}\t{{.Ports}}'"'"' || true
echo "=== port 8080 ==="
ss -ltnp | grep 8080 || true
echo "=== nginx conf deployed by frontend ==="
cat /zoumh/java/zmh/frontend/nginx/default.conf || true /zoumh/java/zmh/frontend/bin/deploy-frontend-host.sh
ln: '/usr/bin/docker' and '/usr/bin/docker' are the same file
=== host curl auth login ===
HTTP/1.1 400 Bad Request
Server: Jetty(12.1.5)
Date: Sat, 11 Apr 2026 13:17:33 GMT
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1
Content-Length: 500
Connection: close

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 400 Illegal character VCHAR=&apos;&quot;&apos;</title>
</head>
<body>
<h2>HTTP ERROR 400 Illegal character VCHAR=&apos;&quot;&apos;</h2>
<table>
<tr><th>URI:</th><td>/auth/login</td></tr>
<tr><th>STATUS:</th><td>400</td></tr>
<tr><th>MESSAGE:</th><td>Illegal character VCHAR=&apos;&quot;&apos;</td></tr>
</table>
<hr/><a href="https://jetty.org/">Powered by Jetty:// 12.1.5</a><hr/>

</body>
</html>
=== host curl actuator health ===
HTTP/1.1 404 Not Found
Server: Jetty(12.1.5)
Date: Sat, 11 Apr 2026 13:17:33 GMT
Vary: Accept-Encoding
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1
Content-Length: 427

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 Not Found</title>
</head>
<body>
<h2>HTTP ERROR 404 Not Found</h2>
<table>
<tr><th>URI:</th><td>http://127.0.0.1:8080/actuator/health</td></tr>
<tr><th>STATUS:</th><td>404</td></tr>
<tr><th>MESSAGE:</th><td>Not Found</td></tr>
</table>
<hr/><a href="https://jetty.org/">Powered by Jetty:// 12.1.5</a><hr/>

</body>
</html>
=== docker ps ===
"'table ruoyi-gateway	Up 9 hours	'"
"'table ruoyi-file	Up 9 hours	'"
"'table ruoyi-system	Up 9 hours	'"
"'table ruoyi-auth	Up 9 hours	'"
"'table zentao	Up 9 hours	80/tcp'"
"'table xxl-job	Up 9 hours	'"
"'table mysql8	Up 9 hours (healthy)	0.0.0.0:3306->3306/tcp, 33060/tcp'"
"'table redis	Up 9 hours (healthy)	0.0.0.0:6379->6379/tcp'"
"'table minio	Up 9 hours (healthy)	0.0.0.0:9000-9001->9000-9001/tcp'"
"'table grafana	Up 9 hours (healthy)	3000/tcp'"
"'table nacos	Up 9 hours	0.0.0.0:8848->8848/tcp, [::]:8848->8848/tcp, 0.0.0.0:9848->9848/tcp, [::]:9848->9848/tcp'"
"'table nginx	Up 9 hours	0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp'"
"'table kafka	Up 9 hours	'"
"'table promtail	Up 9 hours	'"
"'table jenkins	Up 9 hours (healthy)	8080/tcp, 50000/tcp'"
"'table loki	Up 9 hours (healthy)	3100/tcp'"
"'table zookeeper	Up 9 hours	22/tcp, 2181/tcp, 2888/tcp, 3888/tcp'"
=== port 8080 ===
sh: 8: ss: not found
=== nginx conf deployed by frontend ===
server {
    listen 80;
    server_name _;

    root /usr/share/nginx/html;
    index index.html;

    location / {
        try_files $uri $uri/ /index.html;
    }

    location /prod-api/ {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_pass http://127.0.0.1:8080/;
    }

    location ~* /actuator {
        return 403;
    }
}
frontend files deployed to /zoumh/data/nginx/www/zoumh.com; container ruoyi-nginx removed