Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

[odoo 11] Error while restoring database

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
databasebackuprestoredbdbodoo11
2 Răspunsuri
13382 Vizualizări
Imagine profil
Link

I have odoo 11 install on my windows 10 laptop. I need to shift my db to raspberry pi 3 with last raspbian on-board.

When I trying to restore DB on raspberry I got error. Why I cant restore DB?

There is logs:

2018-01-04 13:16:28,500 9473 INFO obg_prod odoo.service.db: RESTORE DB: obg_prod 2018-01-04 13:16:28,539 9473 INFO obg_prod werkzeug: 192.168.1.237 - - [04/Jan/2018 13:16:28] "POST /web/database/restore HTTP/1.1" 303 - 2018-01-04 13:16:28,604 9473 INFO obg_prod odoo.addons.base.ir.ir_http: Generating routing map 2018-01-04 13:16:29,207 9473 INFO obg_prod odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 1 connections to 'dbname=obg_prod user=odoo sslmode=prefer'

2018-01-04 13:16:29,227 9473 INFO obg_prod werkzeug: 192.168.1.237 - - [04/Jan/2018 13:16:29] "GET /web/database/manager HTTP/1.1" 200 - 2018-01-04 13:16:30,677 9473 INFO obg_prod odoo.addons.fetchmail.models.fetchmail: start checking for new emails on imap server incoming - catchall@my-domname.com 2018-01-04 13:16:31,773 9473 INFO obg_prod odoo.addons.fetchmail.models.fetchmail: Fetched 0 email(s) on imap server incoming - catchall@my-domname.com; 0 succeeded, 0 failed.

2018-01-04 13:16:33,860 9473 ERROR obg_prod odoo.sql_db: bad query: b'INSERT INTO "ir_attachment" ("id", "res_model", "public", "res_id", "name", "datas_fname", "type", "mimetype", "company_id", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval(\'ir_attachment_id_seq\'), \'ir.ui.view\', true, 0, \'/web/content/css\', \'web.assets_common.0.css\', \'binary\', \'text/css\', 1, 1, 1, (now() at time zone \'UTC\'), (now() at time zone \'UTC\')) RETURNING id'

ERROR: relation "ir_attachment_id_seq" does not exist LINE 1: ...uid", "create_date", "write_date") VALUES(nextval('ir_attach...

                                                             ^

2018-01-04 13:16:33,915 9473 ERROR obg_prod odoo.addons.website.models.ir_http: 500 Internal Server Error:

Traceback (most recent call last):

...

1
Imagine profil
Abandonează
Cyril Gaspard (GEM)

Hi,

you must have exactly the same odoo sources release for the 2 servers (no difference for odoo code between the 2 servers), and having backup your database with filestore include (backup zip), different postgresql version between the 2 servers

Bye

Imagine profil
Arsalan
Cel mai bun răspuns

i think this error is because of the different Postgres versions of Odoo instances.
My source database postgres version is 10 and my destination (restored one) postgres version is 9.5

3
Imagine profil
Abandonează
Imagine profil
Đức Hậu Trần
Cel mai bun răspuns

You can try with create an SEQUENCE  " ir_attachment_id_seq" by manual for this issue:

CREATE SEQUENCE public.ir_attachment_id_seq
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START (number of ir_attachment.id + 1 )
CACHE 1;


ALTER TABLE public.ir_attachment_id_seq
OWNER TO ( database account );


Regards,




0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Error in odoo 12 after restoring database, ProgrammingError: relation "ir_attachment_id_seq" does not exist Rezolvat
database backup restore restoredb odoo12
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
6
oct. 25
9956
How To Backup and Restore Odoo Database From Terminal using Command ? Rezolvat
database postgresql backup restoredb v17
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
5
oct. 25
20654
Icons Doesn't Show After Restoring Database Rezolvat
database backup restore restoredb databasebackup
Imagine profil
Imagine profil
1
mar. 24
9208
how to restore database for different versions of Odoo? Rezolvat
database backup restore restoredb odoo
Imagine profil
Imagine profil
1
aug. 15
7813
Restore database problem Rezolvat
backup restoredb
Imagine profil
Imagine profil
Imagine profil
2
aug. 24
11190
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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