From himbeere@meine-oma.de Fri Jan 4 20:06:37 2019 From: Thomas Stein To: mailman-users@mailman3.org Subject: [MM3-users] hyperkitty base_url Date: Fri, 04 Jan 2019 21:07:18 +0100 Message-ID: <4809439.bGsibHMYGb@rather> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9159047078193270682==" --===============9159047078193270682== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all. Now I'm struggeling with configuring hyperkitty. It's not clear to me which b= ase_url to set. Currently it's base_url: http://localhost:8001/hyperkitty/ but that leads to Jan 04 21:01:39 2019 (8322) HyperKitty failure on http://localhost:8000/hyper= kitty/api/mailman/urls: Auth required

Authorization Required

(401) The api_key is set in /usr/share/mailman3-web/settings.py. I suppose I'm doing it wrong. Any hints appreciated. thanks and cheers t. --===============9159047078193270682==-- From mark@msapiro.net Fri Jan 4 20:27:46 2019 From: Mark Sapiro To: mailman-users@mailman3.org Subject: [MM3-users] Re: hyperkitty base_url Date: Fri, 04 Jan 2019 12:27:41 -0800 Message-ID: <10a1ca77-34d2-be5d-ad49-58bbdb816949@msapiro.net> In-Reply-To: <4809439.bGsibHMYGb@rather> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7224021231700346320==" --===============7224021231700346320== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 1/4/19 12:07 PM, Thomas Stein wrote: > Hi all. >=20 > Now I'm struggeling with configuring hyperkitty. It's not clear to me which= base_url to set. Currently it's > base_url: http://localhost:8001/hyperkitty/ but that leads to That's wrong. base_url is set to the URL used to access Hyperkitty externally. It is used for things like the Archived-At: and List-Archive: headers in distributed posts. For example, for this installation it is base_url: https://lists.mailman3.org/archives --=20 Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan --===============7224021231700346320==-- From himbeere@meine-oma.de Fri Jan 4 20:27:48 2019 From: Thomas Stein To: mailman-users@mailman3.org Subject: [MM3-users] Re: hyperkitty base_url Date: Fri, 04 Jan 2019 21:28:29 +0100 Message-ID: <3724102.9ZZpbkMDIx@rather> In-Reply-To: <4809439.bGsibHMYGb@rather> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9151418701579351720==" --===============9151418701579351720== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable After changing the api_key to something else than the default one and adjusti= ng settings.py accordingly, everything works. Sorry for the noise. cheers t. On Friday, 4 January 2019 21:07:18 CET Thomas Stein wrote: > Hi all. >=20 > Now I'm struggeling with configuring hyperkitty. It's not clear to me which= base_url to set. Currently it's > base_url: http://localhost:8001/hyperkitty/ but that leads to >=20 > Jan 04 21:01:39 2019 (8322) HyperKitty failure on http://localhost:8000/hyp= erkitty/api/mailman/urls: Auth required >

Authorization Required

(401) >=20 > The api_key is set in /usr/share/mailman3-web/settings.py. >=20 > I suppose I'm doing it wrong. Any hints appreciated. >=20 > thanks and cheers > t. >=20 > _______________________________________________ > Mailman-users mailing list -- mailman-users(a)mailman3.org > To unsubscribe send an email to mailman-users-leave(a)mailman3.org > https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ >=20 --===============9151418701579351720==-- From himbeere@meine-oma.de Fri Jan 4 20:29:54 2019 From: Thomas Stein To: mailman-users@mailman3.org Subject: [MM3-users] Re: hyperkitty base_url Date: Fri, 04 Jan 2019 21:30:34 +0100 Message-ID: <5734506.cVfckqx74f@rather> In-Reply-To: <10a1ca77-34d2-be5d-ad49-58bbdb816949@msapiro.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7475347121219505570==" --===============7475347121219505570== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Friday, 4 January 2019 21:27:41 CET Mark Sapiro wrote: > On 1/4/19 12:07 PM, Thomas Stein wrote: > > Hi all. > >=20 > > Now I'm struggeling with configuring hyperkitty. It's not clear to me whi= ch base_url to set. Currently it's > > base_url: http://localhost:8001/hyperkitty/ but that leads to >=20 > That's wrong. base_url is set to the URL used to access Hyperkitty > externally. It is used for things like the Archived-At: and > List-Archive: headers in distributed posts. For example, for this > installation it is It's working with base_url: http://localhost:8000/hyperkitty/. Is that ok? thanks and cheers t. > base_url: https://lists.mailman3.org/archives >=20 >=20 --===============7475347121219505570==-- From mark@msapiro.net Fri Jan 4 21:32:49 2019 From: Mark Sapiro To: mailman-users@mailman3.org Subject: [MM3-users] Re: hyperkitty base_url Date: Fri, 04 Jan 2019 13:32:39 -0800 Message-ID: <5537aab6-8fda-87ef-6edc-b7b3c097dd09@msapiro.net> In-Reply-To: <5734506.cVfckqx74f@rather> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7096487199302473478==" --===============7096487199302473478== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 1/4/19 12:30 PM, Thomas Stein wrote: > > It's working with base_url: http://localhost:8000/hyperkitty/. > > Is that ok? I've just tested that locally and it seems to be OK. The Archived-At: and List-Archive: headers still show the correct external URLs. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan --===============7096487199302473478==-- From kelly.close@lrewater.com Tue Jan 8 19:13:39 2019 From: kelly.close@lrewater.com To: mailman-users@mailman3.org Subject: [MM3-users] Re: hyperkitty base_url Date: Tue, 08 Jan 2019 19:13:35 +0000 Message-ID: <154697481594.14575.829850357388525282@mailman.iad1.psf.io> In-Reply-To: <3724102.9ZZpbkMDIx@rather> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3236290040614186785==" --===============3236290040614186785== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thomas, I just want to thank you for posting this note about your resolution.= You never know when a seemingly minor thing makes a major difference to som= eone else! I have been struggling with the same "Hyperkitty failure on..." e= rror message for days, and while I made sure, with copy/paste, again and agai= n, that the api_key string matched the SECRET_ARCHIVER_KEY string, I was stil= l using the string that came with the Django local settings file on install (= 32 character string of random characters). =20 I just changed the key (in both places) to something new and simple for testi= ng and magically my archives are working! In fact every test message I've se= nt since initial setup is there (where were all those durn things hiding anyw= ay???). I don't know if one of the characters in the original string is a no= -no in Ubuntu, or if a non-printing character was hiding in there, or WHAT, b= ut... It works! It works!! Thanks Mark S. as well for your help finding the logs and getting me pointed = in the right direction. Now that I've done it, turns out installing MM3 on Ubuntu 8.04 using the mail= man3-full distro (w/ apache2, postgresql, postfix) is a VERY simple and strai= ghtforward process with relatively few steps (just a couple really critical, = non-obvious ones!). I'll post a walkthru once I've tidied it up a bit. ~Kelly --===============3236290040614186785==-- From kelly.close@lrewater.com Tue Jan 8 19:19:39 2019 From: kelly.close@lrewater.com To: mailman-users@mailman3.org Subject: [MM3-users] Re: hyperkitty base_url Date: Tue, 08 Jan 2019 19:19:36 +0000 Message-ID: <154697517647.14572.10252093886254728991@mailman.iad1.psf.io> In-Reply-To: <154697481594.14575.829850357388525282@mailman.iad1.psf.io> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0097965305439606624==" --===============0097965305439606624== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit (sorry - that should be MAILMAN_ARCHIVER_KEY in the first paragraph) --===============0097965305439606624==-- From brian@emwd.com Tue Jan 8 21:07:50 2019 From: brian@emwd.com To: mailman-users@mailman3.org Subject: [MM3-users] Re: hyperkitty base_url Date: Tue, 08 Jan 2019 21:07:47 +0000 Message-ID: <154698166796.14569.8886861370863146977@mailman.iad1.psf.io> In-Reply-To: <154697481594.14575.829850357388525282@mailman.iad1.psf.io> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6407829786158777738==" --===============6407829786158777738== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable kelly.close=EF=BC=A0lrewater.com wrote: > Now that I've done it, turns out installing MM3 on Ubuntu 8.04 using the ma= ilman3-full > distro (w/ apache2, postgresql, postfix) is a VERY simple and straightforwa= rd process with > relatively few steps (just a couple really critical, non-obvious ones!). I= 'll post a > walkthru once I've tidied it up a bit. Hi Kelly, I for one will be looking forward to your walkthrough. I have a working MM3 i= nstallation using Docker on CentOS 7 platform but am wanting to do some testi= ng using different methods of installing on other distros. Thanks! Brian --===============6407829786158777738==-- From mark@msapiro.net Tue Jan 8 23:34:05 2019 From: Mark Sapiro To: mailman-users@mailman3.org Subject: [MM3-users] Re: hyperkitty base_url Date: Tue, 08 Jan 2019 15:33:56 -0800 Message-ID: <67e2e707-dfc6-e166-1c7c-84db7e2ccbd2@msapiro.net> In-Reply-To: <154697481594.14575.829850357388525282@mailman.iad1.psf.io> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9133189851654563807==" --===============9133189851654563807== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 1/8/19 11:13 AM, kelly.close(a)lrewater.com wrote: >=20 > I just changed the key (in both places) to something new and simple for tes= ting and magically my archives are working! In fact every test message I've = sent since initial setup is there (where were all those durn things hiding an= yway???). They were queued in Mailman's var/archives/hyperkitty/spool/ directory and retried on every post until they succeeded. --=20 Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan --===============9133189851654563807==--