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

Internal Server Error after 9/3 git pull

Subscribe

Get notified when there's activity on this post

This question has been flagged
error8.0
5 Replies
13482 Views
Avatar
Kyle Krenzer

2014-09-03 23:16:55,119 4304 ERROR eo-master-2 openerp.sql_db: Programming error: column ir_ui_view.customize_show does not exist

LINE 1: ..."id",ir_ui_view."write_uid",ir_ui_view."priority",ir_ui_view...

                                                             ^

, in query  SELECT ir_ui_view."create_uid",ir_ui_view."create_date",ir_ui_view."name",ir_ui_view."inherit_id",ir_ui_view."arch",ir_ui_view."id",ir_ui_view."write_uid",ir_ui_view."priority",ir_ui_view."customize_show",ir_ui_view."website_meta_description",ir_ui_view."website_meta_title",ir_ui_view."mode",ir_ui_view."write_date",ir_ui_view."active",ir_ui_view."website_meta_keywords",ir_ui_view."model",ir_ui_view."model_data_id",ir_ui_view."type",ir_ui_view."page",ir_ui_view."field_parent" FROM "ir_ui_view"

                    WHERE ir_ui_view.id IN %s AND (TRUE)

                    ORDER BY priority,name

                

2014-09-03 23:16:55,120 4304 ERROR eo-master-2 openerp.sql_db: bad query: SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."type" = 'binary')  AND  ("ir_attachment"."url" = '/web/login')) ORDER BY "ir_attachment"."id" desc 

Traceback (most recent call last):

  File "/opt/odoo/odoo/openerp/sql_db.py", line 234, in execute

    res = self._obj.execute(query, params)

InternalError: current transaction is aborted, commands ignored until end of transaction block

 

2014-09-03 23:16:55,123 4304 INFO eo-master-2 werkzeug: 127.0.0.1 - - [03/Sep/2014 23:16:55] "GET /web/login?redirect=https%3A%2F%2F192.168.0.108%2Fweb%3Fdb%3Deo-master-2 HTTP/1.0" 500 -

2014-09-03 23:16:55,134 4304 ERROR eo-master-2 werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi

    execute(self.server.app)

  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute

    application_iter = app(environ, start_response)

  File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 216, in application

    return application_unproxied(environ, start_response)

  File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied

    result = handler(environ, start_response)

  File "/opt/odoo/odoo/openerp/http.py", line 1218, in __call__

    return self.dispatch(environ, start_response)

  File "/opt/odoo/odoo/openerp/http.py", line 1192, in __call__

    return self.app(environ, start_wrapped)

  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__

    return self.app(environ, start_response)

  File "/opt/odoo/odoo/openerp/http.py", line 1364, in dispatch

    response = self.get_response(httprequest, result, explicit_session)

  File "/opt/odoo/odoo/openerp/http.py", line 1299, in get_response

    result = request.registry['ir.http']._handle_exception(e)

  File "/opt/odoo/odoo/addons/website/models/ir_http.py", line 188, in _handle_exception

    attach = self._serve_attachment()

  File "/opt/odoo/odoo/addons/website/models/ir_http.py", line 162, in _serve_attachment

    attach = self.pool['ir.attachment'].search_read(request.cr, openerp.SUPERUSER_ID, domain, ['__last_update', 'datas', 'mimetype'], context=request.context)

  File "/opt/odoo/odoo/openerp/api.py", line 234, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/openerp/models.py", line 4985, in search_read

    record_ids = self.search(cr, uid, domain or [], offset=offset, limit=limit, order=order, context=context)

  File "/opt/odoo/odoo/openerp/api.py", line 234, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/addons/calendar/calendar.py", line 1691, in search

    return super(ir_attachment, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=count)

  File "/opt/odoo/odoo/openerp/api.py", line 234, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/addons/document/document.py", line 87, in search

    ids = super(document_file, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=False)

  File "/opt/odoo/odoo/openerp/api.py", line 234, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/openerp/models.py", line 1674, in search

    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)

  File "/opt/odoo/odoo/openerp/api.py", line 234, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_attachment.py", line 247, in _search

    access_rights_uid=access_rights_uid)

  File "/opt/odoo/odoo/openerp/api.py", line 234, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/openerp/models.py", line 4515, in _search

    cr.execute(query_str, where_clause_params)

  File "/opt/odoo/odoo/openerp/sql_db.py", line 158, in wrapper

    return f(self, *args, **kwargs)

  File "/opt/odoo/odoo/openerp/sql_db.py", line 234, in execute

    res = self._obj.execute(query, params)

