Gitlab Restore backup error

hi, I doing the restore from backup to another new server.

and I hit error for those msg

Restoring PostgreSQL databasse gitlabhq_production … ERROR: must be owner of extension pg_trgm
ERROR: must be owner of extension btree_gist
ERROR: must be owner of extension btree_gist
ERROR: must be owner of extension pg_trgm

how I can solve those error?

thanks

Just had the same messages while restoring a backup, but the restore worked.
Looks like it might be of no consequence, cf. postgresql - Error when restoring Postgres Database on RDS - Database Administrators Stack Exchange

I also always get those messages when doing a restore, but they seem not to matter, so I haven’t dug into them, but the issue causing them should be fixed.