When you set DEBUG=False, Django doesn't serve static files because of which you see only text and no styles.
http://docs.mailman3.org/en/latest/pre-installation-guide.html#django-static...
If you do set DEBUG=False, you need to serve the static pages somehow.
Alternatively in you case, you can remove the part of the settings.py
which changes the Emailbackend when DEBUG=False
so that you don't have
to worry about serving static files and still send out emails.
On Wed, Aug 2, 2017, at 09:46 AM, Rafael Mora wrote:
For testing purpose I turned back to false the DEBUG var and everything started working fine with HyperKitty
I don't understand... this is the trace when I click Login from Postorius to HyperKitty
[02/Aug/2017 16:43:42] "GET /postorius/lists/ HTTP/1.1" 200 3645 [02/Aug/2017 16:43:48] "GET /accounts/login/?next=/postorius/lists/ HTTP/1.1" 200 10950 [02/Aug/2017 16:43:49] "GET /static/CACHE/css/hyperkitty.2f591b4e31fe.css HTTP/1.1" 200 156657
What should I check?
El mié., 2 ago. 2017 a las 10:56, Mark Sapiro (<mark@msapiro.net>) escribió:
On 08/02/2017 07:55 AM, Rafael Mora wrote:
HyperKitty is looking for some files in /static/CACHE/... but it doesn't find them:
[02/Aug/2017 14:53:38] "GET /static/CACHE/css/b3547a2ab51b.css HTTP/1.1" 404 107 [02/Aug/2017 14:53:38] "GET /static/CACHE/css/4c17bb8058aa.css HTTP/1.1" 404 107 [02/Aug/2017 14:53:38] "GET /static/CACHE/css/2fa1cba00450.css HTTP/1.1" 404 107 [02/Aug/2017 14:53:38] "GET /static/CACHE/js/4ce1260ef558.js HTTP/1.1" 404 105 [02/Aug/2017 14:53:39] "GET /static/CACHE/js/4ce1260ef558.js HTTP/1.1" 404 105
Should I run any command to activate the CACHE dir?
You need to ensure you have a working sass compiler. As I said at < https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
, See the third bullet under <http://docs.list.org/en/latest/prodsetup.html#dependencies>.
Then you need to run commands like
django-admin collectstatic --clear django-admin compress
-- 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 https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
--
Atentamente / Best Regards
Ing. Rafael Mora
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj