TKLPATCH_ISOLABEL: orangeHRM.zip
# extracting orangeHRM.zip to /tmp/tmp.XXXXXXXX
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: Exiting with failure status due previous errors
And as TKLPatch expects a .tar.gz you'll need to unpack the patch first (renaming doesn't change the format). So:
unzip orangeHRM_0.zip
should do the trick. You can then install the patch as before (except use the folder name rather than the .zip name). You may need to specify the sub folder too eg
tklpatch-apply / ./orangeHRM_0/orangeHRM
Sorry I can't confirm these commands as I don't have handy access to a linux machine at the moment. Let me know if it doesn't work and I'll set up a VM and help you out.
Post now irrelevant due to Basil's modifications as noted below.
Everything was fine. I just wanted to test OrangeHRM avoiding the installation and at the same time try and learn about TKL appliances.
Finally and with your help I did both things. The only disapponting thing it was the application, OrangeHRM, I am a developer on a company specialized on HRM, and OrangeHRM it's so far away from we were expecting, I think it's not mature.
Sorry , all these troubles ocured because the version of the OrangeHRM for which the patch is made is not currently available :( . I forgot to make the changes in all required positions , and i didn't get time to check the patch. Now please try the new patch.
Tried the patch on lucid - seemed ok until it was setting up the db >
Failed to login with user root!
Got this when it was running the line 'create database orangedb' Its using root as a username but not passing or requesting the password for root.
I had set the root password when setting up the LAMP image. I can login manually to the db - but haven't had much luck completing the install manual (which is another issue).
I would try applying the patch to an ISO. Problems can occur when patching running appliances. In this instance setting up the MySQL db possibly relies on having a blank MySQL root password (as it is in the ISO) and when it already has a root password, it fails. Not sure, just a thought.
Error aplying the patch
Hi again Basil,
I tryed to apply the patch on the LAMP Lucid, but I get an error message.
I used:
And I get:
Do I'm doing something wrong? Thank you.
Basil has packaged this one as a .zip
And as TKLPatch expects a .tar.gz you'll need to unpack the patch first (renaming doesn't change the format). So:should do the trick. You can then install the patch as before (except use the folder name rather than the .zip name). You may need to specify the sub folder too egSorry I can't confirm these commands as I don't have handy access to a linux machine at the moment. Let me know if it doesn't work and I'll set up a VM and help you out.Post now irrelevant due to Basil's modifications as noted below.
Patch reuploaded
Patch reuploaded as .tar.gz
Inorder to build the appliance, Turnkey LAMP lucid or Turnkey LAMP hardy is required
It works!
I applyed the patch directly to the TK LAMP Lucid appliance and everything was fine. After a reboot I'm able to connect to OrangeHRM.
JedMeister, Basil, thank you so much guys, without you this would impossible ;-)
Glad to hear you got it going
Let us know how you go with it, I'm sure Basil would love to get some feedback.
Application tested
Everything was fine. I just wanted to test OrangeHRM avoiding the installation and at the same time try and learn about TKL appliances.
Finally and with your help I did both things. The only disapponting thing it was the application, OrangeHRM, I am a developer on a company specialized on HRM, and OrangeHRM it's so far away from we were expecting, I think it's not mature.
Seems like the download link changed
change the url to this
http://downloads.sourceforge.net/project/orangehrm/stable/2.6/orangehrm-...
or download the patch once more . I have made the chnage in the patch
New error
Hi Basil
Thank for your help. I've downloaded the new patch and now I get a new error after run:
Sorry , all these troubles
Sorry , all these troubles ocured because the version of the OrangeHRM for which the patch is made is not currently available :( . I forgot to make the changes in all required positions , and i didn't get time to check the patch. Now please try the new patch.
One more thing , this patch need to be run on TKL-LAMP-lucid instance [http://www.turnkeylinux.org/forum/general/20100811/project-announcement-...
IT WORKS!!
Thanks a lot!
Not working for me :-(
Tried the patch on lucid - seemed ok until it was setting up the db >
Failed to login with user root!
Got this when it was running the line 'create database orangedb' Its using root as a username but not passing or requesting the password for root.
I had set the root password when setting up the LAMP image. I can login manually to the db - but haven't had much luck completing the install manual (which is another issue).
Any ideas on why the patch isn't applying?
Scott
www.rakata.co.uk
Are you applying to an ISO or to a running appliance?
I would try applying the patch to an ISO. Problems can occur when patching running appliances. In this instance setting up the MySQL db possibly relies on having a blank MySQL root password (as it is in the ISO) and when it already has a root password, it fails. Not sure, just a thought.
Ah - that makes sense....
I will give it a go.
Scott
www.rakata.co.uk
Got it working thanks .... but
I had to change the mysql password on the user usrorange (otherrwise was getting access denied) - anyone else seen this?
As a note for anyone else - I also had to apply the patch on a TKL core image (doing it on an image running mysql already was not successful).
cheers.
Scott
www.rakata.co.uk
Add new comment