Re: portion of pgadmin page not allowed to display

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Tom Plancon <tplancon(at)bkaarchs(dot)com>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: portion of pgadmin page not allowed to display
Date: 2023-05-09 08:13:48
Message-ID: CA+OCxow-ZQmTGLAZNhPHCROoqJzpJKgZPPgfZ=88qzfudD51xA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Fri, 5 May 2023 at 22:32, Tom Plancon <tplancon(at)bkaarchs(dot)com> wrote:

> Dave,
>
>
>
> Here is a screenshot of headers from Dev Tools, ( I thought you were
> referring to pgadmin dev tools – sorry!).
>
>
>
>
>
> It appears I have 2 settings that contradict each other, and a set of
> duplicate X-Content-Type-Options. I assume that means 2 different apache2
> conf files are being referenced?
>

That would be my guess, yes. I note there are two X-Content-Type-Options
headers as well, so I suspect your configuration is messed up in some way
that's causing things to get set twice. I'd have a search for other config
files that might be setting either of those headers for the same virtual
host.

>
>
> *Thomas Plancon*
>
> *CAD/IT Manager*
>
>
>
> *BKA / Architects* <http://www.bkaarchitects.com/>
>
> *Main Office* *|* *508.583.5603*
>
> 142 Crescent Street | Brockton, MA 02302
>
> LinkedIn <http://linkedin.com/company/bka-architects> | Facebook
> <https://facebook.com/pages/BKA-Architects-Inc/164150853637095> |
> Instagram <http://www.instagram.com/bka_architects>
>
>
>
> <http://www.bkaarchitects.com/>
>
>
>
>
>
> *From:* Dave Page <dpage(at)pgadmin(dot)org>
> *Sent:* Friday, May 5, 2023 4:25 AM
> *To:* Tom Plancon <tplancon(at)bkaarchs(dot)com>
> *Cc:* pgadmin-support(at)lists(dot)postgresql(dot)org
> *Subject:* Re: portion of pgadmin page not allowed to display
>
>
>
> Hi
>
>
>
> On Fri, 5 May 2023 at 02:36, Tom Plancon <tplancon(at)bkaarchs(dot)com> wrote:
>
> Hi Dave,
>
>
>
> Thank you for your response.
>
>
>
> In the apache2 security.conf, the “Header set X-Frame-Options “sameorigin”
> ” line was commented out. I uncommented it, restarted apache2 and
> postgresql, no change in pgadmin4 behavior.
>
>
>
> I added the line directly to the apache2.conf, restarted everything again,
> no change.
>
>
>
> I don’t seem to have the developers tools you mentioned. Again, I
> installed pgadmin4 from the Ubuntu apt repository.
>
>
>
> The developer tools are built into Firefox - see
> https://firefox-source-docs.mozilla.org/devtools-user/.
>
>
>
> Please check the response headers (and post them here) for the initial
> request to the server, and for any that have been blocked (they normally
> get displayed in red).
>
>
>
>
>
> I’m running this Ubuntu server on the Azure cloud. I’m wondering if that
> is putting some restrictions on server behavior.
>
>
>
> It shouldn't make any difference. People run in the cloud all the time.
>
>
>
>
>
> BTW, how do you stop, restart pgadmin4, by restarting postgresql?
>
>
>
>
>
> No - the PostgreSQL server often isn't even on the same VM. Assuming
> you're running pgAdmin in web mode using a standard setup done by our
> setup-web.sh (i.e. mod_wsgi, not uwsgi or gunicorn), to restart the pgAdmin
> server you simply restart the Apache server that it's hosted by.
>
>
>
> --
>
> Dave Page
> Blog: https://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EDB: https://www.enterprisedb.com
>

--
Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprisedb.com

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Mischa van der Hout | Regelink Ecologie & Landschap 2023-05-10 08:28:04 error
Previous Message Tony Shelver 2023-05-06 05:08:21 Re: Unable to install Application Stack Builder