Skip to content

Commit

Permalink
Bump stalwartlabs/mail-server from v0.8.5 to v0.9.0 (#13)
Browse files Browse the repository at this point in the history
* Bump stalwartlabs/mail-server from v0.8.5 to v0.9.0

Bumps stalwartlabs/mail-server from v0.8.5 to v0.9.0.

---
updated-dependencies:
- dependency-name: stalwartlabs/mail-server
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update start.sh

Signed-off-by: Jean-Yves <[email protected]>

* edit data version to majeur.mineur (remove .patch)

Signed-off-by: Jean-Yves <[email protected]>

* Add upgrade section

Signed-off-by: Jean-Yves <[email protected]>

* Fix dependabot.yml

Signed-off-by: Jean-Yves <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jean-Yves <[email protected]>
  • Loading branch information
dependabot[bot] and docjyJ authored Aug 5, 2024
1 parent 3f6a64e commit 742942a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ updates:
time: "12:00"
open-pull-requests-limit: 10
labels:
- 3. to review
- dependencies
- dependency
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# From https://github.com/stalwartlabs/mail-server/blob/main/Dockerfile
FROM stalwartlabs/mail-server:v0.8.5
FROM stalwartlabs/mail-server:v0.9.0

COPY --chmod=664 config.toml /opt/stalwart-mail/etc/config.toml
COPY --chmod=775 start.sh /start.sh
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,13 @@ If you're using the root user to run docker, read the script before running it.
```bash
curl -s https://raw.githubusercontent.com/docjyJ/aio-stalwart/main/scripts/backup.sh | bash
```

### Upgrading from 0.8.x to 0.9.x

This migration does not require any action, but the organization of the database has changed.
Be vigilant about possible data loss.

To unlock the server blocked by the start script, run this command:
```bash
docker run --rm -v nextcloud_aio_stalwart:/opt/stalwart-mail -it --entrypoint /bin/bash stalwartlabs/mail-server:v0.9.0 -c 'echo "0.9" > /opt/stalwart-mail/aio.lock'
```
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Test data
AIO_LOCK="/opt/stalwart-mail/aio.lock"
DATA_VERSION="0.8.0"
DATA_VERSION="0.9"

if [ -f "$AIO_LOCK" ]; then
if [ "$DATA_VERSION" != "$(cat "$AIO_LOCK")" ]; then
Expand Down

0 comments on commit 742942a

Please sign in to comment.