Re: My account was locked in pgadmin4 - Mailing list pgadmin-support

From Aditya Toshniwal
Subject Re: My account was locked in pgadmin4
Date
Msg-id CAM9w-_mDeZBvARFv+4XgzDrftoFi93gXCzeRtUZY0+NXaf890Q@mail.gmail.com
Whole thread Raw
In response to Re: My account was locked in pgadmin4  (William Torrez Corea <willitc9888@gmail.com>)
List pgadmin-support
Hi William,

Refer - https://www.pgadmin.org/docs/pgadmin4/latest/config_py.html#the-config-py-file to create a config_local file and add the mentioned config settings.
Refer - https://kinsta.com/blog/gmail-smtp-server/ to use your gmail for SMTP.

Alternatively, if you have access to your pgAdmin installation then you can simply remove the pgadmin4.db file. It should be in /var/lib/pgadmin. Please note, this will also remove all the server configuration added to pgAdmin. Once removed, run sudo /usr/pgadmin4/bin/setup-web.sh to set username password again.

On Thu, Nov 24, 2022 at 10:01 PM William Torrez Corea <willitc9888@gmail.com> wrote:

On Thu, Nov 24, 2022 at 2:06 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi William,

Have you configured the SMTP configuration in pgAdmin? You need to set it to receive emails.

##########################################################################
# Mail server settings
##########################################################################

# These settings are used when running in web server mode for confirming
# and resetting passwords etc.
# See: http://pythonhosted.org/Flask-Mail/ for more info
MAIL_SERVER = 'localhost'
MAIL_PORT = 25
MAIL_USE_SSL = False
MAIL_USE_TLS = False
MAIL_USERNAME = ''
MAIL_PASSWORD = ''
MAIL_DEBUG = False 

Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"

How to make this configuration?

--

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀




--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"

pgadmin-support by date:

Previous
From: William Torrez Corea
Date:
Subject: Re: My account was locked in pgadmin4
Next
From: William Torrez Corea
Date:
Subject: Configure my server