TurnKey Linux Virtual Appliance Library

Openbravo - Error on module installation

Proyecto Yabocs's picture

Dear all,

first of all I would like to thanks to the turnkeylinux team all the effort to make this possible. It is great to have the opportunity to run this complex configurations just in seconds.

I have been playing around the openbravo turnkey and I have found it really interesting. It took me just a few hours to install vmware server (get to know it) and install the turnkey image to use it. Amazing!

One of my first investigation is how to change all of this to Spanish. I have succeed with the keyboard map change, but I have some troubles about openbravo it self.

I got this error following the openbravo wiki about language module installation (please see screen shots also).

Error: org.apache.ddlutils.DdlUtilsException: /var/lib/tomcat5.5/webapps/openbravo/src-db/database/model/tables/AD_MODULE.xml (No such file or directory) : /var/lib/tomcat5.5/webapps/openbravo/src-db/database/model/tables/AD_MODULE.xml

I wonder if this error is due to the way that the turnkey is created or because a openbravo issue itself. It seems that this file is not available but I don't know how to get it from the console of the turnkey distribution. It happens for every module I try to install (not only for language).

How can openbravo be updated via console? Have anyone a tip on this issue?

Thanks in advance.

Liraz Siri's picture

Filed a bug report

Thanks for reporting this, this may be a bug so I filed a bug report. Unfortunately OpenBravo isn't in Debian or Ubuntu officially yet so the TurnKey OpenBravo appliance was built from the OpenBravo ISV PPA repository, which is a bit of a work in progress. Using a PPA package is better than nothing but the trade off is that the result you get is a bit hard to upgrade. Newer versions of the OpenBravo package in that PPA won't install in Hardy LTS. You can try to upgrade from source but that may be a headache. Hopefully the next version of this appliance will be based on a new version of Ubuntu LTS with an all new version of the OpenBravo package. Fingers crossed it will even be officially supported in Ubuntu and we'll get automatic security updates.

Proyecto Yabocs's picture

Crossed fingers

Thank you so much. Here we cross fingers too , we found really interesting this turnkey you have provide. Thanks again for your time.

Best regards,

Ricardo

Openbravo is on Ubuntu repository

Liraz Siri ,you wrote...... Unfortunately OpenBravo isn't in Debian or Ubuntu officially yet so the TurnKey OpenBravo appliance was built from the OpenBravo ISV PPA repository.

But is not true, this has being on Ubuntu since 9.10 i believe, can you try now and make a turnKey that can be updated,, Module update in Openbravo is very important because is the way to personalice the install.

I think Turnkey is great but it was sad to find I could not install any Modules on the Openbravo version  

Jeremy's picture

OpenBravo is NOT in the 8.04 repo!

Whilst its great that it's in the 9.10 & 10.04 repos, the current TKL appliances are based on 8.04 (which it is not in). SO in the context Liraz stated it, it is true!

With the current development cycle underway and the next TKL release to be based on 10.04 I stongly suspect that the next release of appliances will include a TKL OpenBravo appliance with OpenBravo installed from the 10.04 repo. Especially considering that it will make their work easier!

Any short-term fixes?

Just got hit by this same bug when trying to install the CRM module. Before I delve into the guts of tomcat (an unknown quantity for me) and start munging files and symlinking things randomly - did anyone get any joy from this process already? I'm a Debian fanboi, and recall playing with OpenBravo perhaps about 5 or 6 years ago, and being pretty frustrated with just getting the thing working at the time - ended up building a VM from scratch just to keep its ugliness contained. It's a real bugger that they haven't become distro-friendly since then.

source.path property

Currently there's no package for Debian, but if you like Ubuntu you can install it in 10.04 with a simple "apt-get install openbravo-erp". The package has been significantly improved for this LTS release. Having a package for Ubuntu it should be simple to port this to Debian, but it hasn't been done yet.

As for this specific issue, what's the value of the "source.path" property in the /var/lib/tomcat5.5/webapps/openbravo/WEB-INF/Openbravo.properties file? It should be pointing to the source tree directory. I don't know where's the source tree in this appliance, but an example could be "/opt/OpenbravoERP-2.50/openbravo-erp", the directory containing the "src, core-core, src-db, src-wad, src-trl, etc." directories. This is the first thing to check.

 

Juan Pablo

Error confirmed

I can corfirm the issue, it is not possible to install any modules by the module management webpage.

ubuntu 11.10 vs openbravo

I am trying to install openbravo on ubuntu 11.10 and I keep getting an "invalid vesion 8.4" error.  is anyone familar with this and can help me resolve it?

thank you,

Leye

Jeremy's picture

You probably won't get any help here

Not being rude or anything, just that this is Turnkey Linux. The current version v11 (11.2 specifically) is based on Ubuntu 10.04 (v13 will be based on 12.04) so it is unlikely that you wll get any help re 11.10.

Out of interest, have you tried the TKL OpenBravo appliance? Like I said it's Ubuntu 10.04 with quite a few customisations, including Webmin (a server admin WebUI), Webshell (a browser based shell) and OpenBravo preinstalled and configured, available as an ISO, VM image or can be launched into the cloud. Check it out.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)