I am trying to restore from a backup file, but after doing so I just get a blank browser window when trying to load the site. Here is what I have done (after a normal full fresh Matrix install):
Un-tarred the backup
dropdb -U postgres squiz_matrix
createdb -U postgres -O matrix -E UTF8 squiz_matrix
createlang -U postgres plpgsql squiz_matrix
psql -U postgres -f squiz_matrix-2012-07-25_16-55.dump
Then I get errors along with tons of successful DB stuff:
psql:squiz_matrix-2012-07-25_16-55.dump:72: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:75: ERROR: function public.asset_link_treeid_convert(bytea, character, integer, integer) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:89: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:92: ERROR: function public.atoi(character varying) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:125: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:128: ERROR: function public.sq_get_lineage_from_url(character varying) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:196: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:199: ERROR: function public.sq_get_lineage_treeids(character varying, integer, timestamp without time zone, integer) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:216: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:219: ERROR: function public.sq_get_lineage_treeids(character varying, integer) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:273: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:276: ERROR: function public.sq_get_parent_treeids(character varying, integer, timestamp without time zone) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:293: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:296: ERROR: function public.sq_get_parent_treeids(character varying, integer) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:316: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:319: ERROR: function public.sq_get_rollback_timestamp() does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:340: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:343: ERROR: function public.sq_grant_access(character varying) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:365: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:368: ERROR: function public.sq_grant_access(character varying, character varying) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:387: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:390: ERROR: function public.sq_rb_get_lineage_treeids(character varying, integer, timestamp without time zone, integer) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:409: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:412: ERROR: function public.sq_rb_get_parent_treeids(character varying, integer) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:452: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:455: ERROR: function public.sq_set_rollback_timestamp(timestamp without time zone) does not exist
psql:squiz_matrix-2012-07-25_16-55.dump:469: ERROR: language "plpgsql" does not exist
HINT: Use CREATE LANGUAGE to load the language into the database.
psql:squiz_matrix-2012-07-25_16-55.dump:472: ERROR: function public.sq_set_rollback_timestamp() does not existAlso, tons more errors. What have I done wrong?
Matrix 4.4.1
