Re: Cannot launch pgAdmin4

From: Laczkóczki Ákos <laczkoczki(dot)akos(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Cannot launch pgAdmin4
Date: 2016-10-16 11:23:53
Message-ID: CAPF6=btogMDg8_1j0d8CY6KU7v2dcE3URFZCZ_kwS-8VZa66JQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

I would like to inform you I have successfully fixed the issue.

Probably the problem was that the name of my user home directory contains
space and special characters. So, the exact path which pgAdmin uses for log
and reach the pgadmin4.db was the following:

c:\Users\Laczkóczki Ákos\AppData\Roaming\pgadmin4\

I think it wasn't able to reach the pgadmin4.db file because after trying
to launch pgadmin the size of the db file was 0.

I have modified the config.py file as the following:

if os.name == 'nt':
DATA_DIR =
os.path.realpath('c:/development/tools/PostgreSQL/pgadmin/data')
else:
DATA_DIR = os.path.realpath(os.path.expanduser('~/.pgadmin/'))

So, I changed the DATA_DIR to a custom place which path doesn't contain any
special thing and now I am able to launch pgAdmin and it seems it is
working fine.

Thanks for your help!

Best regards,
Akos

On 7 October 2016 at 14:47, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> On Fri, Oct 7, 2016 at 11:58 AM, Laczkóczki Ákos
> <laczkoczki(dot)akos(at)gmail(dot)com> wrote:
> > I have installed the standalone package but I am getting the exactly same
> > result, even if I extend the config_local.py property file.
>
> OK - did you install in the default location? I noticed your original
> paths were not in the Program Files directory, and I wonder if some of
> the Windows security is getting in the way.
>
> If not, is that something you can try? You can test with the
> standalone installer to avoid messing with your PostgreSQL
> installation - obviously you'll need to uninstall pgAdmin first.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Johann Spies 2016-10-17 10:05:04 Problem createing table with citext
Previous Message bradlymathews 2016-10-14 22:36:40 Re: PGAdmin 4 feature request/feedback