Postgresql – Error: File ” couldn’t be removed (error 2: No such file or directory)

pgadmin-1.18postgresql

I get the following pgAdmin III error every time I restore a database, using pgAdmin III:

Error: File '' couldn't be removed (error 2: No such file or directory)

See the pgadmin log.

My configuration:

PostgreSQL 9.4.4 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu
4.8.2-19ubuntu1) 4.8.2, 64-bit

Linux 3.19.0-26-generic #28~14.04.1-Ubuntu SMP Wed Aug 12 14:09:17 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux

Best Answer

This bug was reported by Byaruhanga Franklin to the mailing lists,

I also tried with pgsql and pg_restore didn't get any error. i then changed to a lower version of PGADMIN3 1.18 still didn't get any error. i then built the new version 1.22.0 Alpha 2 from the git repository. this also has no error. i guess the problem is limited to only pgAdmin III Version 1.20.0.

Upgrade to PgAdmin3 1.22, or to PgAdmin4.