Internal Server Error Odoo 10 Di Windows 10

Posted by Admin on October 03, 2019

check-odoo-error-logs

Untuk menyelesaikan odoo error seperti pada screenshot diatas kita bisa melakukan cek pada log odo yang terdapan pada "C:\Program Files (x86)\Odoo 10.0\server\odoo.log" kita bisa lihat detail error odoo di log tersebut adapun contoh yang saya dapatkan pada log.

Odoo-User-error-postresql

Ternyata errornya adalah pada koneksi database Odoo nya, untuk mengatasinya yaitu buat user dan passwod di postgress admin.

PG-Admin-create-userKlick kanan Create -> Login/Role Group 

Create-user-1

Masukan nama user biasanya default untuk koneksi odoo itu "openpg".

PG-Admin-Password

Masukan Password untuk default password koneksi database odoo biasanya "openpgpwd" .

Allow-remote-pg-admin

1. Can Login di rubah jadi yes,

2. Super User di rubah jadi yes.

Setelah selesai semua lalukan / jalankan service odoo 10 dengan change directory ke folder 

cd C:\Program Files (x86)\Odoo 10.0\server

Jalankan syntaknya supaya odoo nya jalan

 odoo-bin.exe -c odoo.conf

Setelah menjalankan syntak di atas maka akan keluar output seperti ini.

