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

500 Internal Server Error after module uninstall

Subscribe

Get notified when there's activity on this post

This question has been flagged
errorloguninstallcore
2 Replies
3455 Views
Avatar
Jozef Slivka

Hi,
 I get this 500:Internal server Error , I believe it happend after I uninstalled some third party module, service restart/Inkognito window did not help, accessing database selector doesnt work.

Log shows this (not sure what I am looking for)

Any ideas?

2023-06-09 09:20:12,250 1333 DEBUG ? odoo.sql_db: create serialized cursor to {'database': '*****', 'application_name': '*****', 'host': '192.168.1.7', 'port': 5555, 'user': '*****', 'password': '******', 'sslmode': 'prefer'} 
2023-06-09 09:20:12,267 1333 DEBUG ? odoo.sql_db.connection: ConnectionPool(used=2/count=2/max=64) Create new connection backend PID 78603 
2023-06-09 09:20:12,267 1333 DEBUG ? odoo.sql_db: query: select datname from pg_database where datdba=(select usesysid from pg_user where usename=current_user) and not datistemplate and datallowconn and datname not in ('postgres', 'template0') order by datname 
2023-06-09 09:20:12,272 1333 DEBUG ? odoo.sql_db: SQL LOG from: 
2023-06-09 09:20:12,272 1333 DEBUG ? odoo.sql_db: table: pg_user: 0:00:00.004273/1 
2023-06-09 09:20:12,272 1333 DEBUG ? odoo.sql_db: SUM from:0:00:00.004273/1 [24664] 
2023-06-09 09:20:12,273 1333 DEBUG ? odoo.sql_db: SUM into:0:00:00/1 [24664] 
2023-06-09 09:20:12,273 1333 DEBUG ? odoo.sql_db.connection: ConnectionPool(used=2/count=2/max=64) Give back connection to 'user=**** password=**** dbname=***** host=192.168.1.7 port=5555 application_name=odoo-1333 sslmode=prefer' 
2023-06-09 09:20:12,273 1333 DEBUG ? odoo.sql_db.connection: ConnectionPool(used=1/count=1/max=64) Forgot connection to 'user=***** password=**** dbname=****** host=192.168.1.7 port=5555 application_name=****** sslmode=prefer' 
2023-06-09 09:20:12,274 1333 DEBUG dev odoo.sql_db: create serialized cursor to {'database': 'dev', 'application_name': '******', 'host': '192.168.1.7', 'port': 5555, 'user': '*****', 'password': '*****', 'sslmode': 'prefer'} 
2023-06-09 09:20:12,289 1333 DEBUG dev odoo.sql_db.connection: ConnectionPool(used=2/count=2/max=64) Create new connection backend PID 78604 
2023-06-09 09:20:12,289 1333 DEBUG dev odoo.sql_db: query: 
SELECT latest_version
FROM ir_module_module
WHERE name='base'
 
2023-06-09 09:20:12,292 1333 DEBUG dev odoo.sql_db: query: 
SELECT *, cron_name->>'en_US' as cron_name
FROM ir_cron
WHERE active = true
AND numbercall != 0
AND (nextcall <= (now() at time zone 'UTC')
OR id in (
SELECT cron_id
FROM ir_cron_trigger
WHERE call_at <= (now() at time zone 'UTC')
)
)
ORDER BY priority


