Postgres 10 and pgadmin 4 not working in ubuntu 18.04 - pgadmin-4

I installed postgres 10 and pgadmin 4 using the GUI installer provided by the enterprise db as usual i used in ubuntu 16.04. Everything getting successfully installed but nothing is working. Postgres server not getting started. Pgadmin 4 not responding when click on it. I feel like there is an incompatibility issue with newer version of them (both ubuntu and postgres). I have used ubuntu and postgres with pgadmin client for many years but never experienced such thing before.Each time i click on pgadmin 4 got an crashed message. So I installed postgres 9.6 and pgadmin 3. They worked fine. Pgadmin 4 not working even with the postgres 9.6. Any idea why?

Related

PostgresSQL / pgAdmin4 / dump server version mismatch

I tried to make a backup with Postgres 11.1 in pgAdmin4, but it failed.
pgadmin displayed a window with
Status: Failed (exit code: 1).
pg_dump:server version: 11.1; pg_dump: 10.5
pg_dump: aborting because of server mismatch
I don't really understand it. Does pgadmin4 not know that I am using 11.1 and not 10.5?
PROBLEM SOLVED - IN MY CASE.
Go to
pgadmin < Preferences < Path < Binary Path
The PostgreSQL Binary Path was set automatically to $DIR/../runtime
I changed the Path to my installed PostgreSQL Version C:\Program Files\PostgreSQL\11\bin
Your pgAdmin is using PostgresSQL client v10, but your server is v11.
Since v10 cannot know how to correctly dump a v11 database, it refuses to try.
Use a more recent version of pgAdmin!

in openfoam, paraview cannot connect to X server

My background in ubuntu and OpenFOAM: I started to learn to simulate in OpenFoam this week. I have windows 10 on my laptop and downloaded ubuntu 18.04 from the app store. In ubuntu OpenFOAM and paraview are installed by a guy from the ICT-helpdesk (paraview has already worked). Also, the Xming X server is installed.
My question: During the first tutorial (cavity) you must visualize the data with paraview. So after the guy installed everything, I could use paraview. Now I closed ubuntu and started again. If I now call paraFoam into action I get the following lines:
Created temporary 'cavity.foam'
paraview: cannot connect to X server
Does anybody know what to do with this? I checked this forum and I checked google, but could not find anybody with this specific problem.
Sincerely,
Me
Make sure that xming is running then run the following on your ubuntu terminal:
export DISPLAY=localhost:0
Now you can run paraview:
paraview

Cannot succesfully install TimescaleDB on Postgres 10 (Windows Server 2016)

I am having trouble getting TimescaleDB to work on my windows server 2016 machine with Postgres 10.
I open up a fresh windows server 2016 instance with AWS and I install Postgres using the windows GUI installer. (C:\Postgres).
The installer automatically updates the path to include the bin directory (C:\PostgreSQL\pg10\bin).
I stop postgres.
I run the TimescaleDB windows installer file and it says it's successfully completed.
I update the conf file. (shared_preload_libraries = 'timescaledb').
I restart my computer and start postgres, but postgres never sucessfully starts. The windows event yells at me, saying I 2018-03-29 17:01:35 UTC [952]: [1-1] user=,db=,app=,client= FATAL: could not load library "C:/POSTGR~1/pg10/../pg10/lib/postgresql/timescaledb.dll": The specified module could not be found.
Any idea whats going on?
This may be related to https://github.com/timescale/timescaledb/issues/485#issuecomment-377533298 which is caused by a missing dependency, Visual C++ Redistributable for Visual Studio 2015.

PostgreSQL 9.3 Uninstall error - Windows 2012

I am trying to uninstall PostgreSQL 9.3 from a Windows 2012 server using the uninstall-postgresql.exe. During the uninstall, I get an error:
The uninstall-postgresql.dat file cannot be found and is required to uninstall the application, aborting. Uninstallation did not complete successfully
The uninstall-postgresql.dat exists. Not sure if its corrupt or something.
Is there anyway to get rid of this error message and still use the uninstall-postgresql.exe to uninstall the DB from the Windows system?

How to Update to version 1.2 of pgAdmin 4,

I have downloaded and installed the latest version 1.2 for PGAdmin but I keep getting the message "You are currently running version 1.1 of PGAdmin 4, however the current version is 1.2"
What am I missing? (I'm on Windows 10 64-bit).
Did you uninstalled previous version before installing newer version?
If not then do so and try again.
I have Windows 7, but did you try something like: navigate to Control Panel\All Control Panel Items\Programs and Features, find pgAdmin 4 version [?], click it once, right-click, uninstall?

Resources