Odoo 17 on FreeBSD 14

Hi i have reached out to som people thats have guides for setting up Odoo on FreeBSD.

Some of the Howto
hxxps://project.altservice.com/issues/954 [Mod: disabled potentially dangerous URL; Need to investigate]


The problem with the new Odoo v17 is that they require python310 which is fine, but som py- packages is missing in ports.
So when i install by pip install requirement, it stop when missing py- packages.

Have anyone luck installing Odoo 17 on FreeBSD?
 
Last edited by a moderator:
Hey acm

Thanks, i can see you the port maintainer, do you know when the port will be public? :D

Really great work, i will look into the port later this week
 
Well, I have updated odoo port to 16.0.20240222 yesterday. It still uses python3.9. odoo17 needs rebuild all python dependencies to 310 and it needs testing before of commit it. I have not a estimated time right now. If you have chance to test it, tell me if it works for you
 
I just update odoo to 17.0.20240325. If you want test it, you must update your ports tree and install odoo from it. Otherwise you can wait until odoo package is available in some weeks

1) Update your port tree
2) cd /usr/ports/finance/odoo && make install clean clean-depends
3) Follow intructions into pkg-message

I'll try give me a time and create a Appjail-Makejail [1][2] of odoo. It could be great install odoo quickly into a FreeBSD jail.

[1] https://github.com/AppJail-makejails
[2] https://github.com/DtxdF/AppJail
 
Hi Acm

I got this error

Code:
root@odoo-test-1:/usr/ports/finance/odoo # make install clean clean-depends
===>  Patching for py310-odoo-17.0.20240325
===>  Applying FreeBSD patches for py310-odoo-17.0.20240325 from /usr/ports/finance/odoo/files
1 out of 1 hunks failed--saving rejects to odoo/release.py.rej
===>  FAILED Applying FreeBSD patch-odoo_release.py
===> FAILED to apply cleanly FreeBSD patch(es)  patch-odoo_release.py
*** Error code 1

This is done in a jail, before hand I have build tmux successfully
 
Hey ACM!

Thank you for pushing it.
Now, it has this error:


Applying FreeBSD patches for py310-odoo-17.0.20240325 from /usr/ports/finance/odoo/files
1 out of 1 hunks failed--saving rejects to odoo/release.py.rej
===> FAILED Applying FreeBSD patch-odoo_release.py
===> FAILED to apply cleanly FreeBSD patch(es) patch-odoo_release.py
*** Error code 1

How do we resolve this?
 
Hi all

Update on my build :D

I got this error

Code:
  WWW: https://vuxml.FreeBSD.org/freebsd/b54abe9d-7024-4d10-98b2-180cf1717766.html

1 problem(s) in 1 installed package(s) found.
=> Please update your ports tree and try again.
=> Note: Vulnerable ports are marked as such even if there is no update available.
=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/www/py-beaker
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/textproc/py-mako
*** Error code 1

Stop.
make: stopped in /usr/ports/finance/odoo
root@odoo-test-1:/usr/ports/finance/odoo #

I have now started a new build with DISABLE_VULNERABILITIES=yes, which I now still building
 
Still building a lot of dependency with rust

Just curious what is dependent on rust?

Code:
Building [======================>  ] 295/320: rustc_mir_transform, rustc_hir_typeck, rustc_const_eval, rustc_resolve
 
Status update from my build


Code:
[odoo-test-1] Installing py310-html2text-2024.2.26...
pkg-static: py310-html2text-2024.2.26 conflicts with html2text-2.2.3,1 (installs files into the same place).  Problematic file: /usr/local/bin/html2text
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/textproc/py-html2text
*** Error code 1

Stop.
make: stopped in /usr/ports/finance/odoo
 
Back
Top