Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thanks for the tutorial! I have a problem, for some reason I cannot access the postgresql server :/ Not sure what is wrong… My server is running on a DO droplet. The port 5432 seems to be open: ~$ lsof -i :5432 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME postgres 23170 postgres 6u IPv4 9234028 0t0 TCP localhost:postgresql (LISTEN)
I have created a user/password and a database, but when I try to connect from my computer with HeidiSQL or pgAdmin, I get error messages like: “Is the server running on host “138.x.x.x” and accepting TCP/IP connections on port 5432?”
What am I missing?
when deactivated the virtual environment the output was permission denied. Can i get the solution?
Hey, currently the login page is: http://my_server_ip/login How can I change it, e. g. to http://my_server_ip/some_other_path/login ?
Thanks for an answer.
This was the first tutorial I followed from this site. Thank you very much for this post, it was 100% all the way through!
I’m getting a syntax error when trying to doing the vonfigtest. I check pgadmin4.conf several times and the path names are all correct. IP is correct. it says "syntax error on line on : invalid command ‘<virtualHost’, perhaps misspelled or defined by a module not included in the server configuration.“
I’m absolutely positive I inputted exactly as instructed
I fallow step by step and in step 4 I got an error from apache:
“Forbidden You don’t have permission to access / on this server.”
How can I slove this?
Is there a reason why we can’t just do:
sudo apt-get install pgadmin4 pgadmin4-apache2
Wouldn’t that essentially take care of things? What am I missing?
Thank for this great tutorial. I just meet the DO website and I’m loving it. I got an error message in Step3, after testing configuration file’s syntax:
cgobel@ZL-WORKSTATION:/$ apachectl configtest
AH00526: Syntax error on line 1 of /etc/apache2/sites-enabled/pgadmin4.conf:
Name duplicates previous WSGI daemon definition.
Action 'configtest' failed.
The Apache error log may have more information.
Could you help me to understand this error? Thanks
Hi,
I did a mistake when I created the user, and made the installation under /root.
But when I finished, I got the error 4.3 Forbidden.
Then I moved the folder environments/ to the user created, /home/USER_NAME.
But now the server isn’t answering, and after some time it gives Gateway Timeout.
Thanks, Carlos
Running python my_env/lib/python3.6/site-packages/pgadmin4/setup.py results in error:
Traceback (most recent call last):
File "my_env/lib/python3.6/site-packages/pgadmin4/setup.py", line 413, in <module>
setup_db()
File "my_env/lib/python3.6/site-packages/pgadmin4/setup.py", line 345, in setup_db
create_app_data_directory(config)
File "/home/scottj/environments/my_env/lib/python3.6/site-packages/pgadmin4/pgadmin/setup/data_directory.py", line 24, in create_app_data_directory
_create_directory_if_not_exists(os.path.dirname(config.SQLITE_PATH))
File "/home/scottj/environments/my_env/lib/python3.6/site-packages/pgadmin4/pgadmin/setup/data_directory.py", line 16, in _create_directory_if_not_exists
os.mkdir(_path)
PermissionError: [Errno 13] Permission denied: '/var/lib/pgadmin'
I believe that’s correct as there is no /var/lib/pgadmin directory as per these instructions. Even if I do this;
sudo chmod 777 -R /var/log/pgadmin4/
sudo chmod 777 -R /var/lib/pgadmin4/
It still results in the same error so it doesn’t appear to be a permission issue? So where did this go wrong?