Howto install Odoo 10

Running into some issues with this on a Neth 7.4 test VM. It started with creating the database:
postgres=# CREATE DATABASE odoo ENCODING 'UTF8' OWNER odoo; ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) HINT: Use the same encoding as in the template database, or use template0 as template.
So I ran the create command without specifying UTF8. The remainder of the installation appeared to proceed without issues, but I’m getting an Internal Server Error when I browse to http://host:8069. In /var/log/odoo/odoo-server.log, I’m seeing this:
2017-12-15 22:57:59,098 4330 INFO odoo werkzeug: 192.168.1.199 - - [15/Dec/2017 22:57:59] “GET / HTTP/1.1” 500 -
2017-12-15 22:57:59,105 4330 ERROR odoo werkzeug: Error on request:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/werkzeug/serving.py”, line 177, in run_wsgi
execute(self.server.app)
File “/usr/lib/python2.7/site-packages/werkzeug/serving.py”, line 165, in execute
application_iter = app(environ, start_response)
File “/usr/lib/python2.7/site-packages/odoo/service/server.py”, line 246, in app
return self.app(e, s)
File “/usr/lib/python2.7/site-packages/odoo/service/wsgi_server.py”, line 186, in application
return application_unproxied(environ, start_response)
File “/usr/lib/python2.7/site-packages/odoo/service/wsgi_server.py”, line 172, in application_unproxied
result = handler(environ, start_response)
File “/usr/lib/python2.7/site-packages/odoo/http.py”, line 1308, in call
return self.dispatch(environ, start_response)
File “/usr/lib/python2.7/site-packages/odoo/http.py”, line 1282, in call
return self.app(environ, start_wrapped)
File “/usr/lib/python2.7/site-packages/werkzeug/wsgi.py”, line 579, in call
return self.app(environ, start_response)
File “/usr/lib/python2.7/site-packages/odoo/http.py”, line 1464, in dispatch
odoo.registry(db).check_signaling()
File “/usr/lib/python2.7/site-packages/odoo/init.py”, line 52, in registry
return modules.registry.Registry(database_name)
File “/usr/lib/python2.7/site-packages/odoo/modules/registry.py”, line 59, in new
return cls.new(db_name)
File “/usr/lib/python2.7/site-packages/odoo/modules/registry.py”, line 83, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File “/usr/lib/python2.7/site-packages/odoo/modules/loading.py”, line 280, in load_modules
loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)
File “/usr/lib/python2.7/site-packages/odoo/modules/loading.py”, line 156, in load_module_graph
_load_data(cr, module_name, idref, mode, kind=‘data’)
File “/usr/lib/python2.7/site-packages/odoo/modules/loading.py”, line 95, in load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File “/usr/lib/python2.7/site-packages/odoo/tools/convert.py”, line 839, in convert_file
convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
File “/usr/lib/python2.7/site-packages/odoo/tools/convert.py”, line 895, in convert_csv_import
raise Exception(
(‘Module loading %s failed: file %s could not be processed:\n %s’) % (module, fname, warning_msg))
Exception: Module loading base failed: file base/res/res.lang.csv could not be processed:
Unknown error during import: <class ‘odoo.exceptions.ValidationError’>: Error while validating constraint

1 Like