Package Details: odoo 17.0-10

Git Clone URL: https://aur.archlinux.org/odoo.git (read-only, click to copy)
Package Base: odoo
Description: Web-based Open Source Business Apps
Upstream URL: https://www.odoo.com/
Keywords: crm erp openerp
Licenses: LGPL-3.0-only
Conflicts: openerp
Replaces: openerp
Submitter: bidossessi
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 57
Popularity: 0.018543
First Submitted: 2015-06-08 10:31 (UTC)
Last Updated: 2024-05-11 15:20 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 22 Next › Last »

davispuh commented on 2020-03-29 14:12 (UTC)

I actually got it working very easily. Basically I just downgraded python-werkzeug like this

$ sudo pacman -U https://archive.archlinux.org/packages/p/python-werkzeug/python-werkzeug-0.16.1-1-any.pkg.tar.zst

And that's it, now it works for me. Proper fix would be add python-werkzeug-0.16 to AUR and then make this package to depend on it.

As for why it doesn't work for you guys is because most likly you've wrong permissions on those python folders. Try fixing with

$ sudo chown -R root:root /usr/lib/python3.8/site-packages
$ sudo chmod -R a+rX /usr/lib/python3.8/site-packages

0ofta commented on 2020-03-29 10:38 (UTC) (edited on 2020-03-29 10:42 (UTC) by 0ofta)

OK, so I was able to make Odoo run on a clean install of Arch now, by running it manually, instead of using systemctl. My steps where like this:

sudo pacman -Rdd python-werkzeug

sudo pip3 install libsass

sudo pip3 install Werkzeug==0.16.0

python /usr/bin/odoo -r odoo -d odoo -w test -i base

(The "-i base" is only used the first time to initialise the database, the -r is the database user and -d is the name of the database. -w is the password of the database user).

I will continue to see if I can figure out why the service gives a "500 Internal server error", but at least we have a workaround - which was my 1st priority right now. Using 'screen' or 'tmux' etc. should make it convenient to run it as this.

--- I do however understand that this is not what we all want, and will continue to investigate ---

If you find a -real- solution to the service not running correctly, please let me know, so I can make a fix in the package build.

Cheers

krouziciorel commented on 2020-03-29 08:49 (UTC)

I report the same bug as davispuh, it is currently not possible to use python-werkzeug 1.0.

I tried to install an older version: pip3 install werkzeug == 0.16.0

Now everything seems OK, sudo systemctl status odoo.service:

● odoo.service - Advanced OpenSource ERP and CRM server Loaded: loaded (/usr/lib/systemd/system/odo.service; disabled; vendor preset: disabled) Active: active (running) since Sun 2020-03-29 10:41:39 CEST; 2s ago Process: 2359 ExecStartPre = / usr / bin / install -d -m755 -o oooo -g oooo / run / oooo (code = exited, status = 0 / SUCCESS) PID Main: 2360 (odoo) Tasks: 4 (limit: 4515) Memory: 56.0M CGroup: /system.slice/odoo.service 602365 / usr / bin / python / usr / bin / odoo -c /etc/odoo/odoo.conf -pidfile = / run / odoo / odoo.pid

Mar 29 10:41:38 arch systemd [1]: Starting the OpenSource ERP and CRM server ... Mar 29 10:41:38 arch systemd [1]: Started Advanced OpenSource ERP and CRM server Mar 29 10:41:40 arch Odoo [2360]: 2020-03-29 08: 41: 40.097 2360 INFO? Odoo: Odoo version 13.0-20200321 Mar 29 10:41:40 arch Odoo [2360]: 2020-03-29 08: 41: 40.097 2360 INFO? odoo: Using configuration file at /etc/odoo/odoo.conf Mar 29 10:41:40 arch Odoo [2360]: 2020-03-29 08: 41: 40.097 2360 INFO? odoo: addons paths: ['/usr/lib/python3.8/site-packages/>' Mar 29 10:41:40 arch Odoo [2360]: 2020-03-29 08: 41: 40,098 2360 INFO? odoo: database: odoo @default: default Mar 29 10:41:40 arch Odoo [2360]: 2020-03-29 08: 41: 40,382 2360 INFO? odoo.addons.base.models.ir_actions_report Mar 29 10:41:40 arch Odoo [2360]: 2020-03-29 08: 41: 40.605 2360 INFO? odoo.service.server: HTTP service (werkzeug) running on>

After you try to start a Web login:

http://localhost:8068/

I'm getting 500 Internal Server Error

and via sudo systemctl status odoo.service:

● odoo.service - Advanced OpenSource ERP and CRM server Loaded: loaded (/usr/lib/systemd/system/odo.service; disabled; vendor preset: disabled) Active: active (running) since Sun 2020-03-29 10:41:39 CEST; 14s ago Process: 2359 ExecStartPre = / usr / bin / install -d -m755 -o oooo -g oooo / run / oooo (code = exited, status = 0 / SUCCESS) PID Main: 2360 (odoo) Tasks: 4 (limit: 4515) Memory: 58.6M CGroup: /system.slice/odoo.service 602365 / usr / bin / python / usr / bin / odoo -c /etc/odoo/odoo.conf -pidfile = / run / odoo / odoo.pid

Mar 29 10:41:50 arch Odoo [2360]: value = self.fget (obj) Mar 29 10:41:50 arch Odoo [2360]: File "/usr/lib/python3.8/site-packages/odoo/http.py", line 1263, in session_store Mar 29 10:41:50 arch Odoo [2360]: path = odoo.tools.config.session_dir Mar 29 10:41:50 arch Odoo [2360]: File "/usr/lib/python3.8/site-packages/odoo/tools/config.py", line 685, in session_dir Mar 29 10:41:50 Arch Odoo [2360]: os.makedirs (d, 0o700) Mar 29 10:41:50 arch Odoo [2360]: File "/usr/lib/python3.8/os.py", line 213, in makedirs Mar 29 10:41:50 arch Odoo [2360]: makedirs (head, exist_ok = exist_ok) Mar 29 10:41:50 arch Odoo [2360]: File "/usr/lib/python3.8/os.py", line 223, in makedirs Mar 29 10:41:50 arch Odoo [2360]: mkdir (name, mode) Mar 29 10:41:50 arch Odoo [2360]: PermissionError: [Errno 13] Operation refused: '/ var / lib / odoo' - - -

I see just [Errno 13].

Ubuntu also has problems: https://www.odoo.com/forum/help-1/question/no-module-named-werkzeug-contrib-164288

I haven't figured out the solution yet.

0ofta commented on 2020-03-29 02:08 (UTC)

Hi @davispuh, I will look at this in the morning (it's nighttime here now). In the meantime, I guess installing the module using pip might be a temporary solution?

Thanks for the heads up.

davispuh commented on 2020-03-29 01:56 (UTC)

Currently it fails with

  File "/usr/bin/odoo", line 5, in <module>
    import odoo
  File "/usr/lib/python3.8/site-packages/odoo/__init__.py", line 117, in <module>
    from . import service
  File "/usr/lib/python3.8/site-packages/odoo/service/__init__.py", line 7, in <module>
    from . import wsgi_server
  File "/usr/lib/python3.8/site-packages/odoo/service/wsgi_server.py", line 25, in <module>
    import werkzeug.contrib.fixers
ModuleNotFoundError: No module named 'werkzeug.contrib'

Because python-werkzeug is 1.0 which isn't compatible. See https://github.com/odoo/odoo/issues/45914

0ofta commented on 2020-03-21 08:00 (UTC)

Hi @Vallinger - the package is now updated to version 20200321. Sorry for the late reply.

Vallinger commented on 2020-02-26 16:24 (UTC)

It is now compatible with Python 3.8 - https://github.com/odoo/odoo/pull/40355 Install a newer nightly by changing the subversion in the PKGBUILD to a new one: 'yay -S --mflags "--skipchecksums" --editmenu odoo' in the PKGBUILD change the value of _pkgsubversion to a new one - https://nightly.odoo.com/13.0/nightly/src/ - e.g., 20200226.

ArthurBorsboom commented on 2020-01-20 13:10 (UTC)

In my case I had to install the [python2-wheel] package for a successful installation. Maybe this must be added as a build dependency?

gehidore commented on 2019-12-14 00:36 (UTC) (edited on 2019-12-14 00:49 (UTC) by gehidore)

Not compatible with Python 3.8? https://github.com/odoo/odoo/issues/40232

PR to fix https://github.com/odoo/odoo/pull/40355

rustis commented on 2019-07-19 00:04 (UTC)

Package is updated, should work now