PG::UndefinedTable: FOUT: relatie "pg_range" bestaat niet

That’s very old.

You should be running 13.x nowadays.