Closed theitmachine closed 3 years ago
Additional: Seeing 404 errors when digging into the page source on the "IMAP Migrations" tab from the main page
> Failed to load resource: the server responded with a status of 404 (Not Found)
> chunk-vendors.5f40bc64.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
> app.91979a7d.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
> chunk-vendors.5f40bc64.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
> app.91979a7d.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
> app.ce08a9d0.css:1 Failed to load resource: the server responded with a status of 404 (Not Found
https://somedomain/sitestatic/modoboa_imap_migration/js/app.91979a7d.js is the URL that's not found from above.
Doesn't look like /srv/modoboa/instance/sitestatic/modoboa_imap_migration exists.
Getting this when I run setup.py
(``` env) modoboa@itmpop2:~/modoboa-imap-migration$ python setup.py install running install running bdist_egg running egg_info writing requirements to modoboa_imap_migration.egg-info/requires.txt writing modoboa_imap_migration.egg-info/PKG-INFO writing top-level names to modoboa_imap_migration.egg-info/top_level.txt writing dependency_links to modoboa_imap_migration.egg-info/dependency_links.txt reading manifest template 'MANIFEST.in' warning: no files found matching 'COPYING' warning: no files found matching '.js' under directory 'modoboa_imap_migration' warning: no files found matching '.css' under directory 'modoboa_imap_migration' warning: no files found matching '.mo' under directory 'modoboa_imap_migration' warning: no files found matching '.json' under directory 'modoboa_imap_migration' warning: no files found matching '*' under directory 'doc' writing manifest file 'modoboa_imap_migration.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg
)
@theitmachine Have you run the collectstatic command?
Thanks for the quick response: Here's the output of the commands to install an extension from: https://modoboa.readthedocs.io/en/latest/installation.html
On the Imap Migration Tab I now get Sorry An internal Error Occured.
Errors on page in Source Viewer are:
Uncaught Error: Bootstrap's JavaScript requires jQuery at bootstrap.min.js:6 bootstrap-datetimepicker.min.js:1 Uncaught bootstrap-datetimepicker requires jQuery to be loaded first
I am getting the same errors now. Any idea how to fix it?
@andretux Can you set DEBUG to True inside settings.py, reload uwsgi and check the response tab in your browser console pleasE?
I had the same issue, and indeed, it was due to some js not being properly loaded (404 error in chrome debugger).
I had to run the collectstatic
command :
cd /srv/modoboa/instance
python ./manage.py collectstatic
-Ubuntu 18.04.3 -No errors in logs -CronJob Runs
Can't find where to enter information about old servers, either I am missing something in the setup or there's a problem.
Under the main page "Imap Migrations" tab, the resulting page is blank. View source shows no content at all.
Under ModoBoa -> Parameters -> Imap Migration
What am I doing wrong?