Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Odoo 13 EE installation error : "website_rewrite" doesn't exist

Subscriure's

Get notified when there's activity on this post

This question has been flagged
internalerrorEnterprise13.0
5 Respostes
8848 Vistes
Avatar
Shiqi He

When I just finished installing Odoo 13 EE and try to open the page, it returned me an "Internal Server Error", so I checked the log and got the following error code:

2019-10-09 01:40:19,577 6344 ERROR db_maizhi odoo.sql_db: bad query: SELECT "website_rewrite".id FROM "website_rewrite" WHERE ((("website_rewrite"."active" = true) AND ("website_rewrite"."redirect_type" in ('308','404'))) AND ("website_rewrite"."website_id" IS NULL OR ("website_rewrite"."website_id" = 1))) ORDER BY "website_rewrite"."id"
ERROR:  relation "website_rewrite" doesn't exist
LINE 1: SELECT "website_rewrite".id FROM "website_rewrite" WHERE (((...
^

2019-10-09 01:40:19,582 6344 INFO db_maizhi werkzeug: 127.0.0.1 - - [09/Oct/2019 01:40:19] "GET / HTTP/1.1" 500 - 28 0.323 15.908
2019-10-09 01:40:19,599 6344 ERROR db_maizhi werkzeug: Error on request:
Traceback (most recent call last):
File "C:\Program Files (x86)\Odoo 13.0e\python\lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
execute(self.server.app)
File "C:\Program Files (x86)\Odoo 13.0e\python\lib\site-packages\werkzeug\serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\service\server.py", line 414, in app
return self.app(e, s)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\service\wsgi_server.py", line 142, in application
return application_unproxied(environ, start_response)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\service\wsgi_server.py", line 117, in application_unproxied
result = odoo.http.root(environ, start_response)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\http.py", line 1281, in __call__
return self.dispatch(environ, start_response)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\http.py", line 1251, in __call__
return self.app(environ, start_wrapped)
File "C:\Program Files (x86)\Odoo 13.0e\python\lib\site-packages\werkzeug\wsgi.py", line 766, in __call__
return self.app(environ, start_response)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\http.py", line 1450, in dispatch
result = ir_http._dispatch()
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\website_sale\models\ir_http.py", line 15, in _dispatch
return super(IrHttp, cls)._dispatch()
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\website\models\ir_http.py", line 168, in _dispatch
response = super(Http, cls)._dispatch()
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\auth_signup\models\ir_http.py", line 19, in _dispatch
return super(Http, cls)._dispatch()
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\web_editor\models\ir_http.py", line 22, in _dispatch
return super(IrHttp, cls)._dispatch()
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\utm\models\ir_http.py", line 26, in _dispatch
response = super(IrHttp, cls)._dispatch()
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\http_routing\models\ir_http.py", line 424, in _dispatch
rule, arguments = cls._match(request.httprequest.path)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\website\models\ir_http.py", line 84, in _match
return super(Http, cls)._match(path_info, key=key)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\base\models\ir_http.py", line 91, in _match
return cls.routing_map().bind_to_environ(request.httprequest.environ).match(path_info=path_info, return_rule=True)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\website\models\ir_http.py", line 66, in routing_map
return super(Http, cls).routing_map(key=key)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\base\models\ir_http.py", line 267, in routing_map
for url, endpoint, routing in cls._generate_routing_rules(mods, converters=cls._get_converters()):
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\addons\website\models\ir_http.py", line 92, in _generate_routing_rules
rewrites = dict([(x.url_from, x) for x in request.env['website.rewrite'].sudo().search(domain)])
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\models.py", line 1556, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\models.py", line 4285, in _search
self._cr.execute(query_str, where_clause_params)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\sql_db.py", line 163, in wrapper
return f(self, *args, **kwargs)
File "C:\Program Files (x86)\Odoo 13.0e\server\odoo\sql_db.py", line 240, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError:  relation "website_rewrite" doesn't exist 

I also installed Odoo 12 EE on my computer on another port 8068, does it matter?   Or there is any safe and convinent way to upgrade 12 to 13?

So is there anyone who met this problem yet? Have any suggestions? Thanks.

Following is my environment:

OS: Windows Server 2019 Datacenter 1809

0
Avatar
Descartar
Avatar
joseventura515@gmail.com
Best Answer

Hi, please help me I have the same error I have checked the database and it does not exist so what i should do ?

0
Avatar
Descartar
Avatar
shalin wilson
Best Answer

just had the same issue while installing odoo13CE. It got solved while i connected the DB when running
-d databasename

0
Avatar
Descartar
Avatar
Mario Loderer
Best Answer

Have you fixed this? Have the same error actual here. 

0
Avatar
Descartar
Avatar
Knuckles
Best Answer

make database with -d as odoo 13

0
Avatar
Descartar
Avatar
Hilar Andikkadavath
Best Answer

Please raise a ticket from your odoo account. You will get the further support from odoo team

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
[Odoo 13 EE] How to upload a video file to eLearning study material Solved
video Enterprise 13.0
Avatar
Avatar
Avatar
Avatar
Avatar
7
de des. 21
13268
How can access GitHub Odoo Enterprise
Enterprise
Avatar
Avatar
1
de nov. 25
13727
[odoo 13]Discuss template
13.0
Avatar
0
d’oct. 24
2041
Attachment Button Missing Solved
13.0
Avatar
Avatar
Avatar
2
de set. 23
3201
How to set 2 Websites for 2 Companies in one DB with different external domains linked? Solved
13.0
Avatar
Avatar
Avatar
3
d’ag. 25
8103
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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