Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Artificial Intelligence
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Property Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

What is this large object in many odoo databases?

Naroči se

Get notified when there's activity on this post

This question has been flagged
errorpostgresql
7700 Prikazi
Avatar
La Page PT, Pascal Tremblay

Hello all,

I have at least 10 odoo servers (odoo 8, 9, 10) running on my Ubuntu machine. All is running well since many many months.

All these odoo servers use the same Postgresql server. All the databases on the same postgresql server.

Each day, I dump each odoo database (with pg_dump) in a sql file, I create automatically a new database (with createdb) and I automatically reimport this sql file into the new database (with psql). I reimport each sql file in a new database just to test the importation.

I saw in my log this morning this error when the sql file is imported :

ERROR:  duplicate key value violates unique constraint "pg_largeobject_metadata_oid_index"DETAIL:
  Key (oid)=(35848143) already exists.


When digging to manage this error, I see that 8 of my 10 odoo databases have EXACTLY the same largeobjet.

So these 8 odoo databases trigger all the exactly same error when they backup.

(pg_largeobject and pg_largeobject_metadata are exactly the same for 8 of my 10 odoo server database)



How can it be possible? Why do totally different odoo server can have the same 'largeobject' in their respective database?

Thanks for your comment


EDIT #1

In one of my odoo database, I ran this SQL query in PGAdmin III to delete the largeobject :

SELECT lo_unlink(l.oid) FROM pg_largeobject_metadata l;

After, I ran the backup script ans the error is no more there.

But it doesn't explain to me what was this large object... And why it was exactly the same in 8 different odoo databases...


EDIT #2

In PGAdmin III,

File->Options... UI Miscellaneous, I have checked 'Show System Objects in the treeview'.

Now, I can see 'template0' and 'template1' databases in PGAdmin.

When I edit 'template1', the same largeobject is there... So I would say that my odoo databases were created using this model 'template1'.

So, I will see to delete this large object from 'template1'.


0
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Reinstalacion del Odoo
installation error postgresql
Avatar
Avatar
1
nov. 23
4252
Error 503 - After restoring Backup
error postgresql Odoo13.0
Avatar
1
avg. 20
7277
Problème 500 : Internal Server ERROR
error
Avatar
Avatar
1
maj 26
1461
?"Your country might be blocked by our hosting provider" error when I create new website
error
Avatar
0
nov. 25
595
Payment Page Return Error with Razorpay on Mobile Devices
error
Avatar
0
sep. 25
3104
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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