On a clean Ubuntu 16.04 64bit server. Use apt-get to install the most recent odoo.
wget -O - https://nightly.odoo.com/odoo.key | apt-key add - echo "deb http://nightly.odoo.com/11.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list apt-get update && apt-get install odoo
apt-get install wkhtmltopdf
Its no problem for the 1st time login system. After login I installed two addon "CRM" & "Inventory Management" (Don't know if the issue caused by install these 2 addons, so just mention it here). Its still ok after the installation. These 2 addons are able to use without issue.
Then restart the odoo on server by: sudo service odoo restart. The server then failed to startup.
Here is the error log:
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 242, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 130, in load_module_graph
model_names = registry.load(cr, package)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 248, in load
model = cls._build_model(self, cr)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 426, in _build_model
raise TypeError("Model %r does not exist in registry." % name)
TypeError: Model 'ir.qweb.field.float' does not exist in registry.
2017-12-02 04:03:58,667 4677 INFO odoo odoo.modules.loading: loading 1 modules...
2017-12-02 04:03:58,675 4677 INFO odoo odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries 2017-12-02 04:03:58,684 4677 INFO odoo odoo.modules.loading: loading 28 modules...
2017-12-02 04:03:58,685 4677 ERROR odoo odoo.modules.registry: Failed to load registry Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 59, in __new__
return cls.registries[db_name]
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 68, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/tools/lru.py", line 44, in __getitem__
a = self.d[obj].me KeyError: 'odoo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 84, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 339, in load_modules
force, status, report, loaded_modules, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 242, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 130, in load_module_graph
model_names = registry.load(cr, package)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 248, in load
model = cls._build_model(self, cr)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 426, in _build_model
raise TypeError("Model %r does not exist in registry." % name)
TypeError: Model 'ir.qweb.field.float' does not exist in registry.
2017-12-02 04:03:58,686 4677 INFO odoo werkzeug: 127.0.0.1 - - [02/Dec/2017 04:03:58] "GET / HTTP/1.0" 500 -
2017-12-02 04:03:58,688 4677 ERROR odoo werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 180, in run_wsgi
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 168, in execute
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 252, in app
return self.app(e, s)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 166, in application
return application_unproxied(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 154, in application_unproxied
result = handler(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1298, in __call__
return self.dispatch(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1456, in dispatch
odoo.registry(db).check_signaling()
File "/usr/lib/python3/dist-packages/odoo/__init__.py", line 76, in registry
return modules.registry.Registry(database_name)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 61, in __new__
return cls.new(db_name)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 84, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 339, in load_modules
force, status, report, loaded_modules, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 242, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 130, in load_module_graph
model_names = registry.load(cr, package)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 248, in load
model = cls._build_model(self, cr)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 426, in _build_model
raise TypeError("Model %r does not exist in registry." % name)
TypeError: Model 'ir.qweb.field.float' does not exist in registry.