I tryed to restore my old PostGIS dumps (Postgis 2.1, PostgreSQL 9.1) at my new system (PostGIS 2.2 and PostgreSQL 9.5)
I was using pgadmin3 to dump the databases and was now trying to restore it with pgadmin3 but got this error:
pg_restore: [archiver (db)] could not execute query: ERROR: could not access file "$libdir/postgis-2.1": No such file or directory
Do I have to downgrade my PostGIS-Version back to 2.1? Or is there a more elegant way?
Im working on a Ubuntu 16.04 system.