Re: centos 7 / pgadmin 4.7

From: Alex Williams <valenceshell(at)protonmail(dot)com>
To: Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com>
Cc: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>, "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: centos 7 / pgadmin 4.7
Date: 2019-06-04 16:32:57
Message-ID: 2Ubcweepz9-qd4u4cK9ITPMjttFeLTkZqH-yUkHeInUOKEeuZGk9PFJ16xmW9HhiR30w3pYwCXoGySfni7EAvmLL-PuLxzO0HsFdtMpNIhE=@protonmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Also, I've updated the ticket with the info below and the solution from Mike is working:

yum downgrade pgadmin4-python-flask

https://redmine.postgresql.org/issues/4313

[root(at)centos7dev output]# yum downgrade pgadmin4-python-flask
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 19 kB 00:00:00 * base: mirror.atlanticmetro.net * epel: ewr.edge.kernel.org * extras: mirror.atlanticmetro.net * nux-dextop: mirror.li.nux.ro * updates: mirror.atlanticmetro.net
adobe-linux-x86_64 | 2.9 kB 00:00:00
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
google-talkplugin | 951 B 00:00:00
nux-dextop | 2.9 kB 00:00:00
pgdg10 | 3.6 kB 00:00:00
pgdg11 | 3.6 kB 00:00:00
pgdg94 | 3.6 kB 00:00:00
pgdg95 | 3.6 kB 00:00:00
pgdg96 | 3.6 kB 00:00:00
skype-stable | 2.9 kB 00:00:00
updates | 3.4 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package pgadmin4-python-flask.noarch 1:0.12.4-1.rhel7 will be a downgrade
---> Package pgadmin4-python-flask.noarch 1:1.0.2-1.rhel7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================
Package Arch Version Repository Size ===============================================================================================================================================================================
Downgrading:
pgadmin4-python-flask noarch 1:0.12.4-1.rhel7 pgdg10 132 k

Transaction Summary ===============================================================================================================================================================================
Downgrade 1 Package

Total download size: 132 k
Is this ok [y/d/N]: y
Downloading packages:
pgadmin4-python-flask-0.12.4-1.rhel7.noarch.rpm | 132 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:pgadmin4-python-flask-0.12.4-1.rhel7.noarch 1/2
Cleanup : 1:pgadmin4-python-flask-1.0.2-1.rhel7.noarch 2/2
Verifying : 1:pgadmin4-python-flask-0.12.4-1.rhel7.noarch 1/2
Verifying : 1:pgadmin4-python-flask-1.0.2-1.rhel7.noarch 2/2

Removed:
pgadmin4-python-flask.noarch 1:1.0.2-1.rhel7

Installed:
pgadmin4-python-flask.noarch 1:0.12.4-1.rhel7

Complete!
[root(at)centos7dev output]#

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, June 4, 2019 12:20 PM, Alex Williams <valenceshell(at)protonmail(dot)com> wrote:

> Also, if I try to open those javascripts directly, I get the following responses:
> require.min.js:
> info
> ""
>
> errormsg
> "make_conditional() got an unexpected keyword argument 'accept_ranges'"
>
> data
> null
>
> result
> null
>
> success
> 0
>
> vendor.js:
> nfo
> ""
>
> errormsg
> "make_conditional() got an unexpected keyword argument 'accept_ranges'"
>
> data
> null
>
> result
> null
>
> success
> 0
>
> pgadmin_commons.js:
> info
> ""
>
> errormsg
> "make_conditional() got an unexpected keyword argument 'accept_ranges'"
>
> data
> null
>
> result
> null
>
> success
> 0
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, June 4, 2019 11:38 AM, Alex Williams <valenceshell(at)protonmail(dot)com> wrote:
>
>> Thank you both....also, here's is the console output when opening pgadmin on the browser:
>>
>> Loading failed for the <script> with source “http://127.0.0.1:37498/static/vendor/require/require.min.js?ver=40700”.
>> browser:4
>> ReferenceError: require is not defined[Learn More]
>> browser:5:13
>> Loading failed for the <script> with source “http://127.0.0.1:37498/static/js/generated/vendor.js?ver=40700”.
>> browser:25
>> Loading failed for the <script> with source “
>> browser:25
>> Loading failed for the <script> with source “http://127.0.0.1:37498/static/js/generated/pgadmin_commons.js?ver=40700”.
>> browser:25
>> ReferenceError: require is not defined[Learn More]
>> browser:48:1
>> ReferenceError: require is not defined
>> Stack trace:
>> @http://127.0.0.1:37498/browser/:30:1
>>
>> Sent with [ProtonMail](https://protonmail.com) Secure Email.
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>> On Tuesday, June 4, 2019 1:37 AM, Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com> wrote:
>>
>>> Hi Khushboo,
>>>
>>> This issue is already reported and attached the pgadmin4.log file:
>>> -----
>>> https://redmine.postgresql.org/issues/4313
>>>
>>> On Tue, Jun 4, 2019 at 9:42 AM Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>>
>>>> On Mon, Jun 3, 2019 at 9:16 PM Alex Williams <valenceshell(at)protonmail(dot)com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I did a yum update yesterday which updated some parts of pgadmin and now when I open the browser to use it, I get:
>>>>>
>>>>> Loading pgAdmin 4 v4.7...
>>>>>
>>>>> - [File](http://127.0.0.1:37498/browser/#)
>>>>>
>>>>> - [Edit](http://127.0.0.1:37498/browser/#)
>>>>>
>>>>> - [Object](http://127.0.0.1:37498/browser/#)
>>>>>
>>>>> - [Management](http://127.0.0.1:37498/browser/#)
>>>>>
>>>>> - [Tools](http://127.0.0.1:37498/browser/#)
>>>>>
>>>>> - [Help](http://127.0.0.1:37498/browser/#)
>>>>>
>>>>> And nothing else.
>>>>>
>>>>> This is the updated package list:
>>>>>
>>>>> [root(at)centos7dev output]# yum update
>>>>> Loaded plugins: fastestmirror, langpacks
>>>>> Loading mirror speeds from cached hostfile
>>>>> epel/x86_64/metalink | 17 kB 00:00:00
>>>>> * base: mirror.millry.co
>>>>> * epel: ewr.edge.kernel.org
>>>>> * extras: mirror.atlanticmetro.net
>>>>> * nux-dextop: mirror.li.nux.ro
>>>>> * updates: mirror.atlanticmetro.net
>>>>> adobe-linux-x86_64 | 2.9 kB 00:00:00
>>>>> base | 3.6 kB 00:00:00
>>>>> epel | 5.3 kB 00:00:00
>>>>> extras | 3.4 kB 00:00:00
>>>>> google-talkplugin | 951 B 00:00:00
>>>>> nux-dextop | 2.9 kB 00:00:00
>>>>> pgdg10 | 3.6 kB 00:00:00
>>>>> pgdg11 | 3.6 kB 00:00:00
>>>>> pgdg94 | 3.6 kB 00:00:00
>>>>> pgdg95 | 3.6 kB 00:00:00
>>>>> pgdg96 | 3.6 kB 00:00:00
>>>>> skype-stable | 2.9 kB 00:00:00
>>>>> updates | 3.4 kB 00:00:00
>>>>> (1/8): pgdg10/7/x86_64/primary_db | 230 kB 00:00:00
>>>>> (2/8): epel/x86_64/updateinfo | 977 kB 00:00:01
>>>>> (3/8): pgdg95/7/x86_64/primary_db | 247 kB 00:00:00
>>>>> (4/8): pgdg94/7/x86_64/primary_db | 258 kB 00:00:01
>>>>> (5/8): pgdg11/7/x86_64/primary_db | 185 kB 00:00:01
>>>>> (6/8): epel/x86_64/primary_db | 6.7 MB 00:00:02
>>>>> (7/8): skype-stable/primary_db | 11 kB 00:00:00
>>>>> (8/8): pgdg96/7/x86_64/primary_db | 248 kB 00:00:02
>>>>> Resolving Dependencies
>>>>> --> Running transaction check
>>>>> ---> Package pgadmin4.x86_64 0:4.7-2.rhel7 will be updated
>>>>> ---> Package pgadmin4.x86_64 0:4.8-1.rhel7 will be an update
>>>>> ---> Package pgadmin4-desktop-common.x86_64 0:4.7-2.rhel7 will be updated
>>>>> ---> Package pgadmin4-desktop-common.x86_64 0:4.8-1.rhel7 will be an update
>>>>> ---> Package pgadmin4-docs.noarch 0:4.7-2.rhel7 will be updated
>>>>> ---> Package pgadmin4-docs.noarch 0:4.8-1.rhel7 will be an update
>>>>> ---> Package pgadmin4-web.noarch 0:4.7-2.rhel7 will be updated
>>>>> ---> Package pgadmin4-web.noarch 0:4.8-1.rhel7 will be an update
>>>>> --> Finished Dependency Resolution
>>>>>
>>>>> Dependencies Resolved
>>>>>
>>>>> ===============================================================================================================================================================================
>>>>> Package Arch Version Repository Size
>>>>> ===============================================================================================================================================================================
>>>>> Updating:
>>>>> pgadmin4 x86_64 4.8-1.rhel7 pgdg10 10 k
>>>>> pgadmin4-desktop-common x86_64 4.8-1.rhel7 pgdg10 274 k
>>>>> pgadmin4-docs noarch 4.8-1.rhel7 pgdg10 29 M
>>>>> pgadmin4-web noarch 4.8-1.rhel7 pgdg10 5.2 M
>>>>>
>>>>> Transaction Summary
>>>>> ===============================================================================================================================================================================
>>>>> Upgrade 4 Packages
>>>>>
>>>>> Total download size: 34 M
>>>>> Is this ok [y/d/N]: y
>>>>> Downloading packages:
>>>>> No Presto metadata available for pgdg10
>>>>> (1/4): pgadmin4-4.8-1.rhel7.x86_64.rpm | 10 kB 00:00:00
>>>>> (2/4): pgadmin4-desktop-common-4.8-1.rhel7.x86_64.rpm | 274 kB 00:00:00
>>>>> (3/4): pgadmin4-web-4.8-1.rhel7.noarch.rpm | 5.2 MB 00:00:02
>>>>> (4/4): pgadmin4-docs-4.8-1.rhel7.noarch.rpm | 29 MB 00:00:27
>>>>> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>>> Total 1.2 MB/s | 34 MB 00:00:28
>>>>> Running transaction check
>>>>> Running transaction test
>>>>> Transaction test succeeded
>>>>> Running transaction
>>>>> Updating : pgadmin4-docs-4.8-1.rhel7.noarch 1/8
>>>>> Updating : pgadmin4-web-4.8-1.rhel7.noarch 2/8
>>>>> Updating : pgadmin4-desktop-common-4.8-1.rhel7.x86_64 3/8
>>>>> Updating : pgadmin4-4.8-1.rhel7.x86_64 4/8
>>>>> Cleanup : pgadmin4-4.7-2.rhel7.x86_64 5/8
>>>>> Cleanup : pgadmin4-desktop-common-4.7-2.rhel7.x86_64 6/8
>>>>> Cleanup : pgadmin4-web-4.7-2.rhel7.noarch 7/8
>>>>> Cleanup : pgadmin4-docs-4.7-2.rhel7.noarch 8/8
>>>>> Verifying : pgadmin4-desktop-common-4.8-1.rhel7.x86_64 1/8
>>>>> Verifying : pgadmin4-web-4.8-1.rhel7.noarch 2/8
>>>>> Verifying : pgadmin4-4.8-1.rhel7.x86_64 3/8
>>>>> Verifying : pgadmin4-docs-4.8-1.rhel7.noarch 4/8
>>>>> Verifying : pgadmin4-4.7-2.rhel7.x86_64 5/8
>>>>> Verifying : pgadmin4-docs-4.7-2.rhel7.noarch 6/8
>>>>> Verifying : pgadmin4-web-4.7-2.rhel7.noarch 7/8
>>>>> Verifying : pgadmin4-desktop-common-4.7-2.rhel7.x86_64 8/8
>>>>>
>>>>> Updated:
>>>>> pgadmin4.x86_64 0:4.8-1.rhel7 pgadmin4-desktop-common.x86_64 0:4.8-1.rhel7 pgadmin4-docs.noarch 0:4.8-1.rhel7 pgadmin4-web.noarch 0:4.8-1.rhel7
>>>>>
>>>>> Complete!
>>>>>
>>>>> Any help would be greatly appreciated.
>>>>
>>>> Do you see any error on browser console?
>>>> Please clear the cache and run the application.
>>>>
>>>>> Thanks,
>>>>>
>>>>> Alex
>>>>>
>>>>> Sent with [ProtonMail](https://protonmail.com) Secure Email.
>>>
>>> --
>>> Fahar Abbas
>>> QMG
>>>
>>> EnterpriseDB Corporation
>>> Phone Office: +92-51-835-8874
>>> Phone Direct: +92-51-8466803
>>> Mobile: +92-333-5409707
>>> Skype ID: live:fahar.abbas
>>> Website: www.enterprisedb.com

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Michelle Schwan 2019-06-04 19:12:49 RE: [EXTERNAL] - Re: pgAdmin IV
Previous Message Alex Williams 2019-06-04 16:20:25 Re: centos 7 / pgadmin 4.7