InternalError: current transaction is aborted, commands ignored until end of transaction block

2014-09-03 23:16:55,263 4303 ERROR eo-master-2 openerp.sql_db: Programming error: column ir_ui_view.customize_show does not exist

LINE 1: ..."id",ir_ui_view."write_uid",ir_ui_view."priority",ir_ui_view...

                                                             ^

, in query  SELECT ir_ui_view."create_uid",ir_ui_view."create_date",ir_ui_view."name",ir_ui_view."inherit_id",ir_ui_view."arch",ir_ui_view."id",ir_ui_view."write_uid",ir_ui_view."priority",ir_ui_view."customize_show",ir_ui_view."website_meta_description",ir_ui_view."website_meta_title",ir_ui_view."mode",ir_ui_view."write_date",ir_ui_view."active",ir_ui_view."website_meta_keywords",ir_ui_view."model",ir_ui_view."model_data_id",ir_ui_view."type",ir_ui_view."page",ir_ui_view."field_parent" FROM "ir_ui_view"

                    WHERE ir_ui_view.id IN %s AND (TRUE)

                    ORDER BY priority,name

                

2014-09-03 23:16:55,264 4303 ERROR eo-master-2 openerp.sql_db: bad query: SELECT MAX(CASE WHEN perm_write THEN 1 ELSE 0 END)   FROM ir_model_access a   JOIN ir_model m ON (m.id = a.model_id)   JOIN res_groups_users_rel gu ON (gu.gid = a.group_id)  WHERE m.model = 'ir.ui.view'    AND gu.uid = 3    AND a.active IS True 

Traceback (most recent call last):

  File "/opt/odoo/odoo/openerp/sql_db.py", line 234, in execute

    res = self._obj.execute(query, params)

InternalError: current transaction is aborted, commands ignored until end of transaction block

 

2014-09-03 23:16:55,316 4303 INFO eo-master-2 werkzeug: 127.0.0.1 - - [03/Sep/2014 23:16:55] "GET /favicon.ico HTTP/1.0" 500 -

2014-09-03 23:16:55,320 4303 ERROR eo-master-2 werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi

    execute(self.server.app)

  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute

    application_iter = app(environ, start_response)

  File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 216, in application

    return application_unproxied(environ, start_response)

  File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied

    result = handler(environ, start_response)

  File "/opt/odoo/odoo/openerp/http.py", line 1218, in __call__

    return self.dispatch(environ, start_response)

  File "/opt/odoo/odoo/openerp/http.py", line 1192, in __call__

    return self.app(environ, start_wrapped)

  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__

    return self.app(environ, start_response)

  File "/opt/odoo/odoo/openerp/http.py", line 1359, in dispatch

    result = ir_http._dispatch()

  File "/opt/odoo/odoo/addons/crm/ir_http.py", line 13, in _dispatch

    return super(ir_http, self)._dispatch()

  File "/opt/odoo/odoo/addons/website/models/ir_http.py", line 119, in _dispatch

    return super(ir_http, self)._dispatch()

  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 113, in _dispatch

    return self._handle_exception(e)

  File "/opt/odoo/odoo/addons/website/models/ir_http.py", line 247, in _handle_exception

    html = request.website._render('website.http_error', values)

  File "/opt/odoo/odoo/openerp/api.py", line 232, in wrapper

    return new_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/openerp/api.py", line 549, in new_api

    result = method(self._model, cr, uid, self.ids, *args, **kwargs)

  File "/opt/odoo/odoo/addons/website/models/website.py", line 287, in _render

    return self.pool['ir.ui.view'].render(cr, uid, template, values=values, context=context)

  File "/opt/odoo/odoo/openerp/api.py", line 234, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/addons/website/models/ir_ui_view.py", line 153, in render

    editable=request.website.is_publisher(),

  File "/opt/odoo/odoo/openerp/api.py", line 232, in wrapper

    return new_api(self, *args, **kwargs)

  File "/opt/odoo/odoo/openerp/api.py", line 549, in new_api

    result = method(self._model, cr, uid, self.ids, *args, **kwargs)

  File "/opt/odoo/odoo/addons/website/models/website.py", line 268, in is_publisher

    is_website_publisher = Access.check(cr, uid, 'ir.ui.view', 'write', False, context=context)

  File "/opt/odoo/odoo/openerp/api.py", line 234, in wrapper

    return old_api(self, *args, **kwargs)

  File "<string>", line 2, in check

    

  File "/opt/odoo/odoo/openerp/tools/cache.py", line 75, in lookup

    return self.method(*args, **kwargs)

  File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 732, in check

    , (model_name, uid,)

  File "/opt/odoo/odoo/openerp/sql_db.py", line 158, in wrapper

    return f(self, *args, **kwargs)

  File "/opt/odoo/odoo/openerp/sql_db.py", line 234, in execute

    res = self._obj.execute(query, params)

