Thread: PGAdmin - psql tool issue

PGAdmin - psql tool issue

From
ryaz aws
Date:

Hi Team,

I installed the pgadmin web version and enabled the psql tool - ENABLE_PSQL=True.
However the psql tool does not show a prompt to execute commands, it just has a cursor that blinks on a blank page, attached the screenshot.

Tried changing the bin path in preferences i.e. by default set to /usr/bin, that did not help.
Note: This works on the Desktop version.

Best Regards,
Ryaz


Attachment

Re: PGAdmin - psql tool issue

From
Khushboo Vashi
Date:


On Fri, Jan 21, 2022 at 9:17 AM ryaz aws <ryazaws@gmail.com> wrote:

Hi Team,

I installed the pgadmin web version and enabled the psql tool - ENABLE_PSQL=True.
However the psql tool does not show a prompt to execute commands, it just has a cursor that blinks on a blank page, attached the screenshot.

Tried changing the bin path in preferences i.e. by default set to /usr/bin, that did not help.
Note: This works on the Desktop version.

On which OS have you installed pgAdmin in web mode?
 
Best Regards,
Ryaz


Re: PGAdmin - psql tool issue

From
ryaz aws
Date:

This is installed on RHEL 7.

On Thu, Jan 20, 2022 at 11:31 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:


On Fri, Jan 21, 2022 at 9:17 AM ryaz aws <ryazaws@gmail.com> wrote:

Hi Team,

I installed the pgadmin web version and enabled the psql tool - ENABLE_PSQL=True.
However the psql tool does not show a prompt to execute commands, it just has a cursor that blinks on a blank page, attached the screenshot.

Tried changing the bin path in preferences i.e. by default set to /usr/bin, that did not help.
Note: This works on the Desktop version.

On which OS have you installed pgAdmin in web mode?
 
Best Regards,
Ryaz


Re: PGAdmin - psql tool issue

From
Khushboo Vashi
Date:
Hi Ryaz,

This issue is already logged. Ref: https://redmine.postgresql.org/issues/6567

As a workaround you can do following things:

  • Disable selinux on your system if it is enabled
  •  Add below lines in '/etc/httpd/pgadin4.conf' file and restart the apache.
<location /socket.io/>
    RewriteEngine  on
    RewriteRule "/socket.io"  "/pgadmin4/socket.io/"
</location>

Thanks,
Khushboo


On Fri, Jan 21, 2022 at 7:59 PM ryaz aws <ryazaws@gmail.com> wrote:

This is installed on RHEL 7.

On Thu, Jan 20, 2022 at 11:31 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:


On Fri, Jan 21, 2022 at 9:17 AM ryaz aws <ryazaws@gmail.com> wrote:

Hi Team,

I installed the pgadmin web version and enabled the psql tool - ENABLE_PSQL=True.
However the psql tool does not show a prompt to execute commands, it just has a cursor that blinks on a blank page, attached the screenshot.

Tried changing the bin path in preferences i.e. by default set to /usr/bin, that did not help.
Note: This works on the Desktop version.

On which OS have you installed pgAdmin in web mode?
 
Best Regards,
Ryaz