public inbox for [email protected]  
help / color / mirror / Atom feed
Mime Type Error Linux
2+ messages / 2 participants
[nested] [flat]

* Mime Type Error Linux
@ 2021-06-13 22:25  Sammy K <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Sammy K @ 2021-06-13 22:25 UTC (permalink / raw)
  To: pgsql-novice

Hello,
I just installed pgAdmin according to
https://www.pgadmin.org/docs/pgadmin4/development/server_deployment.html#nginx-configuration-with-uw...
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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Mime Type Error Linux
@ 2021-06-14 21:22  Bruce Momjian <[email protected]>
  parent: Sammy K <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2021-06-14 21:22 UTC (permalink / raw)
  To: Sammy K <[email protected]>; +Cc: pgsql-novice

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

	[email protected]

-- 
  Bruce Momjian  <[email protected]>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-06-14 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-06-13 22:25 Mime Type Error Linux Sammy K <[email protected]>
2021-06-14 21:22 ` Bruce Momjian <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox