Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Getting 500 Internal Server Error after copy my odoo 17 proyect

Subscribe

Get notified when there's activity on this post

This question has been flagged
errorbugcrash500v17
1 Reply
4405 Views
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
Discard
Avatar
Jorge Cásarez
Author Best Answer

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

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

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

Sign up
Related Posts Replies Views Activity
Internal Server Error after theme installation
community error 500 v17
Avatar
Avatar
Avatar
2
Jun 24
4689
Odoo Startup Error Part 2
error crash 500 loading loading.error
Avatar
Avatar
Avatar
2
Apr 16
8852
TypeError: odoo.tools.misc.frozendict() got multiple values for keyword argument 'deferred_start_date'
error v17
Avatar
0
Jan 25
1762
UnknownTimeZoneError: 'Europe/Kyiv' in Odoo.sh
error v17
Avatar
Avatar
1
Apr 24
2482
Odoo Server Error , why ? I need help, I can't find where the error is.
error bug
Avatar
Avatar
1
Jun 23
6545
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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