Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Guest House
    • Distributeur de boissons
    • Hotel
    Real Estate
    • Real Estate Agency
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consulting
    • Accounting Firm
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Solar Energy Systems
    • Cordonnier
    • Services de nettoyage
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
internalerrorEnterprise13.0
5 Réponses
8814 Vues
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
Ignorer
Avatar
joseventura515@gmail.com
Meilleure réponse

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
Ignorer
Avatar
shalin wilson
Meilleure réponse

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

0
Avatar
Ignorer
Avatar
Mario Loderer
Meilleure réponse

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

0
Avatar
Ignorer
Avatar
Knuckles
Meilleure réponse

make database with -d as odoo 13

0
Avatar
Ignorer
Avatar
Hilar Andikkadavath
Meilleure réponse

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

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
[Odoo 13 EE] How to upload a video file to eLearning study material Résolu
video Enterprise 13.0
Avatar
Avatar
Avatar
Avatar
Avatar
7
déc. 21
13234
How can access GitHub Odoo Enterprise
Enterprise
Avatar
Avatar
1
nov. 25
13544
[odoo 13]Discuss template
13.0
Avatar
0
oct. 24
2023
Attachment Button Missing Résolu
13.0
Avatar
Avatar
Avatar
2
sept. 23
3189
How to set 2 Websites for 2 Companies in one DB with different external domains linked? Résolu
13.0
Avatar
Avatar
Avatar
3
août 25
8049
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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