Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "ignition.py", line 598, in <module>
- main()
- File "ignition.py", line 554, in main
- load_fixtures()
- File "ignition.py", line 67, in load_fixtures
- run_command('pg_restore -i -h localhost -p 5432 -U postgres -d db1 -v "/var/lib/project/backup/db1.backup" -c')
- File "/var/lib/project/popen_helper.py", line 30, in run_command
- raise Exception, mesg
- Exception: Error [-9]: pg_restore -i -h localhost -p 5432 -U postgres -d db1 -v "/var/lib/project/backup/db1.backup" -c
- Detail: pg_restore: connecting to database for restore
- pg_restore: dropping FK CONSTRAINT user_group_user_id_fkey
- pg_restore: [archiver (db)] Error while PROCESSING TOC:
- pg_restore: [archiver (db)] Error from TOC entry 1853; 2606 57664 FK CONSTRAINT user_group_user_id_fkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_group_user_id_fkey" of relation "user_group" does not exist
- Command was:
- ALTER TABLE ONLY public.user_group DROP CONSTRAINT user_group_user_id_fkey;
- pg_restore: dropping FK CONSTRAINT user_group_group_id_fkey
- pg_restore: [archiver (db)] Error from TOC entry 1854; 2606 57669 FK CONSTRAINT user_group_group_id_fkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_group_group_id_fkey" of relation "user_group" does not exist
- Command was: ALTER TABLE ONLY public.user_group DROP CONSTRAINT user_group_group_id_fkey;
- pg_restore: dropping FK CONSTRAINT group_permission_permission_id_fkey
- pg_restore: [archiver (db)] Error from TOC entry 1856; 2606 57682 FK CONSTRAINT group_permission_permission_id_fkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "group_permission_permission_id_fkey" of relation "group_permission" does not exist
- Command was: ALTER TABLE ONLY public.group_permission DROP CONSTRAINT group_permission_permission_id_fkey;
- pg_restore: dropping FK CONSTRAINT group_permission_group_id_fkey
- pg_restore: [archiver (db)] Error from TOC entry 1855; 2606 57677 FK CONSTRAINT group_permission_group_id_fkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "group_permission_group_id_fkey" of relation "group_permission" does not exist
- Command was: ALTER TABLE ONLY public.group_permission DROP CONSTRAINT group_permission_group_id_fkey;
- pg_restore: dropping FK CONSTRAINT code_tag_tag_id_fkey
- pg_restore: [archiver (db)] Error from TOC entry 1858; 2606 57698 FK CONSTRAINT code_tag_tag_id_fkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "code_tag_tag_id_fkey" of relation "code_tag" does not exist
- Command was: ALTER TABLE ONLY public.code_tag DROP CONSTRAINT code_tag_tag_id_fkey;
- pg_restore: dropping FK CONSTRAINT code_tag_code_id_fkey
- pg_restore: [archiver (db)] Error from TOC entry 1857; 2606 57693 FK CONSTRAINT code_tag_code_id_fkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "code_tag_code_id_fkey" of relation "code_tag" does not exist
- Command was: ALTER TABLE ONLY public.code_tag DROP CONSTRAINT code_tag_code_id_fkey;
- pg_restore: dropping CONSTRAINT user_user_name_key
- pg_restore: [archiver (db)] Error from TOC entry 1850; 2606 57650 CONSTRAINT user_user_name_key postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_user_name_key" of relation "user" does not exist
- Command was: ALTER TABLE ONLY public."user" DROP CONSTRAINT user_user_name_key;
- pg_restore: dropping CONSTRAINT user_pkey
- pg_restore: [archiver (db)] Error from TOC entry 1848; 2606 57648 CONSTRAINT user_pkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_pkey" of relation "user" does not exist
- Command was: ALTER TABLE ONLY public."user" DROP CONSTRAINT user_pkey;
- pg_restore: dropping CONSTRAINT user_email_address_key
- pg_restore: [archiver (db)] Error from TOC entry 1846; 2606 57652 CONSTRAINT user_email_address_key postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "user_email_address_key" of relation "user" does not exist
- Command was: ALTER TABLE ONLY public."user" DROP CONSTRAINT user_email_address_key;
- pg_restore: dropping CONSTRAINT tag_pkey
- pg_restore: [archiver (db)] Error from TOC entry 1828; 2606 57574 CONSTRAINT tag_pkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "tag_pkey" of relation "tag" does not exist
- Command was: ALTER TABLE ONLY public.tag DROP CONSTRAINT tag_pkey;
- pg_restore: dropping CONSTRAINT tag_name_key
- pg_restore: [archiver (db)] Error from TOC entry 1826; 2606 57576 CONSTRAINT tag_name_key postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "tag_name_key" of relation "tag" does not exist
- Command was: ALTER TABLE ONLY public.tag DROP CONSTRAINT tag_name_key;
- pg_restore: dropping CONSTRAINT runtable_pkey
- pg_restore: [archiver (db)] Error from TOC entry 1852; 2606 57660 CONSTRAINT runtable_pkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "runtable_pkey" of relation "runtable" does not exist
- Command was: ALTER TABLE ONLY public.runtable DROP CONSTRAINT runtable_pkey;
- pg_restore: dropping CONSTRAINT permission_pkey
- pg_restore: [archiver (db)] Error from TOC entry 1836; 2606 57603 CONSTRAINT permission_pkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "permission_pkey" of relation "permission" does not exist
- Command was: ALTER TABLE ONLY public.permission DROP CONSTRAINT permission_pkey;
- pg_restore: dropping CONSTRAINT permission_permission_name_key
- pg_restore: [archiver (db)] Error from TOC entry 1834; 2606 57605 CONSTRAINT permission_permission_name_key postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "permission_permission_name_key" of relation "permission" does not exist
- Command was: ALTER TABLE ONLY public.permission DROP CONSTRAINT permission_permission_name_key;
- pg_restore: dropping CONSTRAINT group_pkey
- pg_restore: [archiver (db)] Error from TOC entry 1844; 2606 57635 CONSTRAINT group_pkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "group_pkey" of relation "group" does not exist
- Command was: ALTER TABLE ONLY public."group" DROP CONSTRAINT group_pkey;
- pg_restore: dropping CONSTRAINT group_group_name_key
- pg_restore: [archiver (db)] Error from TOC entry 1842; 2606 57637 CONSTRAINT group_group_name_key postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "group_group_name_key" of relation "group" does not exist
- Command was: ALTER TABLE ONLY public."group" DROP CONSTRAINT group_group_name_key;
- pg_restore: dropping CONSTRAINT codes_pkey
- pg_restore: [archiver (db)] Error from TOC entry 1830; 2606 57584 CONSTRAINT codes_pkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "codes_pkey" of relation "codes" does not exist
- Command was: ALTER TABLE ONLY public.codes DROP CONSTRAINT codes_pkey;
- pg_restore: dropping CONSTRAINT buildtable_pkey
- pg_restore: [archiver (db)] Error from TOC entry 1840; 2606 57624 CONSTRAINT buildtable_pkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "buildtable_pkey" of relation "buildtable" does not exist
- Command was: ALTER TABLE ONLY public.buildtable DROP CONSTRAINT buildtable_pkey;
- pg_restore: dropping CONSTRAINT buildreftable_pkey
- pg_restore: [archiver (db)] Error from TOC entry 1832; 2606 57592 CONSTRAINT buildreftable_pkey postgres
- pg_restore: [archiver (db)] could not execute query: ERROR: constraint "buildreftable_pkey" of relation "buildreftable" does not exist
- Command was: ALTER TABLE ONLY public.buildreftable DROP CONSTRAINT buildreftable_pkey;
- pg_restore: dropping CONSTRAINT bbds_registry_pkey
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement