Pgadmin4

cancel
Showing results for 
Search instead for 
Did you mean: 
DavidJM
Active Member

Pgadmin4

Hi Guys,

I am still struggling in vain to install Alfresco. After trying Docker and not being able to edit the configs to sort the user not displaying issue i tried Loftux's installer but that failed after a reboot and i havent had a response on thier forum (see Install troubles #148). Undaunted i turned to Abhinav Kumar Mishra's excellent instructions here. However when you reach config_distro.py there are no files at all in /usr/lib/python3.6/site-packages/pgadmin4-web/

Both Pythons are installed, if i run python -V && python3 -V, i get;

Python 2.7.5
Python 3.6.8

I installed pgadmin4 using 

$ sudo rpm -Uvh https://yum.postgresql.org/11/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
$ sudo yum install pgadmin4 -y

Becuase it wasnt in my Centos 7 repositary. It seems to installe OK, no errors and i have re-installed a few times, but no dice. Surely i cannot be the only one with this issue? Any thoughts?

Regards, David

3 Replies
abhinavmishra14
Advanced

Re: Pgadmin4

hi @DavidJM 

i replied here: https://javaworld-abhinav.blogspot.com/2021/02/setup-acs62-ga-and-ass14-distribution-stepbystep-cent...

sorry for delay in response. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
DavidJM
Active Member

Re: Pgadmin4

Thanks so much for your response Abhinav and please dont worry about the time, this is a community and i am sure you have better, fee paying, things to do!

My pgadmin4.conf is exactly as yours;

<VirtualHost *:80>
LoadModule wsgi_module modules/pgadmin4-python3-mod_wsgi.so
WSGIDaemonProcess pgadmin processes=1 threads=25
WSGIScriptAlias /pgadmin4 /usr/lib/python3.6/site-packages/pgadmin4-web/pgAdmin4.wsgi

<Directory /usr/lib/python3.6/site-packages/pgadmin4-web/>
WSGIProcessGroup pgadmin
WSGIApplicationGroup %{GLOBAL}
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
</VirtualHost>

abhinavmishra14
Advanced

Re: Pgadmin4

Hmm very strange. Path looks same. It should have by default created the file 

/usr/lib/python3.6/site-packages/pgadmin4-web/config_distro.py

Not really sure what's wrong going with installation. 

may be try creating the file manually and update the content in it and see if it works

~Abhinav
(ACSCE, AWS SAA, Azure Admin)