TurnKey Linux Virtual Appliance Library

OpenERP 6.0.3 on TKL lapp 11.2

rdmelin's picture
Here is a patch to lapp for openerp 6.0.3. Configuration follows the guide at http://www.theopensourcerer.com/2011/04/19/how-to-install-openerp-6-on-u... and http://www.theopensourcerer.com/2011/04/21/how-to-install-openerp-6-on-u... Web access uses ssl with TKL's self signed cert at https://appliance-ip-address First access to the web client gives an error, just reload the page a time or two. Using the GTK client you will need to use port 8071 and choose the XMLRPC (Secure) protocol. System user = openerp Pgsql user=openerp with password=openerp
Liraz Siri's picture

Sweet

Thanks for taking the time to put this together. We're planning on adding OpenERP officially to the library with the next TurnKey release.
Guest's picture

Release...

Hi, when will it be released? Will you launch openerp as an appliance for ec2 as well?

Jeremy Davis's picture

There is no designated release schedule as yet

So it will be released when it's ready. When it is released it will be available as an EC2 appliance (AMI) as well as the other formats.

In the meantime you can use this patch to create an OpenERP server. As you can also apply patches directly to installed appliances you could create an EC2 instance (by patching an EC2 LAPP appliance). I would advise stopping all services prior to applying the patch though to reduce the chances of the patch applying trouble free (it should work fine to patch an ISO).

Guest's picture

Need help using the script

Hi rdmelin,

Could you please help me, I'm quite noob with my lapp 11.1

I use the open-erp server appliance from here http://openerpappliance.com/

and it works very well but i would like to upgrade it to 6.0.3

How can i use your script to do it the right way without crashing it ?

It seems that the openerp-server and web are installed into an unusual directory which is /home/openerp/production/openerp-server/

It's very important to me to understand how to upgrate it.

Thank you in advance...

G0rg

rdmelin's picture

Not for upgrading

 Hi G0rg,

The patch is used with TKLPatch to create a new appliance iso starting with the current lapp appliance iso. It cannot be used to upgrade any existing installation. Upgrading would be an advanced exercise and depend very much on how the existing installation is set up. you may be able to get expert (probably paid) assistance from openerpappliance.com or openerp.com.

In theory, practice and theory are the same. In practice they're different.

Jeremy Davis's picture

Not sure

Hopefully so, but in the meantime you can bash together a workaround using the TKLBAM hooks if you're keen. Liraz made a recent blog post about this and there is more info in the comments.

Jeremy Davis's picture

Sorry I haven't read through all your posts properly

Been busy and I'm in a bit of a rush. But it sounds like you're having trouble patching, so thought I'd try to give you a quick hand...

Best thing to do is install TKL Core in a VM and use that for patching. Install TKLPatch, and have your patch and your ISO in the the /root directory (root's home). Then 'tklpatch file.iso patch.tar.gz'. If the ISO is still the same size after patching then untar the patch and check that the conf file is executable (common mistake, done it plenty of times myself).

PS I'd use v11.3 ISO, it shouldn't make any difference though (between 11.2 and 11.3)

Jeremy Davis's picture

Just add the executable bit

Extract the patch

tar xvfz filename.tar.gz

then cd into the folder

cd foldername

add the executable bit

chmod +x conf

then cd back out and run the patch again

cd ..
tklpatch appliance.iso patch-foldername

(note no tar.gz at the end)

But as I said I'm only guessing that's the problem, it may not be...

Jeremy Davis's picture

I expect no new appliances until v12.x release

And the v12.x release will be based on Ubuntu 12.04 (not 10.04 as it is now) so v12.x beta will possibly be based on Ubuntu 12.04 beta. Definately not a good candidate for installation in a production environment! That'd be just asking for trouble IMO.

So I very much doubt this will be released as a usable appliance that you could even hope to rely on before late April 2012 (possibly later).

As for your patching, I still think patching the LAPP ISO from within a clean Core install is your best bet. Try making the conf file executable (which as I said above, may or may not be the issue).

If you're still having issues, you could read the TKLPatch docs and do it all manually step by step and try to see what is going on. That would go like this:

  1. Extact the ISO
  2. Copy across overlay (contents of overlay folder into the rootfs of your extracted ISO).
  3. Copy conf into /root (of the extracted ISO rootfs)
  4. chroot in (tklpatch-chroot).
  5. run conf (./conf)
  6. exit chroot
  7. generate the new ISO (tklpatch-geniso IIRC)
  8. Copy out the ISO (using Filezilla or whatever)
  9. Test in a VM

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)