Thread: Mime Type Error Linux
Hello,
I just installed pgAdmin according to on my Linux Server behind uWSGI and Nginx.
I cant get past the login page however since i get javascript errors:
Refused to apply style from 'http://---/login?next=%2Fbrowser%2Fbrowser.css%3Fver%3D50300' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Refused to execute script from 'http://---/login?next=%2Fuser_management%2Fcurrent_user.js%3Fver%3D50300' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
I tried accessing the page with Chrome and Firefox, neither worked. Whilst looking for solutions i only found fixes for pgAdmin hosted on windows, i am howevery running linux which doesnt have a registry. Am i doing something wrong?
Best Regards,
Paul
On Mon, Jun 14, 2021 at 12:25:49AM +0200, Sammy K wrote: > Hello, > I just installed pgAdmin according to > https://www.pgadmin.org/docs/pgadmin4/development/server_deployment.html# > nginx-configuration-with-uwsgi > on my Linux Server behind uWSGI and Nginx. > I cant get past the login page however since i get javascript errors: > > Refused to apply style from 'http://---/login?next= > %2Fbrowser%2Fbrowser.css%3Fver%3D50300' because its MIME type ('text/html') is > not a supported stylesheet MIME type, and strict MIME checking is enabled. > > Refused to execute script from 'http://---/login?next= > %2Fuser_management%2Fcurrent_user.js%3Fver%3D50300' because its MIME type > ('text/html') is not executable, and strict MIME type checking is enabled. > > I tried accessing the page with Chrome and Firefox, neither worked. Whilst > looking for solutions i only found fixes for pgAdmin hosted on windows, i am > howevery running linux which doesnt have a registry. Am i doing something > wrong? For pgAdmin support, see: https://www.pgadmin.org/support/list/ or email pgadmin-support@postgresql.org -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.