modoboa / modoboa-installer

An installer for Modoboa
MIT License
254 stars 135 forks source link

Fresh install not working in debian 11 - install modoboa 2.0 config files ? #526

Closed Skamasle closed 4 months ago

Skamasle commented 10 months ago

Impacted versions

With default options installer working fine and not get any errors, but Modoboa not working.

In my case, database tables are missing

And I see wrong information in settings.py

`MODOBOA_APPS = ( 'modoboa', 'modoboa.core', 'modoboa.lib', 'modoboa.admin', 'modoboa.transport', 'modoboa.relaydomains', 'modoboa.limits', 'modoboa.parameters', 'modoboa.dnstools', 'modoboa.policyd', 'modoboa.maillog', 'modoboa.pdfcredentials', <<<<<<<<<<<<<<< This was removed from 2.1 'modoboa.dmarc', 'modoboa.imap_migration',

Modoboa extensions here.

'modoboa_amavis',
'modoboa_pdfcredentials', <<<<<<<<<<<<<  here its again
'modoboa_postfix_autoreply',
'modoboa_sievefilters',
'modoboa_webmail',
'modoboa_contacts',
'modoboa_radicale',

) `

I remove modoboa.pdfcredentials from settings.py, run python check and recreate database

Now uwsgi start without errors

But interface not loading CSS

I fix this by editing nginx conf

location /sitestatic/ { try_files $uri $uri/ =404; }

for

location /static/ { try_files $uri $uri/ =404; }

I try install in 4 diferent servers with debian 11, and get same issue 4 times :/

Spitfireap commented 8 months ago

Hi are you running a recent clone of the installer ? In fact, it is the opposite : you should keep modoboa.pdfcredentials and remove modoboa_pdfcredentials...

Skamasle commented 8 months ago

Yes I download last installer in each install.

El vie, 5 ene 2024 12:53, Spitfireap @.***> escribió:

Hi are you running a recent clone of the installer ? In fact, it is the opposite : you should keep modoboa.pdfcredentials and remove modoboa_pdfcredentials...

— Reply to this email directly, view it on GitHub https://github.com/modoboa/modoboa-installer/issues/526#issuecomment-1878548394, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEVO5PN7A2EJGKNXZPO6EDYM7SR7AVCNFSM6AAAAAA6TNGMTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZYGU2DQMZZGQ . You are receiving this because you authored the thread.Message ID: @.***>

Spitfireap commented 8 months ago

@Skamasle, could you post the output of cat /srv/modoboa/instance/instance/settings.py | grep static?