chatmail should be easy to setup. Too bad, the deployment already fails in step 1, after invoking “scripts/initenv.sh”
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /tmp/chatmail/chatmaild
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
Does it work if you replace python3 -m venv venv with python3 -m venv --upgrade-deps venv in scripts/initenv.sh? This should upgrade pip and setuptools.
Traceback (most recent call last):
File "/usr/local/chatmail/chatmail/venv/bin/cmdeploy", line 5, in <module>
from cmdeploy.cmdeploy import main
File "/usr/local/chatmail/chatmail/cmdeploy/src/cmdeploy/cmdeploy.py", line 17, in <module>
from cmdeploy.dns import show_dns, check_necessary_dns
File "/usr/local/chatmail/chatmail/cmdeploy/src/cmdeploy/dns.py", line 9, in <module>
class DNS:
File "/usr/local/chatmail/chatmail/cmdeploy/src/cmdeploy/dns.py", line 37, in DNS
def get(self, typ: str, domain: str) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Note that you do not need to run this on the server itself, you can run cmdeploy on another machine with more up-to-date distro. But we anyway need to fix it.