2023-06-09 09:20:20,190 60292 INFO ? odoo: Odoo version 16.0 
2023-06-09 09:20:20,191 60292 INFO ? odoo: Using configuration file at /etc/odoo/odoo_demo.conf 
2023-06-09 09:20:20,191 60292 INFO ? odoo: addons paths: ['/opt/odoo/odoo_test/odoo/odoo/addons', '/opt/odoo/.local/share/Odoo/addons/16.0', 
'/opt/odoo/odoo_test/odoo/addons', 
'/opt/odoo/odoo_test/odoo/addons_custom', '/opt/odoo/odoo_test/odoo/addons_demo', '/opt/odoo/odoo_test/odoo/addons_enterprise'] 
2023-06-09 09:20:20,191 60292 INFO ? odoo: database: odoo2@192.168.1.7:5555 
2023-06-09 09:20:20,410 60292 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 
2023-06-09 09:20:20,815 60292 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8169 
2023-06-09 09:20:20,823 60311 INFO ? odoo.service.server: Worker WorkerHTTP (60311) alive 
2023-06-09 09:20:20,825 60312 INFO ? odoo.service.server: Worker WorkerHTTP (60312) alive 
2023-06-09 09:20:20,828 60313 INFO ? odoo.service.server: Worker WorkerHTTP (60313) alive 
2023-06-09 09:20:20,831 60314 INFO ? odoo.service.server: Worker WorkerHTTP (60314) alive 
2023-06-09 09:20:20,833 60315 INFO ? odoo.service.server: Worker WorkerHTTP (60315) alive 
2023-06-09 09:20:20,836 60318 INFO ? odoo.service.server: Worker WorkerHTTP (60318) alive 
2023-06-09 09:20:20,848 60324 INFO ? odoo.service.server: Worker WorkerCron (60324) alive 
2023-06-09 09:20:20,852 60324 DEBUG ? odoo.sql_db: create serialized cursor to {'database': 'postgres', 'application_name': 'odoo-60324', 'host': '192.168.1.7', 'port': 5555, 'user': '*****', 'password': '*****', 'sslmode': 'prefer'} 
2023-06-09 09:20:20,851 60325 INFO ? odoo.service.server: Worker WorkerCron (60325) alive 
2023-06-09 09:20:20,854 60325 DEBUG ? odoo.sql_db: create serialized cursor to {'database': 'postgres', 'application_name': 'odoo-60325', 'host': '192.168.1.7', 'port': 5555, 'user': 'u*****', 'password': '******', 'sslmode': 'prefer'} 
2023-06-09 09:20:20,877 60324 DEBUG ? odoo.sql_db.connection: ConnectionPool(used=1/count=1/max=64) Create new connection backend PID 78612 
2023-06-09 09:20:20,877 60325 DEBUG ? odoo.sql_db.connection: ConnectionPool(used=1/count=1/max=64) Create new connection backend PID 78613 
2023-06-09 09:20:20,878 60324 DEBUG ? odoo.sql_db: query: SELECT pg_is_in_recovery() 
2023-06-09 09:20:20,878 60325 DEBUG ? odoo.sql_db: query: SELECT pg_is_in_recovery() 
2023-06-09 09:20:20,882 60325 DEBUG ? odoo.sql_db: query: LISTEN cron_trigger 
2023-06-09 09:20:20,882 60324 DEBUG ? odoo.sql_db: query: LISTEN cron_trigger 
2023-06-09 09:20:22,083 60321 WARNING ? py.warnings: /opt/odoo/odoo_test/odoo/odoo/tools/config.py:565: DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter.
File "/opt/odoo/odoo_test/odoo/odoo-bin", line 8, in
odoo.cli.main()
File "/opt/odoo/odoo_test/odoo/odoo/cli/command.py", line 56, in main
o.run(args)
File "/opt/odoo/odoo_test/odoo/odoo/cli/server.py", line 179, in run
main(args)
File "/opt/odoo/odoo_test/odoo/odoo/cli/server.py", line 127, in main
odoo.tools.config.parse_config(args)
File "/opt/odoo/odoo_test/odoo/odoo/tools/config.py", line 378, in parse_config
self._warn_deprecated_options()
File "/opt/odoo/odoo_test/odoo/odoo/tools/config.py", line 565, in _warn_deprecated_options
warnings.warn(

Thank you

0
Avatar
Discard
Avatar
Rithik Sandron
Best Answer

Hi Jozef,

Try upgrading your base module. Since you are not able to access the application, try upgrading using the service startup parameters. First find the service file location, Modify the 'ExecStart' option under the 'Service' directive to update the base module on server startup and then restart the service/server.

  • SSH into your Server
  • Open the Service File
  • Add the following flags to ExecStart "-d database_name -u base --stop-after-init" replace the database_name with your actual database name
  • Restart Service (sudo systemctl restart service)

Final Execstart should look something like:

ExecStart=/odoo-bin --config=/odoo-conf --addons-path=/addons -d database_name -u base --stop-after-init

--stop-after-init flag stops the server once the upgrade process is finished. Depending on the server upgrading base module can take sometime, make sure to wait sometime before restarting the server after the upgrade process has finished.

Remove the "-d database_name -u base --stop-after-init" flags to start the server normally.

Make sure to vote and mark this as the best answer if this helps you

cheers!

0
Avatar
Discard
Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

Try upgrading the base module in the corresponding db from the command line and see if the issue get resolved or not.

upgrade module from terminal:   https://www.youtube.com/watch?v=c7QL1X3-Zlc

Thanks

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
Exception: bus.Bus unavailable Odoo 13 Community
error log Odoo13.0
Avatar
Avatar
1
Aug 23
4318
During handling of the above exception, another exception occurred: Traceback (most recent call last):
error log Odoo13.0
Avatar
0
Aug 23
3480
Error in log Odoo 13 Community
error log Odoo13.0
Avatar
Avatar
1
Aug 23
2516
Openerp 8 crashing at startup -> AttributeError: 'bool' object has no attribute 'endswith'
v8 error log
Avatar
Avatar
Avatar
2
May 15
9399
Error "NameError: name 'check_limit' is not defined" after uninstalling partner_credit_limit
error module uninstall
Avatar
1
Mar 15
7289
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