Skip to content

Commit e1ed37a

Browse files
fix: block incompatible Stalwart 1.0 in-place upgrades
1 parent 737cbc3 commit e1ed37a

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

‎apps/stalwart-mail/README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 从 0.16 升级到 1.0
2+
3+
Stalwart 1.0 使用新的数据库格式,不能直接替换 0.16 的镜像或复用其数据目录,因此本应用禁用跨版本直接升级。请先备份配置和数据,再按[官方迁移指南](https://stalw.art/docs/migration/upgrade-0-16/)使用 `stalwart-migrate` 将旧数据复制到新的 1.0 存储,验证后再切换服务。
4+
15
## 产品介绍
26

37
**Stalwart 邮件服务器** 是一个支持 JMAP、IMAP4、POP3 和 SMTP 的开源邮件服务器解决方案,拥有丰富的现代功能。它使用 Rust 编写,设计注重安全性、速度、稳定性和可扩展性。

‎apps/stalwart-mail/README_en.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Upgrading from 0.16 to 1.0
2+
3+
Stalwart 1.0 uses a new database format and cannot open a 0.16 data store, so this app disables direct cross-version upgrades. Back up the configuration and data, then follow the [official migration guide](https://stalw.art/docs/migration/upgrade-0-16/) to copy the old data into a new 1.0 store with `stalwart-migrate`. Verify the migration before switching services; do not point the 1.0 container at the old data directory.
4+
15
## Introduction
26

37
**Stalwart Mail Server** is an open-source mail server solution with JMAP, IMAP4, POP3, and SMTP support and a wide range of modern features. It is written in Rust and designed to be secure, fast, robust and scalable.

‎apps/stalwart-mail/data.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ additionalProperties:
2323
zh: 安全且现代的一体化邮件服务器
2424
tr: Guvenli ve modern hepsi bir arada posta sunucusu
2525
type: website
26-
crossVersionUpdate: true
26+
crossVersionUpdate: false
2727
limit: 1
2828
recommend: 0
2929
batchInstallSupport: true

0 commit comments

Comments
 (0)