Re: pgadmin4 Installation (Dependency?) Issue on RHEL 8

2020-02-05 Thread Devrim Gündüz

Hi,

On Tue, 2020-02-04 at 18:22 +, Krunal Desai wrote:

> I’m going to try asking Red Hat about this too to see if there’s something
> really weird we are doing on our end, but checking to see if there were any
> issues found on the repo side?

Many of these issues should have gone away with 4.17.

Can you please test again and let me know?

Regards,
-- 
Devrim Gündüz
Principal Systems Engineer
EnterpriseDB: https://www.enterprisedb.com



signature.asc
Description: This is a digitally signed message part


Re: pgadmin-4.16 in RHEL-8 repo has broken dependencies

2020-01-01 Thread Devrim Gündüz

Hi,

On Mon, 2019-12-30 at 13:45 +0200, Assen Totin wrote:

> When upgrading pgadmin4 from 4.13 to 4.16 using yum and pgsql 12 repo on
> RHEL-8 during my weekly patching cycle, I got broken dependencies:

Sorry for the inconvenience. Just pushed update pgAdmin4 RPMs and the new
packaages that fixes this dependency issue. They will appear in the repo 1 hour
later.

Happy new year!

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: no rpm for 4.14?

2019-10-19 Thread Devrim Gündüz

Hi,

On Sat, 2019-10-19 at 12:41 +0200, toni incog wrote:
> can't wait:)

Upstream released 4.14 during PGCone.EU, where the packagers, etc were busy at
the conference. Will take a look at earliest convenience.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: import upload file to pgadmin get CSRF error

2019-08-09 Thread Devrim Gündüz

Hi,

On Wed, 2019-08-07 at 10:23 +1000, Wh isere wrote:
> I have checked both /usr/lib/python2.7/site-packages/pgadmin4-web/ and
> /usr/pgadmin4/ were untouched by the re-installation and update. I have
> also tried rename these folders but no new folders were created after
> re-installation. For some reason the folders related to web mode seem
> unaffected by any pgadmin4 change after they are installed. Any idea?

I need to see the exact commands you ran. What you wrote is almost impossible.
I'd say impossible, but leaving a window for an RPM bug that was not discovered
in last 20 years.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: import upload file to pgadmin get CSRF error

2019-08-09 Thread Devrim Gündüz

Hi,

On Wed, 2019-08-07 at 10:23 +1000, Wh isere wrote:
> I have tried remove and reinstall pgadmin4 but nothing changed.

What is the output of

rpm -qa|grep pgadmin

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: import upload file to pgadmin get CSRF error

2019-08-09 Thread Devrim Gündüz

Hi,

On Tue, 2019-08-06 at 09:02 +0100, Dave Page wrote:
> My second guess is that config.py has been directly edited on the server so
> when the RPMs were upgraded, the original config.py wasn't replaced, thus
> pgAdmin is reporting the version number from the previous version (the
> version number is defined in config.py).

This cannot happen -- I did not mark config.py as a "configuration file" in the
spec file.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: import upload file to pgadmin get CSRF error

2019-08-09 Thread Devrim Gündüz

Hi,

On Tue, 2019-08-06 at 16:36 +1000, Wh isere wrote:
> I also run yum upgrade pgadmin4*, but it said yum: No match.

Are you sure you got this message? No match is thrown if there are no such
packages in the repo. You already have pgadmin4 stuff. The message should be
"Nothing to do."

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: rpm stuck at v4.8

2019-07-12 Thread Devrim Gündüz

Hi,

On Mon, 2019-07-08 at 09:14 +0200, Michael Monerau wrote:
> same happens for me, Fedora 30 on dnf update :
> 
> ##
>  Problem: cannot install the best update candidate for package
> pgadmin4-web-4.8-1.f30.noarch
>   - nothing provides python3-werkzeug >= 0.15.4 needed by
> pgadmin4-web-4.10-1.f30.noarch
> 
> Skipping packages with broken dependencies:
>  pgadmin4-webnoarch
>4.10-1.f30
>   pgdg11
>   5.2 M
> ##

Pushed updated packages yesterday evening. Sorry for the inconvenience.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: rpm stuck at v4.8

2019-07-05 Thread Devrim Gündüz

Hi,

On Fri, 2019-07-05 at 12:41 +0200, toni incog wrote:
> Any chance on a fresh release for fedora30?

I did not release 4.9 intentionally, because 4.10 was near. Pushed packages,
they will be in the repos in 15 mins.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: Install pgadmin4 on Fedora 30

2019-05-24 Thread Devrim Gündüz

Hi,

On Thu, 2019-05-23 at 20:35 +0200, Michael Monerau wrote:
> 
> 
> It had to do with SELinux, which was blocking the access to the files
> because they are not decorated with the proper types. Based on the results
> from `/var/log/audit/audit.log` and the actual types of /var/lib/httpd and
> /var/log/httpd, I did the following, which could be useful to incorporate
> in the install script (or put in a README somewhere?):
> 
> ```
> sudo setsebool -P httpd_can_network_connect 1
> sudo setsebool -P httpd_can_network_connect_db 1
> sudo semanage fcontext -a -t httpd_var_lib_t '/var/lib/pgadmin(/.*)?'
> sudo restorecon -R -v /var/lib/pgadmin
> sudo semanage fcontext -a -t httpd_log_t '/var/log/pgadmin(/.*)?'
> sudo restorecon -R -v /var/log/pgadmin
> ``

How does this look?

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commitdiff;h=35bdf10258109b1f0e04d576a605d6b9cc7cdb1a

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: Install pgadmin4 on Fedora 30

2019-05-23 Thread Devrim Gündüz

Hi Michael,

On Wed, 2019-05-22 at 14:29 +0200, Michael Monerau wrote:

> I went through the install process you describe on your website (
> https://people.planetpostgresql.org/devrim/index.php?/archives/96-Installing-pgAdmin4-3.X-on-RHEL-CentOS-7-and-Fedora-27.html)
> but couldn't get it to work.
> 
> 1. Small typo in the install script pgadmin4-web-setup.sh: PGADMIN4INSTDIR
> is not known (miss a `$`). I replaced with the full path of the install on
> my system (/usr/lib/python3.7/site-packages/pgadmin4-web/) but I guess
> there is a cleaner way to be more general in the install.
> 
> 2. The webserver fails to serve the website, and I get that from httpd log:



Just pushed 4.6-2 packages to repos, which should fix this issue (at least it
fixed on my Fedora 30 box).

They will be available in 1 hour from now.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: fedora29 repo still serving up pgadmin4.4

2019-05-21 Thread Devrim Gündüz

Hi,

On Thu, 2019-05-16 at 13:34 -0400, Derrick Rice wrote:
> The fedora29 repo is still serving up pgadmin4.4
> 
> Which is broken due to psycopg2 dependency issues.
> 
> Where can I get pgadmin 4.5 (or later) as an RPM , suitable for Fedora?

I pushed 4.6 to repos. Sorry for the delay.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: Install pgadmin4 on Fedora 30

2019-05-21 Thread Devrim Gündüz
On Mon, 2019-05-20 at 10:52 +0200, Michael Monerau wrote:
> 
> I can't see a pgadmin4 package in the Fedora 30 official RPM (
> https://www.pgadmin.org/download/pgadmin-4-rpm/).
> 
> What is the best way to install pgadmin4 on Fedora 30, or is there a
> roadmap where pgadmin4 gets included in the RPM?

Pushed the packages the other day. Sorry for the delay.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: Install pgadmin4 on Fedora 30

2019-05-20 Thread Devrim Gündüz

Hi,

On Mon, 2019-05-20 at 10:52 +0200, Michael Monerau wrote:
> I can't see a pgadmin4 package in the Fedora 30 official RPM (
> https://www.pgadmin.org/download/pgadmin-4-rpm/).
> 
> What is the best way to install pgadmin4 on Fedora 30, or is there a
> roadmap where pgadmin4 gets included in the RPM?

As Dave wrote, I'm having issues at post-installation phase. We are on it. Once
we solve the issue, Fedora 30 packages will be out along with other supported
releases.

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Installing pgAdmin4 on RHEL/CentOS 7 and Fedora 27

2018-04-24 Thread Devrim Gündüz

Hi,

I wrote a short blog post about installing pgAdmin4 3.0 on RHEL/CentOS 7 and
Fedora 28

https://people.planetpostgresql.org/devrim/index.php?/archives/96-Installing-pgAdmin4-3.X-on-RHEL-CentOS-7-and-Fedora-27.html

Please note that I changed quite a few things in the packaging, so make sure
that you read these instructions before installing/upgrading.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

signature.asc
Description: This is a digitally signed message part


RE: pgAdmin 4 v2.0 Released!

2017-10-06 Thread Devrim Gündüz
Hi,

Sorry, I saw the problem now. The packages will appear in next 25 mins.

Regards, Devrim

On 6 October 2017 09:36:44 BST, Mike Surcouf  wrote:
>https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64
>
>Showing rc2 
>I have done a yum clean all
>
>
>-Original Message-
>From: Devrim Gündüz [mailto:dev...@gunduz.org] 
>Sent: 06 October 2017 01:25
>To: Mike Surcouf; 'Dave Page'; pgAdmin Support; pgadmin-hackers
>Subject: Re: pgAdmin 4 v2.0 Released!
>
>
>Hi,
>
>On Thu, 2017-10-05 at 16:26 +, Mike Surcouf wrote:
>> Will this be in the postgres 9.6 repo soon?
>
>It is available in RHEL 7, F-25 and F-26 repos.
>
>Regards,
>--
>Devrim Gündüz
>EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red
>Hat Certified Engineer
>Twitter: @DevrimGunduz , @DevrimGunduzTR

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: pgAdmin 4 v2.0 Released!

2017-10-05 Thread Devrim Gündüz

Hi,

On Thu, 2017-10-05 at 16:26 +, Mike Surcouf wrote:
> Will this be in the postgres 9.6 repo soon?

It is available in RHEL 7, F-25 and F-26 repos.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: Unable to install pgadmin4-v1 to Centos 7.3

2017-09-22 Thread Devrim Gündüz

Hi,

On Thu, 2017-09-21 at 23:41 -0700, Nicholas Ho wrote:
> When trying to install pgadmin4-v1 to my Centos7.3 server, I meet a lot of
> dependencies which needs to be installed.
> 
> I've install the EPEL and pgdg repo but the result is still the same.

I checked the list, and all of them are in the base CentOS repo, like libpng.

Are you using CentOS original repos, or another one which probably has less
number of packages?

I mean, you should be able to install libpng from CentOS repos, for example.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: Cant browse servers after update to pgadmin 1.6 (server version)

2017-07-19 Thread Devrim Gündüz

Hi,

On Wed, 2017-07-19 at 13:03 +, Mike Surcouf wrote:
> Is dev...@gunduz.org<mailto:dev...@gunduz.org> testing these repos by
> installing in the app path eg (pgadmin4) as per the docs?

At some point, yes, but not fully. I do more tests on my Fedora box.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part