No path configuration found: paths.master
I installed postorius and hyperkitty with pip and ran into another problem. I ran "mailman info" and got "No path configuration found: paths.master".
I have three files named mailman.cfg: /etc/mailman.cfg /usr/local/lib/python3.5/dist-packages/mailman/config/mailman.cfg /var/etc/mailman.cfg The one in /etc contains the following: [mailman] layout: master The one in /var/etc is completely commented out.
If I move the one in /etc/ out of the way and run "mailman info" again, I get this: GNU Mailman 3.1.0 (Between The Wheels) Python 3.5.2 (default, Sep 14 2017, 22:51:06) [GCC 5.4.0 20160609] config file: None db url: sqlite:////etc/var/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:restpass
It said "config file: /var/etc/mailman.cfg" before. What changed?
Pierre
La sal en el mar es más que en la sangre. Le sel dans la mer est plus que dans le sang.
On Thu, Oct 26, 2017, at 10:34 PM, Pierre Abbat wrote:
I installed postorius and hyperkitty with pip and ran into another problem. I ran "mailman info" and got "No path configuration found: paths.master".
I have three files named mailman.cfg: /etc/mailman.cfg /usr/local/lib/python3.5/dist-packages/mailman/config/mailman.cfg /var/etc/mailman.cfg The one in /etc contains the following: [mailman] layout: master The one in /var/etc is completely commented out.
If I move the one in /etc/ out of the way and run "mailman info" again, I get this: GNU Mailman 3.1.0 (Between The Wheels) Python 3.5.2 (default, Sep 14 2017, 22:51:06) [GCC 5.4.0 20160609] config file: None db url: sqlite:////etc/var/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:restpass
It said "config file: /var/etc/mailman.cfg" before. What changed?
OK, this might be completely my mistake. I am very sorry about this.
'master' is usually only specified in schema and can't be used as valid value for 'layout'. I completely forgot this and updated the documentation to use 'master'.
Please replace 'master' with 'local' and things should work.
So, the config would look something like this:
[mailman] layout: local
I will go ahead and update the documentation right away.
Hope this helps!
Pierre
La sal en el mar es más que en la sangre. Le sel dans la mer est plus que dans le sang.
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- Abhilash Raj maxking@asynchronous.in
On Thursday, October 26, 2017 11:17:09 PM EDT Abhilash Raj wrote:
OK, this might be completely my mistake. I am very sorry about this.
'master' is usually only specified in schema and can't be used as valid value for 'layout'. I completely forgot this and updated the documentation to use 'master'.
Please replace 'master' with 'local' and things should work.
So, the config would look something like this:
[mailman] layout: local
I will go ahead and update the documentation right away.
Hope this helps!
Thanks! Now I tried "layout: fhs" and it also looks like it works. Which should I use? I am hoping that Mailman 3 will be packaged by the time the next LTS release comes out.
Pierre
loi mintu se ckaji danlu cu jmaji
On Oct 27, 2017, at 03:04, Pierre Abbat <phma@bezitopo.org> wrote:
Thanks! Now I tried "layout: fhs" and it also looks like it works. Which should I use? I am hoping that Mailman 3 will be packaged by the time the next LTS release comes out.
layout: fhs
is really only intended for when Mailman 3 is packaged as a Linux distro version. “FHS” is the “Filesystem Hierarchy Standard” spec from the Linux Foundation:
http://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
Cheers, -Barry
On Friday, October 27, 2017 10:33:31 AM EDT Barry Warsaw wrote:
layout: fhs
is really only intended for when Mailman 3 is packaged as a Linux distro version. “FHS” is the “Filesystem Hierarchy Standard” spec from the Linux Foundation:
If I start with local, and later replace the PIP-installed version with the packaged version, should I switch to fhs and move everything around?
Pierre
La sal en el mar es más que en la sangre. Le sel dans la mer est plus que dans le sang.
On Fri, Oct 27, 2017, at 01:10 PM, Barry Warsaw wrote:
On Oct 27, 2017, at 11:32, Pierre Abbat <phma@bezitopo.org> wrote:
If I start with local, and later replace the PIP-installed version with the packaged version, should I switch to fhs and move everything around?
If you mean that "Will you have to change to FHS layout if you finally install from package manager", then no. FHS is just another layout and you can continue using 'local' layout, as long as the package manager doesn't move things.
Although, you could potentially end up with two separate installs of Mailman with entirely different data.
I don’t really have an opinion on that.
-Barry
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Email had 1 attachment:
- signature.asc 1k (application/pgp-signature)
-- Abhilash Raj maxking@asynchronous.in
participants (4)
-
Abhilash Raj
-
Barry Warsaw
-
Barry Warsaw
-
Pierre Abbat