after reinstall: empty lists, template bugs
See original GitHub issueImpacted versions
- Modoboa: 1.10.2
- installer used: Yes
- Webserver: h2o
Steps to reproduce
I reinstalled modoboa, coming from a very old version (see https://github.com/modoboa/modoboa/issues/1401). In the process I recreated the whole database and copied the “old” content into the new database (aliases, domains, accounts). I’m on a very very small database.
Current behavior
modoboapython manage.py migrate
at this moment shows No migrations to apply.
and the frontend opens as expected.
However if I go to domains
or identities
there are no lists.
If I click anything on those sites (the links with the lists) I get to an empty template:
{"headers": "\n<th width=\"50%\" class=\"sortable\" data-sort_order=\"name\">Domain</th>\n<th class=\"sortable\" data-sort_order=\"quota\">Limit</th>\n<th class=\"sortable\" data-sort_order=\"quota_value__used\">Used</th>\n<th class=\"sortable\" data-sort_order=\"allocated_quota\">Allocated</th>\n<th class=\"sortable\" data-sort_order=\"quota_usage\" id=\"quotabar\">Verwendung (%)</th>\n", "length": 0}
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Missing customizations in Office Word after an update
After installing the latest update for Microsoft Office (6366.xxxx), ... Press Windows + R and type in %appdata%\Microsoft\Templates and press Enter.
Read more >Page templates missing from page attributes after 5.8
So, templates are registered and working, but no way to bring back the select under “Page Attributes” in the Gutenberg Editor. All the...
Read more >How do I make empty lists in MATLAB Live Script and append ...
I want to make 3 empty list, in which I can append values to as shown in the following (The code is written...
Read more >list, else, items, sep, break, continue - Apache FreeMarker
The simplest form for listing a sequence (or collection) is: ... The else part is optional, and is only supported since FreeMarker 2.3.23....
Read more >Template not provided using create-react-app - Stack Overflow
There seems to be a bug where create-react-app isn't properly uninstalled and using one of the new commands lead to: A template was...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess a django app already exists for that. I’m going to close this issue but you can can open a new one regarding security headers.
I already deleted the cache an logged out several times. But I found the problem.
Shame on me – it was my fault all along.
I set a
Content-Security-Policy
http header but I was missing the'inline'
part forscript-src
. This is what my header looks like and it seems to work now:I should have checked the browser console earlier: 🙄
Maybe modoboa could utilize
Content-Security-Policy
headers in the future and manage this by itself? They are a valid security feature I guess.