Git Product home page Git Product logo

Comments (17)

Yenthe666 avatar Yenthe666 commented on June 24, 2024

Hi @NadirBey,

Thanks for the report. What OS and which version of the script? When did you last try this?

from installscript.

NadirBey avatar NadirBey commented on June 24, 2024

Hi ,

I have a virtual machine Ubuntu server 16.04 and the version of the sricpt is this :
wget https://raw.githubusercontent.com/Yenthe666/InstallScript/11.0/odoo_install.sh

I retrieve it from a site , not ghitub .

A user give me this answer, what about you.
Dependencies
sudo apt-get install -y npm

sudo ln -s /usr/bin/nodejs /usr/bin/node

sudo npm install -g less less-plugin-clean-css

sudo apt-get install -y node-less

from installscript.

NadirBey avatar NadirBey commented on June 24, 2024

Have you got the last version of all the version 8.9.10.11 ?

from installscript.

Yenthe666 avatar Yenthe666 commented on June 24, 2024

Not sure what you're trying to say..
This script downloads the latest Odoo version from github.com/odoo/odoo and installs all dependencies that you need.

from installscript.

chris001 avatar chris001 commented on June 24, 2024

@NadirBey
You should try it again, but use the exact official installation steps listed here:
https://github.com/Yenthe666/InstallScript

from installscript.

hanguyen92205 avatar hanguyen92205 commented on June 24, 2024

i installed Odoo 11.0 comunity with Ubuntu serve 16.04LTS, It is the same isues .
After that, i retry install but odoo can not work
image

image

from installscript.

Yenthe666 avatar Yenthe666 commented on June 24, 2024

@hanguyen92205,

By looking at your screenshots I can see you already had an Odoo with the exact same settings (as you can see from the error The user 'odoo' is already a member of sudo for example).
When you run the install script twice for the same thing your installation will absolutely fail. Check your Odoo configuration file - it will have double parameters which prevents Odoo from working. Also have a look at your logfile (/var/log/odoo)

from installscript.

hanguyen92205 avatar hanguyen92205 commented on June 24, 2024

so, how to do uninstall odoo?
Can you help me, please

from installscript.

Yenthe666 avatar Yenthe666 commented on June 24, 2024

@hanguyen92205 remove the user, the configuration file, the logfile and Odoo. Then you can do a clean install.
Something along the lines of:
sudo rm -R /var/log/odoo
sudo rm /etc/odoo-server.conf (don't forget to also remove the service)
sudo rm -R /odoo
sudo deluser odoo

from installscript.

hanguyen92205 avatar hanguyen92205 commented on June 24, 2024

Thank @Yenthe666
I has to reinstall odoo. It's OK

from installscript.

hanguyen92205 avatar hanguyen92205 commented on June 24, 2024

I install app Live chat , But it's not work
This is logfile :
Error:
Odoo Server Error

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/tools/cache.py", line 84, in lookup
r = d[key]
File "/odoo/odoo-server/odoo/tools/func.py", line 68, in wrapper
return func(self, *args, **kwargs)
File "/odoo/odoo-server/odoo/tools/lru.py", line 44, in getitem
a = self.d[obj].me
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f252a5210d0>, 'base.user_demo')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/tools/convert.py", line 741, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/odoo/odoo-server/odoo/tools/convert.py", line 639, in _tag_record
f_val = self.id_get(f_ref)
File "/odoo/odoo-server/odoo/tools/convert.py", line 724, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/odoo/odoo-server/odoo/tools/convert.py", line 730, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1314, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/odoo/odoo-server/odoo/tools/cache.py", line 89, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1303, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: base.user_demo

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 646, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/odoo/http.py", line 927, in call
return self.method(*args, **kw)
File "/odoo/odoo-server/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 924, in call_button
action = self._call_kw(model, method, args, {})
File "/odoo/odoo-server/addons/web/controllers/main.py", line 912, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 438, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 531, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/odoo/odoo-server/odoo/modules/registry.py", line 84, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/odoo/odoo-server/odoo/modules/loading.py", line 343, in load_modules
loaded_modules, update_module)
File "/odoo/odoo-server/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 "/odoo/odoo-server/odoo/modules/loading.py", line 159, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='demo')
File "/odoo/odoo-server/odoo/modules/loading.py", line 94, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/odoo/odoo-server/odoo/tools/convert.py", line 788, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/odoo/odoo-server/odoo/tools/convert.py", line 849, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/odoo/odoo-server/odoo/tools/convert.py", line 738, in parse
self.parse(rec, mode)
File "/odoo/odoo-server/odoo/tools/convert.py", line 748, in parse
exc_info[2]
File "/odoo/odoo-server/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/odoo/odoo-server/odoo/tools/convert.py", line 741, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/odoo/odoo-server/odoo/tools/convert.py", line 639, in _tag_record
f_val = self.id_get(f_ref)
File "/odoo/odoo-server/odoo/tools/convert.py", line 724, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/odoo/odoo-server/odoo/tools/convert.py", line 730, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1314, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/odoo/odoo-server/odoo/tools/cache.py", line 89, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1303, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
odoo.tools.convert.ParseError: "External ID not found in the system: base.user_demo" while parsing /odoo/odoo-server/addons/calendar/data/calendar_demo.xml:31, near




Initial discussion
Discussion with partner for product.





draft

from installscript.

chris001 avatar chris001 commented on June 24, 2024

@hanguyen92205
https://www.odoo.com/forum/help-1/question/server-error-when-installing-modules-in-odoo-10-enterprise-117447

from installscript.

Yenthe666 avatar Yenthe666 commented on June 24, 2024

Oh boy - never delete users. 😉

from installscript.

hanguyen92205 avatar hanguyen92205 commented on June 24, 2024

thank bro
👍 👍 👍

from installscript.

NadirBey avatar NadirBey commented on June 24, 2024

from installscript.

Yenthe666 avatar Yenthe666 commented on June 24, 2024

@NadirBey yes it is - see https://github.com/Yenthe666/InstallScript/blob/8.0/odoo_install.sh

from installscript.

NadirBey avatar NadirBey commented on June 24, 2024

from installscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.