Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
14371 Lượt xem

Hi there,

When selecting Financials a window is opened with the OpenERP Server Error: InternalError: index "ir_translation_src_hash_idx" contains unexpected zero page at block 84 HINT: Please REINDEX it.

Does anybody knows how this can be done? Is there a tool which I can do this?

Ảnh đại diện
Huỷ bỏ

So how did you solve this?

Câu trả lời hay nhất

You have some database corruption, but probably nothing to worry about. The error report is telling you what you should do . . . use REINDEX.

However, before anything you should use pg_dump to get a text backup copy of your entire database.

Then log in to postgres as admin with psql and run the command REINDEX INDEX ir_translation_src_hash_idx

Just Google it for more details : https://www.google.com/search?q=index+contains+unexpected+zero+page+at+block+HINT%3A+Please+REINDEX+it

If you still have problems after that, try pg_restore with the text backup to a new database and see if that one works. I'm confident it will.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks, pgadminIII and a Reindex did the trick.

I'm glad I was able to help.

Câu trả lời hay nhất

GUI method:

Run pgAdmin3, open database-Schemas-public-Tables-ir_translation-Indexes- right click: ir_translation_src_hash_idx - Maintenance.. REINDEX(by default) - OK!

Ảnh đại diện
Huỷ bỏ

Excelent information !!!!!

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 24
3897
0
thg 11 24
1601
2
thg 7 24
3282
0
thg 4 24
2125
3
thg 3 24
2049