Files
MemRelay/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/Checkpoint 2026-11-03 08-04-08 UTC [2ce0d5c1d5].md
T
memrelay fc0237896d create: Checkpoint 2026-11-03 08:04:08 UTC [2ce0d5c1d5]
MemRelay-Operation: checkpoint-save:metrix-prod-deploy-20261103-1603
MemRelay-Resource: 6d83e563-35f8-4dfd-8084-2ae347336d41
2026-11-03 16:04:12 +08:00

36 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-11-03 08:04:08 UTC [2ce0d5c1d5]
type: checkpoint
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/checkpoint-2026-11-03-08-04-08-utc-2ce0d5c1d5
stable_id: 6d83e563-35f8-4dfd-8084-2ae347336d41
scope: project
memory_type: checkpoint
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: metrix-prod-deploy-20261103-1603
created_at: '2026-11-03T08:04:08.990036+00:00'
updated_at: '2026-11-03T08:04:08.990036+00:00'
tags:
- production
- decomeval
- deploy
---
已完成
- 生产机 188.5.127.115(内网 192.127.115.101)的 Metrix 已切到镜像 metrix-app:9c63723,对应 feat/app-hosting 提交 9c63723。对外仍是 http://188.5.127.115:18271,iKuai 映射内网 8000,没有新开端口。
- 旧镜像保留为 metrix-app:rollback-before-9c63723。数据库备份在 /opt/metrix/backups/metrix-before-e03f13a-20261103-231633.sql.gz。
- DecomEval 0.1.0-81b39d9 已部署。地址 http://188.5.127.115:18271/apps/decomeval/ 返回 200,页面 base 为 /apps/decomeval/。容器 metrix-app-decomeval-web、worker、postgres 都在跑。这是空库,第一次打开会走应用自己的安装/登录。
- 修复:多方法接口的旧编号不再随进程变化,审计日志迁移只做一次。否则每次启动都要扫 20 万行审计日志,端口要四分钟后才监听。
验证
- 外网 /api/health 为 {"ok":true,"installed":true}。
- 切换后 5 秒内健康。部署任务 prepare、image、network、volumes、postgres、services、health 都是 success。
给下个会话
- SSH 和 iKuai 口令只在密码库:「Metrix 生产服务器 SSH」、「iKuai 管理面板」。不要写进命令行。
- 不要新开公网端口。服务器本机端口从外面访问不到,要走 iKuai 已有映射。
- 回滚:docker tag metrix-app:rollback-before-9c63723 metrix-app:latest,再在 /opt/metrix 执行 docker compose up -d --no-deps --force-recreate metrix-app。
- 不要动 capacityrepost、旧 capacity-report、ShareMySQL、sftpgo、gitlab。
- DecomEval 开发仍在 plugins/DecomEval。