Bug 266478 - finance/odoo incorrect configuration file location
Summary: finance/odoo incorrect configuration file location
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-18 08:11 UTC by Dimitri Kaparis
Modified: 2022-11-15 16:48 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (acm)


Attachments
Set correct .conf file location (647 bytes, patch)
2022-09-23 20:44 UTC, Dimitri Kaparis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri Kaparis 2022-09-18 08:11:43 UTC
Post-installation message of package py39-odoo-15.0 includes this text:


```
The configuration file can be located at:

   /usr/local/etc/odoo/odoo.conf
```

As above, the package installs configuration file at `/usr/local/etc/odoo/odoo.conf`.

However, the installed service file at `/usr/local/etc/rc.d/odoo` has the command argument `--config=/usr/local/etc/odoo.conf`, thus the actual configuration file location is set to `/usr/local/etc/odoo.conf`.
Comment 1 Dimitri Kaparis 2022-09-23 20:44:39 UTC
Created attachment 236777 [details]
Set correct .conf file location

Changes the startup file to reference the correct install location of the package's .conf file.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-11-15 16:47:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5870c06b97934edd150809f8c75cff0d2345fd29

commit 5870c06b97934edd150809f8c75cff0d2345fd29
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-11-15 16:44:46 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-11-15 16:47:03 +0000

    finance/odoo: Fix issues with latest version of py-werkzeug

    - Fix path to odoo.conf file
    PR:             267331 266478
    Reported by:    Dimitri Kaparis <dimitri .at. kaparis.name>

 finance/odoo/Makefile      | 5 ++++-
 finance/odoo/files/odoo.in | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2022-11-15 16:48:06 UTC
Committed thanks!