Koozali.org: home of the SME Server

eHour Timesheet Management

guest22

eHour Timesheet Management
« on: December 10, 2012, 04:45:27 AM »

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: eHour Timesheet Management
« Reply #1 on: December 11, 2012, 08:07:00 PM »
RequestedDeletion, you seem to be finding the most useful stuff lately...

I couldn't get the package to install for love nor money until I realized WinSCP was transferring in TEXT mode...o right it IS time for more coffee... :-x
« Last Edit: December 11, 2012, 08:10:45 PM by Knyte »
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

guest22

Re: eHour Timesheet Management
« Reply #2 on: December 11, 2012, 09:59:04 PM »
knyte,

the SCP part I understand, it is the Win part that confuses me, where SSH and WGET look surprised at me too ;-)

Offline TerryF

  • grumpy old man
  • *
  • 1,717
  • +2/-0
Re: eHour Timesheet Management
« Reply #3 on: December 11, 2012, 10:48:14 PM »
Not only finding interesting things, created the HowTo as well, now thats worthy of a community member of the month/year award...thank you will have to suffice however :-)
--
qui scribit bis legit

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: eHour Timesheet Management
« Reply #4 on: December 12, 2012, 12:13:05 AM »
the SCP part I understand, it is the Win part that confuses me

knyte = lazy!!
« Last Edit: December 12, 2012, 12:23:36 AM by Knyte »
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

guest22

Re: eHour Timesheet Management
« Reply #5 on: April 22, 2014, 03:33:41 AM »
Just curious, any success stories on this pls?

Offline engdev

  • *
  • 71
  • +0/-0
Re: eHour Timesheet Management
« Reply #6 on: September 08, 2014, 11:25:29 AM »
RequestedDeletion,

Thanks for your work. I followed your howto with SME 8.1 and if you install java using
Code: [Select]
yum install java the subsequent running of the script fails due to missing java fonts:
Quote
?[root@smeserver4 ~]# ./ehour-1.4.1-standalone-unix.sh
testing JVM in /usr ...
Starting Installer ...
java.lang.Error: Probable fatal error:No fonts found.
        at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1090)
        at sun.font.FontManager.initialiseDeferredFont(FontManager.java:962)
...................
        at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
        at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Could not display the GUI. This application needs access to an X Server.
*******************************************************************
You can also run this application in console mode without
access to an X server by passing the argument -c
*******************************************************************
[root@smeserver4 ~]#

However, if you use the sme9 java install instruction with sme 8.1:
Code: [Select]
yum install java-1.6.0-openjdk dejavu* then the script runs successfully and ehour installs ok.
So would you be able to update the wiki accordingly?
thanks. John

guest22

Re: eHour Timesheet Management
« Reply #7 on: September 08, 2014, 12:19:43 PM »
So would you be able to update the wiki accordingly?
thanks. John

Done. Thanks John!

guest

ps. eHour would be a perfect example to be used as a Docker container... http://wiki.contribs.org/Docker

Offline engdev

  • *
  • 71
  • +0/-0
Re: eHour Timesheet Management
« Reply #8 on: September 23, 2014, 12:24:05 PM »
HF,

Sorry for being a bit tardy in replying but it looks like SME 8 needs both versions of java installing to get ehour working. I've installed it on another 8.1 server and this is what I did:
Code: [Select]
yum install java
yum install nmap
nmap -n localhost
This shows that port 8000 is not open
Code: [Select]
chmod 755 ehour-1.4.1-standalone-unix.sh
./ehour-1.4.1-standalone-unix.sh
This installed ok with no errors, unlike the first server.
Code: [Select]
nmap -n localhostLists port 8000 as being open, ehour is available in the browser.
I then did
Code: [Select]
signal-event post-upgrade; signal-event reboot
After reboot ehour isn't available:
Quote
'Firefox can't establish a connection to the server at 192.168.2.5:8000'
this is confirmed by nmap, port 8000 is unavailable

I tried reinstalling the ehour script but that didn't fix it.

So I tried the sme 9 java install
Code: [Select]
yum install java-1.6.0-openjdk dejavu*port 8000 open again, ehour runs

However, after another upgrade/reboot, the login fails post reboot as port 8000 is unavail.
So I reinstalled again using the script and ehour is available but after every reboot the port is no longer avail and the script needs to be re-run. Any thoughts on why this might be, have you experienced the same issue?

thanks

John

guest22

Re: eHour Timesheet Management
« Reply #9 on: September 23, 2014, 12:26:01 PM »
However, after another upgrade/reboot, the login fails post reboot as port 8000 is unavail.
So I reinstalled again using the script and ehour is available but after every reboot the port is no longer avail and the script needs to be re-run. Any thoughts on why this might be, have you experienced the same issue?

You need to create a link to the ehour startup script in /etc/rc.d/rc.local. See "G" section on the wiki

guest22

Re: eHour Timesheet Management
« Reply #10 on: September 23, 2014, 12:30:57 PM »
I've made it more clear on the wiki. Thanks for the heads up.

Offline engdev

  • *
  • 71
  • +0/-0
Re: eHour Timesheet Management
« Reply #11 on: September 25, 2014, 10:05:48 AM »
Thanks HF, sorry for not spotting that, I stopped reading at the MySQL heading...

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: eHour Timesheet Management
« Reply #12 on: February 19, 2015, 03:14:21 AM »
Just curious, any success stories on this pls?

Old thread, sorry, just reporting a successful install using the wiki...worked the first time.

However I used sitemaker to create the dir and db, as well as completely omitting step D.  Those are the only two variations from the wiki.
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

guest22

Re: eHour Timesheet Management
« Reply #13 on: February 20, 2015, 06:53:06 PM »
Old thread, sorry, just reporting a successful install using the wiki...worked the first time.

However I used sitemaker to create the dir and db, as well as completely omitting step D.  Those are the only two variations from the wiki.


Thanks for the feedback Knyte. Glad it works for you.

guest22

Re: eHour Timesheet Management
« Reply #14 on: July 10, 2015, 01:16:51 PM »
How-to has been updated to show how to use a sub domain instead of port 8000.