TurnKey Linux Virtual Appliance Library

Appliance created : OrangeHRM

Basil Kurian's picture

http://www.orangehrm.com/

 

admin username : admin

admin password  : admin

 

base : Turnkey LAMP Hardy or Turnkey LAMP Lucid

Attached: 
Cristineta's picture

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:

wget http://www.turnkeylinux.org/files/attachments/orangeHRM_0.tar.gz
mv orangeHRM_0.tar.gz orangeHRM.tar.gz
tklpatch-apply / orangeHRM.tar.gz

And I get:

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

Do I'm doing something wrong? Thank you.


Jeremy's picture

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:

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.

Basil Kurian's picture

Patch reuploaded

Patch reuploaded as .tar.gz

Inorder to build the appliance, Turnkey LAMP lucid or Turnkey LAMP hardy is required


Cristineta's picture

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 ;-)


Jeremy's picture

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.

Cristineta's picture

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.


Error 404: not found

After execute the command:

tklpatch-apply / orangeHRM.tar.gz

I get the error:

--20:25:42--  http://downloads.sourceforge.net/project/orangehrm/stable/2.6/orangehrm-2.6.tar.gz
=> `orangehrm-2.6.tar.gz'
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
20:25:42 ERROR 404: Not Found.
Any solution?
Thanks
Basil Kurian's picture

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


Jordi's picture

New error

Hi Basil

Thank for your help. I've downloaded the new patch and now I get a new error after run:

tklpatch-apply / OrangeHRM.tar.gz
TKLPATCH_ISOLABEL: OrangeHRM
# extracting patch OrangeHRM.tar.gz to /tmp/tmp.uEAAm10072
fatal: no such directory: /tmp/tmp.uEAAm10072/OrangeHRM
Thanks

Basil Kurian's picture

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-feng-office]


Jordi's picture

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

Jeremy's picture

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

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)