升级到 2.18.0 后,Umami 由于 09_update_hostname_region
迁移失败而无法启动。
在 DB 容器内的 SQL shell 中使用以下 SQL 命令:
UPDATE _prisma_migrations
SET finished_at = NOW(), logs = NULL, applied_steps_count = 1
WHERE migration_name = '09_update_hostname_region';
Prisma 迁移过程中可能因数据库权限、表结构冲突或版本兼容性问题导致状态卡住。
- All rights reserved.
- No part of this website, including text and images, may be reproduced, modified, distributed, or transmitted in any form or by any means, without the prior written permission of the author.
- Unauthorized commercial use is strictly prohibited.
- Unauthorized personal use is strictly prohibited.