-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python rtyaml Module Missing #2421
Comments
It's installed explicitly into a virtualenv at mailinabox/setup/management.sh Line 46 in 162e509
mailinabox should fix it. But in that issue, the backup command is invoked the wrong way, which probably explains the problem.
|
In this case you should run |
I had previously run |
Don't put |
I originally tried directly running |
Did you run |
I did run |
Could be a nice improvement, to add the MiaB management directory to the command search path. I'm going to make that customization. |
I had the same thought about appending the MiaB management directory to the command search path. I created a file named “Mail-in-a-Box_management.sh” owned by 0:0 with mode 644 and saved it to the /etc/profile.d directory. This file contains:
This customization should be harmless because the default search path retains priority and no change is made to the search path unless the MiaB management directory exists. For an informative discussion of the ways to change the command search path see: https://askubuntu.com/questions/866161/setting-path-variable-in-etc-environment-vs-profile |
I applied it as such on my box using Ansible. |
It seems that a recent upgrade, possibly of Python 3.10 or Duplicity, removed Josh’s rtyaml Python module https://pypi.org/project/rtyaml/. This prevents proper execution of backup.py, dns_update.py, management.sh, utils.py, and web_update.py. To confirm that the rtyaml module is missing, run
pip list
which will list all installed Python modules. It seems likely that the missing rtyaml module is the underlying cause of problem #2420.The text was updated successfully, but these errors were encountered: