Re: Hosting pgAdmin4 with Apache/WSGI

2017-09-18 Thread Harshal Dhumal
; >> >> >>> ​ >>> If you still having any issue, let us know. >>> >> >> Three things: >> >> 1. I am unable to add another pgAdmin user. The dialog opens, and I can >> type in the e-mail, password, and confirm-pass

Re: Hosting pgAdmin4 with Apache/WSGI

2017-09-18 Thread Dave Page
user. > > 2. Playing around with this, I set myself to user instead of > administrator, and now I can't switch myself back to administrator. Is > there a recommended way to modify the user database with shell access? I'd > use this to switch myself back to administrat

Re: Hosting pgAdmin4 with Apache/WSGI

2017-09-16 Thread Gabriel Sánchez
able to add a user with the GUI. (For now I'll clear the DB file and rerun setup.py, but I'd like to have a way that doesn't erase the server definitions or other users that are working well.) 3. I'm still wondering about issue #3 in my original post. The documentation says

Re: Hosting pgAdmin4 with Apache/WSGI

2017-09-16 Thread Surinder Kumar
set the *python-path* to virtual env in your *apache.conf* file​ ​like: WSGIDaemonProcess pgadmin processes=1 threads=25 \ python-path=/home/surinder/venv/py27/:/home/surinder/venv/py27/lib/python2.7/site-packages/ > > And, just to confirm, does v2 RC1 run from a subdirectory as well as

Re: Hosting pgAdmin4 with Apache/WSGI

2017-09-15 Thread Gabriel Sánchez
ironment seems to have addressed that. Is the modification to pgadmin.wsgi to activate the virtual environment a good fix? Or is there an option I could add in config_local.py with a path to the virtual environment? And, just to confirm, does v2 RC1 run from a subdirectory as well as on web root? &

Re: Hosting pgAdmin4 with Apache/WSGI

2017-09-14 Thread Dave Page
he code which makes it *much* faster. > > > *From:* Gabriel Sánchez [mailto:gabrielesanc...@gmail.com] > *Sent:* 14 September 2017 17:32 > *To:* pgadmin-supp...@postgresql.org > *Subject:* Hosting pgAdmin4 with Apache/WSGI > > > > Hi team, > > > > Thanks for the hard work

RE: Hosting pgAdmin4 with Apache/WSGI

2017-09-14 Thread Mike Surcouf
[mailto:gabrielesanc...@gmail.com] Sent: 14 September 2017 17:32 To: pgadmin-supp...@postgresql.org Subject: Hosting pgAdmin4 with Apache/WSGI Hi team, Thanks for the hard work you've put in to develop pgAdmin4 and provide support to the community. I'm writing to ask for your help to set u

Hosting pgAdmin4 with Apache/WSGI

2017-09-14 Thread Gabriel Sánchez
Hi team, Thanks for the hard work you've put in to develop pgAdmin4 and provide support to the community. I'm writing to ask for your help to set up pgAdmin4 in server mode under Apache with WSGI. I'm running Ubuntu 16.04 Server and installing pgAdmin4 version 1.6 with Python 2.7.12. A couple o