[Mailman-Users] Private archive file not found

Mark Sapiro mark at msapiro.net
Tue May 8 11:36:20 EDT 2018


On 05/07/2018 08:58 AM, David Doonan wrote:
> 
> Exploring the server via SFTP, this troublesome list only has one folder, with a sub-folder called attachments.
> 
> The rest of the lists are set up correctly, with two folders, one with the name of the list and the second with the name of the list and .mbox as a suffix.
> 
> The troublesome list is not new; it was created a decade or more ago. Can’t believe that no has complained about the lack of archives.
> 
> Is there a solution other than to re-install?

It is possible that something was somehow deleted or lost from the
archive. If you have any older backups, you might look for them.

If not, if you have shell access, rather than just SFTP, what you need
to do is create the archives/private/LISTNAME.mbox directory and an
empty archives/private/LISTNAME.mbox/LISTNAME.mbox file. These should
have the same ownership and permissions as the ones for other lists, in
particular drwxrwsr-x for the directory and -rw-rw-r-- for the file and
mailman's group for both.

Then run Mailman's

bin/arch --wipe LISTNAME

and that will create the (empty) archive.

Alternatively, you can back up the lists/LISTNAME/ directory, containing
the config.pck and other files. Then delete the list or just remove the
lists/LISTNAME/ directory and then create the list and replace the
lists/LISTNAME/ directory with the one you backed up. This should cerate
the list with a "proper" empty archive and then restoring the
lists/LISTNAME/ directory and contents will restore the list config and
membership.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list