2019-10-03 06:07:27,240 20672 INFO ? odoo: Odoo version 10.0-20190401                                                                                
2019-10-03 06:07:27,240 20672 INFO ? odoo: Using configuration file at C:\Program Files (x86)\Odoo 10.0\server\odoo.conf                             
2019-10-03 06:07:27,242 20672 INFO ? odoo: addons paths: ['C:\\Users\\warkirasep\\AppData\\Local\\OpenERP S.A\\Odoo\\addons\\10.0', u'C:\\Program Fil
                                                                                                                                                     
2019-10-03 06:07:27,243 20672 INFO ? odoo: database: openpg@localhost:5432                                                                           
2019-10-03 06:07:27,276 20672 INFO ? odoo.service.server: HTTP service (werkzeug) running on DESKTOP-KLNO7GO:8053                                    
2019-10-03 06:07:39,194 20672 INFO ? odoo.addons.report.models.report: Will use the Wkhtmltopdf binary at C:\Program Files (x86)\Odoo 10.0\thirdparty
2019-10-03 06:07:39,668 20672 INFO ? odoo.http: HTTP Configuring static files                                                                        
2019-10-03 06:07:39,793 20672 INFO odoo10 odoo.modules.loading: init db                                                                              
2019-10-03 06:07:41,056 20672 INFO odoo10 odoo.modules.loading: loading 1 modules...                                                                 
2019-10-03 06:07:41,184 20672 INFO odoo10 odoo.modules.registry: module base: creating or updating database tables                                   
2019-10-03 06:07:41,766 20672 INFO odoo10 odoo.models: Computing parent left and right for table ir_ui_menu...                                       
2019-10-03 06:07:44,193 20672 INFO odoo10 odoo.models: Computing parent left and right for table res_partner_category...                             
2019-10-03 06:07:45,907 20672 INFO odoo10 odoo.models: Storing computed values of ir.attachment fields res_name                                      
2019-10-03 06:07:45,911 20672 INFO odoo10 odoo.models: Storing computed values of ir.actions.report.xml fields report_file                           
2019-10-03 06:07:45,914 20672 INFO odoo10 odoo.models: Storing computed values of ir.module.module fields menus_by_module, reports_by_module, views_b
2019-10-03 06:07:45,917 20672 INFO odoo10 odoo.models: Storing computed values of ir.actions.server fields crud_model_name, wkf_model_name           
2019-10-03 06:07:45,920 20672 INFO odoo10 odoo.models: Storing computed values of ir.ui.view fields model_data_id                                    
2019-10-03 06:07:45,923 20672 INFO odoo10 odoo.models: Storing computed values of res.partner fields commercial_company_name, commercial_partner_id, 
2019-10-03 06:07:45,926 20672 INFO odoo10 odoo.models: Storing computed values of ir.rule fields global                                              
2019-10-03 06:07:45,927 20672 INFO odoo10 odoo.models: Storing computed values of res.partner.bank fields sanitized_acc_number                       
2019-10-03 06:07:45,930 20672 INFO odoo10 odoo.models: Storing computed values of res.users fields share                                             
2019-10-03 06:07:45,931 20672 INFO odoo10 odoo.models: Storing computed values of res.company fields email, logo_web, phone                          
2019-10-03 06:07:46,154 20672 INFO odoo10 odoo.modules.loading: loading base/res/res.lang.csv                                                        
2019-10-03 06:07:46,910 20672 INFO odoo10 odoo.modules.loading: loading base/base_data.xml                                                           
2019-10-03 06:07:47,446 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_currency_data.xml                                               
2019-10-03 06:07:48,188 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_country_data.xml                                                
2019-10-03 06:07:52,938 20672 INFO odoo10 odoo.modules.loading: loading base/security/base_security.xml                                              
2019-10-03 06:07:53,441 20672 INFO odoo10 odoo.modules.loading: loading base/base_menu.xml                                                           
2019-10-03 06:07:53,779 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_config.xml                                                      
2019-10-03 06:07:53,846 20672 INFO odoo10 odoo.modules.loading: loading base/res/res.country.state.csv                                               
2019-10-03 06:07:56,611 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_actions.xml                                                       
2019-10-03 06:07:57,407 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_config_parameter_view.xml                                         
2019-10-03 06:07:57,532 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_cron_view.xml                                                     
2019-10-03 06:07:57,690 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_filters.xml                                                       
2019-10-03 06:07:57,900 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_mail_server_view.xml                                              
2019-10-03 06:07:58,085 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_model_view.xml                                                    
2019-10-03 06:07:58,816 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_attachment_view.xml                                               
2019-10-03 06:07:58,966 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_rule_view.xml                                                     
2019-10-03 06:07:59,176 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_sequence_view.xml                                                 
2019-10-03 06:07:59,306 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_translation_view.xml                                              
2019-10-03 06:07:59,476 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_ui_menu_view.xml                                                  
2019-10-03 06:07:59,630 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_ui_view_view.xml                                                  
2019-10-03 06:07:59,865 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_values_view.xml                                                   
2019-10-03 06:08:00,118 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_autovacuum.xml                                                    
2019-10-03 06:08:00,131 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_model_report.xml                                                  
2019-10-03 06:08:00,160 20672 INFO odoo10 odoo.modules.loading: loading base/ir/report_ir_model.xml                                                  
2019-10-03 06:08:00,217 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_logging_view.xml                                                  
2019-10-03 06:08:00,352 20672 INFO odoo10 odoo.modules.loading: loading base/ir/ir_qweb.xml                                                          
2019-10-03 06:08:00,388 20672 INFO odoo10 odoo.modules.loading: loading base/workflow/workflow_view.xml                                              
2019-10-03 06:08:01,137 20672 INFO odoo10 odoo.modules.loading: loading base/module/module_view.xml                                                  
2019-10-03 06:08:01,473 20672 INFO odoo10 odoo.modules.loading: loading base/module/module_data.xml                                                  
2019-10-03 06:08:01,769 20672 INFO odoo10 odoo.modules.loading: loading base/module/module_report.xml                                                
2019-10-03 06:08:01,799 20672 INFO odoo10 odoo.modules.loading: loading base/module/report/report_ir_module_reference.xml                            
2019-10-03 06:08:01,848 20672 INFO odoo10 odoo.modules.loading: loading base/module/wizard/base_module_update_view.xml                               
2019-10-03 06:08:01,933 20672 INFO odoo10 odoo.modules.loading: loading base/module/wizard/base_language_install_view.xml                            
2019-10-03 06:08:02,082 20672 INFO odoo10 odoo.modules.loading: loading base/module/wizard/base_import_language_view.xml                             
2019-10-03 06:08:02,141 20672 INFO odoo10 odoo.modules.loading: loading base/module/wizard/base_module_upgrade_view.xml                              
2019-10-03 06:08:02,240 20672 INFO odoo10 odoo.modules.loading: loading base/module/wizard/base_module_configuration_view.xml                        
2019-10-03 06:08:02,279 20672 INFO odoo10 odoo.modules.loading: loading base/module/wizard/base_export_language_view.xml                             
2019-10-03 06:08:02,367 20672 INFO odoo10 odoo.modules.loading: loading base/module/wizard/base_update_translations_view.xml                         
2019-10-03 06:08:02,453 20672 INFO odoo10 odoo.modules.loading: loading base/module/wizard/base_module_immediate_install.xml                         
2019-10-03 06:08:02,486 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_company_view.xml                                                
2019-10-03 06:08:02,611 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_request_view.xml                                                
2019-10-03 06:08:02,736 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_lang_view.xml                                                   
2019-10-03 06:08:02,864 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_partner_view.xml                                                
2019-10-03 06:08:03,457 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_bank_view.xml                                                   
2019-10-03 06:08:03,671 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_country_view.xml                                                
2019-10-03 06:08:03,894 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_currency_view.xml                                               
2019-10-03 06:08:04,236 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_users_view.xml                                                  
2019-10-03 06:08:04,940 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_partner_data.xml                                                
2019-10-03 06:08:04,996 20672 INFO odoo10 odoo.modules.loading: loading base/res/ir_property_view.xml                                                
2019-10-03 06:08:05,206 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_security.xml                                                    
2019-10-03 06:08:05,358 20672 INFO odoo10 odoo.modules.loading: loading base/security/ir.model.access.csv                                            
2019-10-03 06:08:07,161 20672 INFO odoo10 odoo.modules.loading: loading base/base_demo.xml                                                           
2019-10-03 06:08:07,515 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_currency_demo.xml                                               
2019-10-03 06:08:08,670 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_bank_demo.xml                                                   
2019-10-03 06:08:08,690 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_partner_demo.xml                                                
2019-10-03 06:08:09,877 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_partner_demo.yml                                                
2019-10-03 06:08:17,993 20672 INFO odoo10 odoo.modules.loading: loading base/res/res_partner_image_demo.xml                                          
2019-10-03 06:08:22,569 20672 INFO odoo10 odoo.modules.loading: 1 modules loaded in 41.51s, 0 queries                                                
2019-10-03 06:08:22,604 20672 INFO odoo10 odoo.modules.loading: updating modules list                                                                
2019-10-03 06:08:25,124 20672 INFO odoo10 odoo.modules.loading: loading 12 modules...                                                                
2019-10-03 06:08:25,197 20672 INFO odoo10 odoo.modules.registry: module auth_crypt: creating or updating database tables                             
2019-10-03 06:08:25,239 20672 INFO odoo10 odoo.addons.auth_crypt.models.res_users: Hashing passwords, may be slow for databases with many users...   
2019-10-03 06:08:25,767 20672 INFO odoo10 odoo.modules.registry: module web: creating or updating database tables                                    
2019-10-03 06:08:25,799 20672 INFO odoo10 odoo.modules.loading: loading web/views/webclient_templates.xml                                            
2019-10-03 06:08:26,470 20672 INFO odoo10 odoo.modules.registry: module web_calendar: creating or updating database tables                           
2019-10-03 06:08:26,494 20672 INFO odoo10 odoo.modules.loading: loading web_calendar/views/web_calendar_templates.xml                                
2019-10-03 06:08:26,642 20672 INFO odoo10 odoo.modules.registry: module web_diagram: creating or updating database tables                            
2019-10-03 06:08:26,671 20672 INFO odoo10 odoo.modules.loading: loading web_diagram/views/web_diagram_templates.xml                                  
2019-10-03 06:08:26,861 20672 INFO odoo10 odoo.modules.registry: module web_editor: creating or updating database tables                             
2019-10-03 06:08:27,170 20672 INFO odoo10 odoo.modules.loading: loading web_editor/security/ir.model.access.csv                                      
2019-10-03 06:08:27,200 20672 INFO odoo10 odoo.modules.loading: loading web_editor/views/editor.xml                                                  
2019-10-03 06:08:27,528 20672 INFO odoo10 odoo.modules.loading: loading web_editor/views/iframe.xml                                                  
2019-10-03 06:08:27,586 20672 INFO odoo10 odoo.modules.loading: loading web_editor/views/snippets.xml                                                
2019-10-03 06:08:27,855 20672 INFO odoo10 odoo.modules.registry: module web_kanban: creating or updating database tables                             
2019-10-03 06:08:27,882 20672 INFO odoo10 odoo.modules.loading: loading web_kanban/views/web_kanban_templates.xml                                    
2019-10-03 06:08:28,119 20672 INFO odoo10 odoo.modules.registry: module web_planner: creating or updating database tables                            
2019-10-03 06:08:28,209 20672 INFO odoo10 odoo.modules.loading: loading web_planner/security/ir.model.access.csv                                     
2019-10-03 06:08:28,259 20672 INFO odoo10 odoo.modules.loading: loading web_planner/security/web_planner_security.xml                                
2019-10-03 06:08:28,305 20672 INFO odoo10 odoo.modules.loading: loading web_planner/views/web_planner_templates.xml                                  
2019-10-03 06:08:28,477 20672 INFO odoo10 odoo.modules.loading: loading web_planner/views/web_planner_views.xml                                      
2019-10-03 06:08:28,753 20672 INFO odoo10 odoo.modules.registry: module web_tour: creating or updating database tables                               
2019-10-03 06:08:28,851 20672 INFO odoo10 odoo.modules.loading: loading web_tour/security/ir.model.access.csv                                        
2019-10-03 06:08:28,869 20672 INFO odoo10 odoo.modules.loading: loading web_tour/views/tour_templates.xml                                            
2019-10-03 06:08:28,996 20672 INFO odoo10 odoo.modules.loading: loading web_tour/views/tour_views.xml                                                
2019-10-03 06:08:29,325 20672 INFO odoo10 odoo.modules.registry: module base_import: creating or updating database tables                            
2019-10-03 06:08:29,914 20672 INFO odoo10 odoo.modules.loading: loading base_import/security/ir.model.access.csv                                     
2019-10-03 06:08:30,145 20672 INFO odoo10 odoo.modules.loading: loading base_import/views/base_import_templates.xml                                  
2019-10-03 06:08:30,381 20672 INFO odoo10 odoo.modules.registry: module web_kanban_gauge: creating or updating database tables                       
2019-10-03 06:08:30,410 20672 INFO odoo10 odoo.modules.loading: loading web_kanban_gauge/views/web_kanban_gauge_templates.xml                        
2019-10-03 06:08:30,611 20672 INFO odoo10 odoo.modules.registry: module web_settings_dashboard: creating or updating database tables                 
2019-10-03 06:08:30,642 20672 INFO odoo10 odoo.addons.auth_crypt.models.res_users: Hashing passwords, may be slow for databases with many users...   
2019-10-03 06:08:30,680 20672 INFO odoo10 odoo.modules.loading: loading web_settings_dashboard/views/dashboard_views.xml                             
2019-10-03 06:08:30,719 20672 INFO odoo10 odoo.modules.loading: loading web_settings_dashboard/views/dashboard_templates.xml                         
2019-10-03 06:08:30,859 20672 INFO odoo10 odoo.modules.loading: 12 modules loaded in 5.73s, 0 queries                                                
2019-10-03 06:08:31,130 20672 INFO odoo10 odoo.modules.loading: Modules loaded.                                                                      
2019-10-03 06:08:31,132 20672 INFO odoo10 odoo.models: Computing parent left and right for table ir_ui_menu...                                       
2019-10-03 06:08:31,176 20672 INFO odoo10 odoo.models: Computing parent left and right for table res_partner_category...                             
2019-10-03 06:08:31,190 20672 INFO odoo10 odoo.addons.base.ir.ir_http: Generating routing map                                                        
2019-10-03 06:08:31,244 20672 INFO odoo10 odoo.modules.registry: At least one model cache has been invalidated, signaling through the database.      

Output ini keluar panjang untuk pertama kali, namun untuk selanjutnya tidak akan panjang karena tidak menginstall module - module lagi. Dan setelah melakukan / menjalankan serrvicenya coba kita akses lewat browser "localhost:8053".

Odoo-success-install

Finish, dan alhamdulillah Odoo bisa running.