InternalError: current transaction is aborted, commands ignored until end of transaction block

0
Avatar
Discard
Avatar
KOUBA Aalaâ
Best Answer

 update all modules by using this commande

 ./openerp-server -u all -d DATABASENAME

then, you'll see problems like 'GROUP BY ....' in crm_report and task_report , so you'll need to correct request directly in :

addons/project/report/project_report.py

and

addons/crm/report/crm_opportunity_report.py

and

addons/crm/report/crm_lead_report.py

you have just to add some selected fields after 'GROUP BY', you'll understand by yourself it's easy to see the bugs related to database request

and at least you'll see some problem related to Website module and 'theme.xml', then you can see this link, it's helpful:

https://github.com/odoo/odoo/issues/2152

2
Avatar
Discard
Avatar
Yves Goldberg
Best Answer

Does Anyone has a solution/idea how this can be fixed?

Isn't it doable to launch the server with a flag to upgrade the module?

1
Avatar
Discard
Yves Goldberg

ok. Here's the solution I used: 1. Using "git reflog --date=iso" I selected a commit before the last "git pull" that broke the instance. 2. used "git reset --hard HEAD where HEAD is replaced by the one selected in point 1.

Avatar
Ben Bernard
Best Answer

I'm not shocked and not try to debug it if I found this kind of error from github repo branch 8.0. Odoo 8.0 is not stable yet.

"2014-09-03 23:16:55,263 4303 ERROR eo-master-2 openerp.sql_db: Programming error: column ir_ui_view.customize_show does not exist

This log shows that the table ir_ui_view scheme changed by adding new customize_show column.

0
Avatar
Discard
Kyle Krenzer
Author

I thought the database schema was frozen with the rc1 release... Wish Odoo would keep us in the loop

Avatar
Vũ Quốc Hoàng
Best Answer

Hello,

Odoo did something with web module so they add new field in ir_ui_view.

To fix this issue u can update module website first

For me I edited the openerp-server (--update=website) and deploy again.

0
Avatar
Discard
Avatar
Huseyin Guner
Best Answer

running update all modules on command line fixed the issue for me. 

su odoo  || cd /opt/odoo/odoo-server

./openerp-server -u all

exit || sudo reboot

 

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
?"Your country might be blocked by our hosting provider" error when I create new website
error
Avatar
0
Oct 25
582
Payment Page Return Error with Razorpay on Mobile Devices
error
Avatar
0
Sep 25
1183
Error after installing "purchase" app in Odoo version 18
error
Avatar
Avatar
1
Dec 24
6699
error schema for TourStep Error
error
Avatar
0
Nov 24
2578
Can't modify manifest version of custom module [Odoo.sh]
error
Avatar
Avatar
Avatar
2
Jul 24
5227
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