Setting up pgAdmin4 as a web application

From: Derek Ealy <dealy663(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Setting up pgAdmin4 as a web application
Date: 2016-10-18 17:42:18
Message-ID: CAA9027UxrjJzdOTRa7yGbfu5UWKhbwdFyMy_NiCPjpgt_3Vndg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

I've been trying to get pgAdmin4 to work as a web app for a couple of days.
I've finally figured out python, pip, wsgi, apache (I think). I can see
from the logs that is failing when trying to select from the version table
which I assume should be in the sqlite Db as opposed to my postgres
instance.

I've located my pgadmin4.db file and can see that has zero bytes in it.

Here is the message that appears in my apache error log when I try to
access the pgadmin4 website:

OperationalError: (sqlite3.OperationalError) no such table: version [SQL:
u'SELECT version.name AS version_name, version.value AS version_value
\\nFROM version \\nWHERE version.name = ?\\n LIMIT ? OFFSET ?']
[parameters: ('ConfigDB', 1, 0)], referer: http://dbgsdev01.nw.loc/

Any ideas how I can get this fixed?

Thanks, Derek

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2016-10-19 05:46:26 Re: RM1849: Auto-generating security keys
Previous Message Dave Page 2016-10-18 13:38:14 Re: Language node patch