Most active commenters
  • woleium(3)

←back to thread

316 points StalwartLabs | 11 comments | | HN request time: 0.207s | source | bottom
1. woleium ◴[] No.45674329[source]
I wish there was an easy auto-update process for Stalwart. is anyone hosting an apt repo for it?

edit: we use it on very resource constrained environments, the container version is too much overhead.

replies(3): >>45674520 #>>45674743 #>>45675722 #
2. dijit ◴[] No.45674520[source]
isn't it a static binary? Can't you do it the old-school sysadmin way and pull down a binary from github releases and update a symbolic link?
replies(2): >>45675114 #>>45675266 #
3. evrflx ◴[] No.45674743[source]
Where is the overhead in a container? It is just a regular process. (Ok plus a container runtime process, but that is negligible)
replies(2): >>45675111 #>>45676537 #
4. woleium ◴[] No.45675111[source]
negligible for you, perhaps ;)
5. woleium ◴[] No.45675114[source]
yes, but that’s not as simple as apt automatic upgrades
replies(1): >>45675232 #
6. dijit ◴[] No.45675232{3}[source]
want me to write the script out for you?

1. systemd timer

2. curl github api

3. if new release, fetch, verify checksum

4. update symlink

5. restart service

i don’t think repackaging is actually easier here, for main services of a system is ok to skip the package manager.

replies(1): >>45675302 #
7. heavyset_go ◴[] No.45675266[source]
They make breaking changes to settings (and possibly data stores, but I forget) between versions, so to go from, for example, x.y.1 to x.z.5 might involve doing migrations between x.y.2 through x.z.5 just to use the latest version.

This is not the case for all versions, but I've found it to be common enough that I have to read all of the release notes between point versions when upgrading.

It can definitely be improved.

replies(1): >>45679323 #
8. heavyset_go ◴[] No.45675302{4}[source]
You will eventually break your email setup by doing this, see my other comment.
9. reachableceo ◴[] No.45675722[source]
What resource constraints allow you to apt-get but not docker pull? It’s the same resulting stack isn’t it?

I am most curious

10. kevincox ◴[] No.45676537[source]
Does podman have a container runtime process? Or does it just exec the child after setting up the environment?

In that case the overhead is just a small amount of kernel accounting.

11. StalwartLabs ◴[] No.45679323{3}[source]
There is a new section in the documentation discussing upgrades:

https://stalw.art/docs/install/upgrade/

The goal is to stabilize the database layout/configuration format very soon so v1.0.0 can be released (hopefully before Q1/Q2 2026).