Skip to Content
Odoo เมนู
  • ลงชื่อเข้าใช้
  • ทดลองใช้ฟรี
  • แอป
    การเงิน
    • ระบบบัญชี
    • ระบบการออกใบแจ้งหนี้
    • ระบบบัญชีรายจ่าย
    • ระบบการจัดการข้อมูลผ่านสเปรดชีต (BI)
    • เอกสาร
    • ระบบลงลายเซ็น
    การขาย
    • ลูกค้าสัมพันธ์
    • การขาย
    • POS ร้านค้า
    • POS ร้านอาหาร
    • ระบบสมัครสมาชิก
    • การเช่า
    การจัดการเว็บไซต์
    • เครื่องมือสร้างเว็บไซต์
    • ระบบการขายออนไลน์
    • บล็อก
    • ฟอรั่ม
    • ไลฟ์แชท
    • ระบบการอบรมออนไลน์
    ซัพพลายเชน
    • คลังสินค้า
    • ระบบการผลิต
    • PLM
    • ระบบการจัดซื้อ
    • การซ่อมบำรุง
    • ระบบจัดการคุณภาพ
    ทรัพยากรบุคคล
    • ข้อมูลพนักงาน
    • ระบบสรรหาบุคลากร
    • ระบบการลา
    • การประเมิน
    • ระบบการแนะนำพนักงาน
    • ระบบจัดการยานพาหนะ
    การตลาด
    • โซเชียลมาร์เก็ตติ้ง
    • การตลาดผ่านอีเมล
    • ระบบการตลาดผ่าน SMS
    • ระบบการจัดงานอีเวนต์
    • การตลาดแบบอัตโนมัติ
    • ระบบแบบสำรวจ
    การบริการ
    • โปรเจกต์
    • ระบบบันทึกเวลา
    • ระบบการจัดการบริการภาคสนาม
    • ระบบดูแลช่วยเหลือ
    • การวางแผน
    • การนัดหมาย
    ประสิทธิผล
    • ระบบแสดงความคิดเห็น
    • ระบบการอนุมัติ
    • ไอโอที
    • VoIP
    • คลังข้อมูล
    • WhatsApp
    แอปพลิเคชันของบุคคลที่สาม Odoo สตูดิโอ แพลตฟอร์มคลาวด์ของ Odoo
  • อุตสาหกรรม
    การค้าปลีก
    • ร้านขายหนังสือ
    • ร้านขายเสื้อผ้า
    • ร้านขายเฟอร์นิเจอร์
    • ร้านขายของชำ
    • ร้านขายฮาร์ดแวร์
    • ร้านขายของเล่น
    Food & Hospitality
    • บาร์และผับ
    • ร้านอาหาร
    • อาหารฟาสต์ฟู้ด
    • Guest House
    • ตัวแทนจำหน่ายเครื่องดื่ม
    • Hotel
    อสังหาริมทรัพย์
    • Real Estate Agency
    • บริษัทสถาปัตยกรรม
    • บริษัทรับเหมา
    • การจัดการอสังหาริมทรัพย์
    • การจัดสวน
    • สมาคมเจ้าของอสังหาริมทรัพย์
    ปรึกษา
    • สำนักงานบัญชี
    • Odoo พาร์ทเนอร์
    • เอเจนซี่การตลาด
    • สำนักงานกฎหมาย
    • บริการสรรหาบุคลากร
    • การตรวจสอบและการรับรอง
    ระบบการผลิต
    • Textile
    • เหล็ก
    • เฟอร์นิเจอร์
    • อาหาร
    • Brewery
    • ของขวัญขององค์กร
    สุขภาพ & ฟิตเนส
    • ชมรมกีฬา
    • ร้านขายแว่นตา
    • ฟิตเนส
    • ผู้ประกอบวิชาชีพด้านสุขภาพ
    • ร้านขายยา
    • ร้านทำผม
    Trades
    • ช่างซ่อม
    • ฮาร์ดแวร์และการสนับสนุนด้านไอที
    • ระบบพลังงานแสงอาทิตย์
    • ช่างทำรองเท้า
    • บริการทำความสะอาด
    • HVAC Services
    อื่น ๆ
    • Nonprofit Organization
    • สำนักงานสิ่งแวดล้อม
    • ร้านเช่าป้ายโฆษณา
    • การถ่ายภาพ
    • ร้านเช่าจักรยาน
    • ตัวแทนจำหน่ายซอฟต์แวร์
    Browse all Industries
  • คอมมูนิตี้
    ศึกษา
    • บทเรียน
    • เอกสารกำกับโปรแกรม
    • การรับรอง
    • การฝึกอบรม
    • บล็อก
    • พอดแคสต์
    เพิ่มศักยภาพให้กับการศึกษา
    • โปรแกรมการศึกษา
    • Scale Up! Business Game
    • เยี่ยมชม Odoo
    รับซอฟต์แวร์
    • ดาวน์โหลด
    • เปรียบเทียบรุ่น
    • เผยแพร่
    ทำงานร่วมกัน
    • Github
    • ฟอรั่ม
    • ระบบการจัดงานอีเวนต์
    • การแปล
    • ร่วมเป็นพาร์ทเนอร์
    • Services for Partners
    • ลงทะเบียนเพื่อสร้างบัญชีบริษัทของคุณ
    รับบริการ
    • ค้นหาพาร์ทเนอร์
    • ค้นหานักบัญชี
    • พบกับที่ปรึกษา
    • บริการติดตั้งระบบเพื่อใช้งาน
    • ข้อมูลอ้างอิงลูกค้า
    • การสนับสนุน
    • อัปเกรด
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    รับการสาธิต
  • ราคา
  • ช่วยเหลือ

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • ลูกค้าสัมพันธ์
  • e-Commerce
  • ระบบบัญชี
  • สินค้าคงคลัง
  • PoS
  • โปรเจกต์
  • MRP
All apps
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
ช่วยเหลือ

Odoo 14 database restore error

ติดตาม

รับการแจ้งเตือนเมื่อมีกิจกรรมในโพสต์นี้

คำถามนี้ถูกตั้งค่าสถานะ
restoredbdatabasebackupv14
3 ตอบกลับ
10212 มุมมอง
อวตาร
muhammed noufal

When i try to restore database backup to another server (digital ocean to test server on aws), showing an error like this, i tried to change odoo commit same as the live server in the test server 

Traceback (most recent call last):
File "/odoo14/odoo14-server/odoo/api.py", line 792, in get
field_cache = field_cache[record.env.cache_key(field)]
KeyError: (None,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo14/odoo14-server/odoo/fields.py", line 972, in __get__
value = env\.cache\.get\(record,\ self\)
\ \ File\ "/odoo14/odoo14\-server/odoo/api\.py",\ line\ 796,\ in\ get
\ \ \ \ raise\ CacheMiss\(record,\ field\)
odoo\.exceptions\.CacheMiss:\ 'res\.users\(20,\)\.image_128'

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/odoo14/odoo14\-server/odoo/api\.py",\ line\ 792,\ in\ get
\ \ \ \ field_cache\ =\ field_cache\[record\.env\.cache_key\(field\)\]
KeyError:\ \(None,\)

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/odoo14/odoo14\-server/odoo/fields\.py",\ line\ 972,\ in\ __get__
\ \ \ \ value\ =\ env\.cache\.get\(record,\ self\)
\ \ File\ "/odoo14/odoo14\-server/odoo/api\.py",\ line\ 796,\ in\ get
\ \ \ \ raise\ CacheMiss\(record,\ field\)
odoo\.exceptions\.CacheMiss:\ 'res\.partner\(12809,\)\.image_128'

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/odoo14/odoo14\-server/odoo/api\.py",\ line\ 792,\ in\ get
\ \ \ \ field_cache\ =\ field_cache\[record\.env\.cache_key\(field\)\]
KeyError:\ \(None,\ None\)

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/odoo14/odoo14\-server/odoo/fields\.py",\ line\ 972,\ in\ __get__
\ \ \ \ value\ =\ env\.cache\.get\(record,\ self\)
\ \ File\ "/odoo14/odoo14\-server/odoo/api\.py",\ line\ 796,\ in\ get
\ \ \ \ raise\ CacheMiss\(record,\ field\)
odoo\.exceptions\.CacheMiss:\ 'ir\.attachment\(321,\)\.datas'

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/odoo14/odoo14\-server/odoo/api\.py",\ line\ 792,\ in\ get
\ \ \ \ field_cache\ =\ field_cache\[record\.env\.cache_key\(field\)\]
KeyError:\ \(None,\)

During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/odoo14/odoo14\-server/odoo/fields\.py",\ line\ 972,\ in\ __get__
\ \ \ \ value\ =\ env\.cache\.get\(record,\ self\)
\ \ File\ "/odoo14/odoo14\-server/odoo/api\.py",\ line\ 796,\ in\ get
\ \ \ \ raise\ CacheMiss\(record,\ field\)
odoo.exceptions.CacheMiss: 'ir.attachment(321,).raw'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo14/odoo14-server/odoo/addons/base/models/ir_attachment.py", line 105, in _file_read
with open(full_path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/odoo14/.local/share/Odoo/filestore/APL_2.0/c5/c54d3d5e2b1320083bf5378b7c195b0985fa04c1'

0
อวตาร
ละทิ้ง
Baiju KS

are you trying with the database dump[pg_dump] file without filestore?

muhammed noufal
ผู้เขียน

trying to restore a backup to test server, which took from frond-end  (web/database/manager)

Baiju KS

In database manager which option you are selecting for "Backup Format"?

muhammed noufal
ผู้เขียน

zip including filestore

Baiju KS

Please mention database size and hold old is the DB?

muhammed noufal
ผู้เขียน

231 MB only

Baiju KS

Please check postgres version in new and older server using these commands:- Server version: pg_config --version and Client version: psql --version

muhammed noufal
ผู้เขียน

Both servers have the same version
# pg_config --version
PostgreSQL 12.9 (Ubuntu 12.9-0ubuntu0.20.04.1)
# psql --version
psql (PostgreSQL) 12.9 (Ubuntu 12.9-0ubuntu0.20.04.1)

อวตาร
jomin joseph
คำตอบที่ดีที่สุด

before restoring a database just create a test database and install all your custom modules in it and once that is done restore your database , this should solve your problem

1
อวตาร
ละทิ้ง
muhammed noufal
ผู้เขียน

I've installed all the custom modules to the new server, still the issue not resolved .

อวตาร
Simon Lee
คำตอบที่ดีที่สุด

Hi, I have the same problem. I tried to follow your suggestion of creating a test server, "ABC", installed all the modules and custom modules on it and tried to restore to server ABC with http://localhost:8069/web/database/manager, clicking "Restore Database", select the backup .zip file of the old database, and named the restore database also as "ABC" (same name as the test database), but odoo said "ABC" already exists and won't let me restore. Please advise how you do it. Thanks.

Regards,
Simon

0
อวตาร
ละทิ้ง
Baiju KS

What issue you are facing when you try to restore database backup normally?

Simon Lee

The restoration is successful. After that, when I login, I see the cache error as muhammed noufal described in the eclipse console. I am running odoo in eclipse.

Simon Lee

Hi,

I am using odoo 14 on ubuntu 20.04. I tried to copy a database to a new development machine. In the origin server, I use back up in odoo web/database/manager in .zip format. I then go to the development machine and use odoo web/database/manager to restore the database. The restoration is ok and I am able to start odoo on the development machine. But I get the following error. Can you tell me how to solve this? Thanks.

Regards,
Simon Lee

----------------------------------------------

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/api.py", line 792, in get
field_cache = field_cache[record.env.cache_key(field)]
KeyError: (None,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/fields.py", line 972, in __get__
value = env.cache.get(record, self)
File "/home/hago_admin/odoo14/odoo/api.py", line 796, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'res.users(2,).image_128'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/api.py", line 792, in get
field_cache = field_cache[record.env.cache_key(field)]
KeyError: (None,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/fields.py", line 972, in __get__
value = env.cache.get(record, self)
File "/home/hago_admin/odoo14/odoo/api.py", line 796, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'res.partner(3,).image_128'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/api.py", line 792, in get
field_cache = field_cache[record.env.cache_key(field)]
KeyError: (None, None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/fields.py", line 972, in __get__
value = env.cache.get(record, self)
File "/home/hago_admin/odoo14/odoo/api.py", line 796, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'ir.attachment(16,).datas'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/api.py", line 792, in get
field_cache = field_cache[record.env.cache_key(field)]
KeyError: (None,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/fields.py", line 972, in __get__
value = env.cache.get(record, self)
File "/home/hago_admin/odoo14/odoo/api.py", line 796, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'ir.attachment(16,).raw'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/hago_admin/odoo14/odoo/addons/base/models/ir_attachment.py", line 105, in _file_read
with open(full_path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/hago_admin/.local/share/Odoo/filestore/hago_db_3/c5/c54d3d5e2b1320083bf5378b7c195b0985fa04c1'

Baiju KS

You are choosing "This database was moved" for the database option. And you are not copying filestore to the system. You have to copy the filestore to "/home/hago_admin/.local/share/Odoo"

อวตาร
muhammed noufal
ผู้เขียน คำตอบที่ดีที่สุด

Now it's working,
Increased aws free instance resource - 1 gb ram + 5gb swap
changed limit_time_cpu = 99999 and limit_time_real = 99999
installed all the custom module in a database on the same server,
while restoring - choose This database was moved instead of This database is a copy 

Thanks @Jo , @Baiju KS

0
อวตาร
ละทิ้ง
Baiju KS

If you choose "This database was moved" option, you won't get filestore. If it's pg_dump file, you can choose this option.

muhammed noufal
ผู้เขียน

@Baiju ks database is a copy also working

สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!

สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!

ลงชื่อ
Related Posts ตอบกลับ มุมมอง กิจกรรม
Database restoration error
restoredb databasebackup v15
อวตาร
อวตาร
อวตาร
อวตาร
3
ส.ค. 24
4169
Odoo error after restore Database แก้ไขแล้ว
community restoredb v14
อวตาร
1
ธ.ค. 24
3918
Problem- Restore Database on Odoo 8
restore restoredb databasebackup
อวตาร
อวตาร
อวตาร
3
มิ.ย. 16
8243
Database restoration issue when we restored data from odoo.sh
database restoredb databasebackup restoration
อวตาร
0
ก.ค. 23
3322
How to restore 4gb DB to odoo 14 in docker
postgresql restoredb db v14
อวตาร
อวตาร
1
ส.ค. 21
7332
คอมมูนิตี้
  • บทเรียน
  • เอกสารกำกับโปรแกรม
  • ฟอรั่ม
โอเพนซอร์ส
  • ดาวน์โหลด
  • Github
  • Runbot
  • การแปล
บริการ
  • โฮสติ้ง odoo.sh เซิร์ฟเวอร์
  • การสนับสนุน
  • อัปเกรด
  • การพัฒนาที่กำหนดเอง
  • การศึกษา
  • ค้นหานักบัญชี
  • ค้นหาพาร์ทเนอร์
  • ร่วมเป็นพาร์ทเนอร์
เกี่ยวกับเรา
  • บริษัทของเรา
  • ทรัพย์สินในรูปของเครื่องหมายการค้า
  • ติดต่อเรา
  • งาน
  • ระบบการจัดงานอีเวนต์
  • พอดแคสต์
  • บล็อก
  • ลูกค้า
  • กฎหมาย • ความเป็นส่วนตัว
  • ความปลอดภัย
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo เป็นชุดแอปธุรกิจแบบเปิดที่ครอบคลุมทุกความต้องการของบริษัทของคุณ อาธิ CRM eCommerce ระบบบัญชี ระบบสินค้าคงคลัง ระบบการขายหน้าร้าน โปรเจกต์ และ อีกมากมาย

ความเหนือกว่าอันเป็นเอกลักษณ์ของ Odoo คือการใช้งานที่ง่ายดายและผสานการทำงานอย่างสมบูรณ์แบบในเวลาเดียวกัน

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now