On Fri, Jul 16, 2021, at 12:12 PM, Mark Sapiro wrote:
On 7/16/21 11:31 AM, mcarter@corneredrats.com wrote:
Hello. I'm new with v3 of mailman. Installed via aptitude on deb10. After I logged in as admin, I created my actual domain, as "example.com" was there by default. I then deleted example.com, and everything broke. The only site I had was still using example.com. How do I either a) restore example.com in config or CLI (as web UI is completely broken now), or b) move my one and only "Site 1" to the domain I created?
Try setting
SITE = 0
in your Django settings file. If that doesn't work, try successively 1, 2, etc. One of these should work.
Usually, example.com is always 1 and then it increases sequentially. So, if this is the first one you created, I'd try using 2.
Also going back to your prior thread, you had
root@mail:/usr/share/mailman3-web# python manage.py createsuperuser
Aside from the python/python3 issue, you should run any Mailman and Django management commands as the Mailman user (probably
list
in your case), not as root. See https://gitlab.com/mailman/mailman/-/issues/920 and https://gitlab.com/mailman/mailman/-/issues/776.-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)