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

Getting 500 Internal Server Error after copy my odoo 17 proyect

Subscriure's

Get notified when there's activity on this post

This question has been flagged
errorbugcrash500v17
1 Respondre
4407 Vistes
Avatar
Jorge Cásarez

Hello everyone I'm new with odoo and I'm working with odoo 17, yesterday I tried several times to install Delivery Cost module with demo database then I realize that I couldn't do it with that database so I when to "database manager" and tried to make a new database but any button worked, I clicked every single button and none of them worked, so I decided to do a copy of my project and create a new database but after that both of my projects  started to give me 500 error


I dont exactaly where is the error, I reinstall Postgres and create a new Odoo project but I still getting the same error. Probably I'm missing something.

When I start the app everything runs fine but at the moment that I try to access to localhost:8069/web starts to give this 500 error.




I hope someone knows what do about it


Thank you so much for your time and help!!




Here is my log:


2024-03-14 15:04:39,871 5076 ERROR deliver odoo.http: Exception during request handling. 


Traceback (most recent call last):


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 87, in __new__


    return cls.registries[db_name]


           ~~~~~~~~~~~~~~^^^^^^^^^


  File "", line 2, in __getitem__


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\lru.py", line 34, in __getitem__


    a = self.d[obj]


        ~~~~~~^^^^^


KeyError: 'deliver'




During handling of the above exception, another exception occurred:




Traceback (most recent call last):


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\http.py", line 2189, in __call__


    response = request._serve_db()


               ^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\http.py", line 1744, in _serve_db


    self.registry = Registry(self.db).check_signaling()


                    ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 89, in __new__


    return cls.new(db_name)


           ^^^^^^^^^^^^^^^^


  File "", line 2, in new


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 101, in new


    registry.init(db_name)


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 182, in init


    with closing(self.cursor()) as cr:


                 ^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 950, in cursor


    return self._db.cursor()


           ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 752, in cursor


    return Cursor(self.__pool, self.__dbname, self.__dsn)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 267, in __init__


    self._cnx = pool.borrow(dsn)


                ^^^^^^^^^^^^^^^^


  File "", line 2, in borrow


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 681, in borrow


    result = psycopg2.connect(


             ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\venv\Lib\site-packages\psycopg2\__init__.py", line 122, in connect


    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xab in position 96: invalid start byte


2024-03-14 15:04:39,932 5076 INFO deliver werkzeug: 127.0.0.1 - - [14/Mar/2024 15:04:39] "GET /web HTTP/1.1" 500 - 0 0.000 0.115


2024-03-14 15:04:40,114 5076 ERROR deliver odoo.http: Exception during request handling. 


Traceback (most recent call last):


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 87, in __new__


    return cls.registries[db_name]


           ~~~~~~~~~~~~~~^^^^^^^^^


  File "", line 2, in __getitem__


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\lru.py", line 34, in __getitem__


    a = self.d[obj]


        ~~~~~~^^^^^


KeyError: 'deliver'




During handling of the above exception, another exception occurred:




Traceback (most recent call last):


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\http.py", line 2189, in __call__


    response = request._serve_db()


               ^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\http.py", line 1744, in _serve_db


    self.registry = Registry(self.db).check_signaling()


                    ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 89, in __new__


    return cls.new(db_name)


           ^^^^^^^^^^^^^^^^


  File "", line 2, in new


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 101, in new


    registry.init(db_name)


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 182, in init


    with closing(self.cursor()) as cr:


                 ^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 950, in cursor


    return self._db.cursor()


           ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 752, in cursor


    return Cursor(self.__pool, self.__dbname, self.__dsn)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 267, in __init__


    self._cnx = pool.borrow(dsn)


                ^^^^^^^^^^^^^^^^


  File "", line 2, in borrow


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 681, in borrow


    result = psycopg2.connect(


             ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\venv\Lib\site-packages\psycopg2\__init__.py", line 122, in connect


    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xab in position 96: invalid start byte


2024-03-14 15:04:40,116 5076 INFO deliver werkzeug: 127.0.0.1 - - [14/Mar/2024 15:04:40] "GET /favicon.ico HTTP/1.1" 500 - 0 0.000 0.063


2024-03-14 15:04:42,031 5076 ERROR deliver odoo.http: Exception during request handling. 


Traceback (most recent call last):


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 87, in __new__


    return cls.registries[db_name]


           ~~~~~~~~~~~~~~^^^^^^^^^


  File "", line 2, in __getitem__


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\lru.py", line 34, in __getitem__


    a = self.d[obj]


        ~~~~~~^^^^^


KeyError: 'deliver'




During handling of the above exception, another exception occurred:




Traceback (most recent call last):


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\http.py", line 2189, in __call__


    response = request._serve_db()


               ^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\http.py", line 1744, in _serve_db


    self.registry = Registry(self.db).check_signaling()


                    ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 89, in __new__


    return cls.new(db_name)


           ^^^^^^^^^^^^^^^^


  File "", line 2, in new


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 101, in new


    registry.init(db_name)


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 182, in init


    with closing(self.cursor()) as cr:


                 ^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\modules\registry.py", line 950, in cursor


    return self._db.cursor()


           ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 752, in cursor


    return Cursor(self.__pool, self.__dbname, self.__dsn)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 267, in __init__


    self._cnx = pool.borrow(dsn)


                ^^^^^^^^^^^^^^^^


  File "", line 2, in borrow


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\tools\func.py", line 87, in locked


    return func(inst, *args, **kwargs)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\odoo\sql_db.py", line 681, in borrow


    result = psycopg2.connect(


             ^^^^^^^^^^^^^^^^^


  File "C:\Users\jorge.casarez\Documents\odoo-17.0\venv\Lib\site-packages\psycopg2\__init__.py", line 122, in connect


    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)


           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xab in position 96: invalid start byte


2024-03-14 15:04:42,033 5076 INFO deliver werkzeug: 127.0.0.1 - - [14/Mar/2024 15:04:42] "GET /web/service-worker.js HTTP/1.1" 500 - 0 0.000 0.047



0
Avatar
Descartar
Avatar
Jorge Cásarez
Autor Best Answer

If someone helps this, I solved it just cleaning cache from browser  

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
Internal Server Error after theme installation
community error 500 v17
Avatar
Avatar
Avatar
2
de juny 24
4693
Odoo Startup Error Part 2
error crash 500 loading loading.error
Avatar
Avatar
Avatar
2
d’abr. 16
8852
TypeError: odoo.tools.misc.frozendict() got multiple values for keyword argument 'deferred_start_date'
error v17
Avatar
0
de gen. 25
1765
UnknownTimeZoneError: 'Europe/Kyiv' in Odoo.sh
error v17
Avatar
Avatar
1
d’abr. 24
2482
Odoo Server Error , why ? I need help, I can't find where the error is.
error bug
Avatar
Avatar
1
de juny 23
6549
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