Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

[V14] Error when trying to restore a database backup from odoo.sh locally

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
backupunaccentodoo.shv14
2 Risposte
13773 Visualizzazioni
Avatar
Francois Lange

When I use the restore function of the database manager from a backup I did on odoo.sh I get the following error:

2021-02-26 12:43:17,172 82281 INFO prod_2602 odoo.addons.base.models.ir_http: Generating routing map for key None 

2021-02-26 12:44:58,000 82281 ERROR prod_2602 odoo.sql_db: bad query: SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL  AND (unaccent("ir_attachment"."url"::text) like unaccent('/web/content/%-%/web.assets_common.css'))) AND (NOT ((unaccent("ir_attachment"."url"::text) like unaccent('/web/content/%-f80683a/%%%'))))) ORDER BY  "ir_attachment"."id" DESC 

ERROR: function unaccent_schema.unaccent(unknown, text) does not exist

LINE 2:                 SELECT unaccent_schema.unaccent('unaccent_sc...

                               ^

HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

QUERY:  

                SELECT unaccent_schema.unaccent('unaccent_schema.unaccent', $1)

                

CONTEXT:  SQL function "unaccent" during inlining

 

2021-02-26 12:44:58,469 82281 ERROR prod_2602 odoo.sql_db: bad query: SELECT "ir_ui_view".id FROM "ir_ui_view" WHERE (("ir_ui_view"."active" = true) AND ("ir_ui_view"."key" = 'web.frontend_layout')) ORDER BY  "ir_ui_view"."priority" ,"ir_ui_view"."name" ,"ir_ui_view"."id"   LIMIT 1

ERROR: current transaction is aborted, commands ignored until end of transaction block

Has anyone an idea on what could be causing it? I saw that there is a settings unaccent=False in my config file but setting it to true doesn't solve anything.


I'm on mac os catalina, the database is postgresql 11, I use python 3.6

0
Avatar
Abbandona
Hussnain Sajid

Do you find the issue?

Francois Lange
Autore

Not yet unfortunatelly

Albin Gilles

I've got the same issue :'(

Ray Carnes (ray)

If you haven't already, please open a Support ticket with us at https://www.odoo.com/help

Francois Lange
Autore

Thanks Ray I just did it. I wanted to ask here first because I'm not sure that it is covered by your support as it might be a local issue.

Avatar
Martín LLanos
Risposta migliore

1. Modify your odoo.conf

unaccent = True

2. Execute on console

sudo -u postgres psql -c "CREATE EXTENSION unaccent;"

sudo -u postgres psql -c "ALTER ROLE odoo SUPERUSER;"

"odoo" or user database.

:P

5
Avatar
Abbandona
Francois Lange
Autore

Apparently adding the superuser privilege was enough, thank you. Ideally I would like to find out what the problem is exactly so I could solve it without giving such large privilege to my postgre user., but this will do for now

fudo

I've follow your solution from the beginning til the end, and at first time it's not work, then i change back unaccent = False and guess what, it worked now. Look like all i need is the sql command in step 2 only.

Avatar
Alfonso Monrroy
Risposta migliore

I had the same problem in Odoo 14, I was able to fix it by doing the following installations:

sudo aptitude install unaccent
sudo aptitude install libtext-unaccent-perl

Greetings and much success

1
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Multi language Invoice documents
odoo.sh v14
Avatar
Avatar
1
ago 24
4066
How can I access an Odoo.sh backup via the terminal so I can copy it to another server? Risolto
backup odoo.sh
Avatar
Avatar
Avatar
2
dic 24
7505
Automatic database backup in odoo.sh Risolto
backup odoo.sh
Avatar
Avatar
Avatar
2
mag 24
8601
Backup zip error
backup v14
Avatar
Avatar
Avatar
2
ago 23
5170
V14 Backup on Odoo with large database over 5GB
backup v14
Avatar
0
giu 23
2725
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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