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

error when restoring odoo db from sh to vps

Abonare

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

Această întrebare a fost marcată
vpswebsiteodooodoo.sh
1 Răspunde
5812 Vizualizări
Imagine profil
Omer Aiman

I am getting the below error:

odoo.sql_db: bad query: SELECT "website".id FROM "website" WHERE (unaccent("website"."domain":main"::text) ilike unaccent('%111.111.111.11%')) ORDER BY  "website"."id"

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-01-26 09:27:44,114 41151 INFO eastmagic werkzeug: 37.239.210.123 - - [26/Jan/2021 09:27:44] "GET /web/database/manager HTTP/1.1" 500 - >
2021-01-26 09:27:44,120 41151 ERROR eastmagic werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('website', <function Website._get_current_website_id at 0x7f7d66dae700>, '111.111.111.11:8069', False, True)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 306, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 294, in execute
    application_iter = app(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 440, in app
    return self.app(e, s)
  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 124, in application
    return application_unproxied(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 99, in application_unproxied
    result = odoo.http.root(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1294, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1262, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python3/dist-packages/werkzeug/middleware/shared_data.py", line 220, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1464, in dispatch
    result = ir_http._dispatch()
  File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 179, in _dispatch
    request.website_routing = env['website'].get_current_website().id
  File "/usr/lib/python3/dist-packages/odoo/addons/website/models/website.py", line 568, in get_current_website
    website_id = self._get_current_website_id(domain_name, country_id, fallback=fallback)
  File "<decorator-gen-148>", line 2, in _get_current_website_id

  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/website/models/website.py", line 624, in _get_current_website_id
    found_websites = self.search([('domain', 'ilike', _remove_port(domain_name))]).sorted('country_group_ids')
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1698, in search
    return res if count else self.browse(res)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 4909, in browse
    if not ids:
  File "/usr/lib/python3/dist-packages/odoo/osv/query.py", line 156, in __bool__
    return bool(self._result)
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 26, in __get__
    value = self.fget(obj)
  File "/usr/lib/python3/dist-packages/odoo/osv/query.py", line 149, in _result
    self._cr.execute(query_str, params)
  File "<decorator-gen-3>", line 2, in execute

  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 96, in check
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 291, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.UndefinedFunction: 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)

0
Imagine profil
Abandonează
Daniel

I tried the same - having the same error - were you able to resolve it?

Imagine profil
Ravi Gadhia
Cel mai bun răspuns

Make sure your Postgres has an active 'unaccent' extension (enable it using command CREATE EXTENSION unaccent;) 

OR
change the odoo configuration file with  unaccent =False params (or run odoo with command --unaccent=False)


1
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
Odoo website iframe youtube video not showing
website odoo
Imagine profil
1
nov. 25
3343
Error when i try to buy "Scale-Up! The Business Game" from odoo store
website odoo
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
nov. 25
3716
Odoo.sh: transfer repo from org account to personal account Rezolvat
odoo odoo.sh
Imagine profil
Imagine profil
1
iul. 23
3628
Hide Variants from the Website
website odoo
Imagine profil
Imagine profil
1
iul. 23
3281
sub-modules odoo sh Rezolvat
website odoo odoo.sh entreprise v14
Imagine profil
Imagine profil
1
ian. 23
2510
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