PLEASE UPDATE YOUR BROWSER

1 Reason Insurance (715)598-9924

Leadership Through Service

  • About
    • Meet the Insurance Agents of 1 Reason Insurance
    • Partner Insurance Companies
  • Personal Insurance
    • Car Insurance Quote for Personal Auto
    • Boat Insurance
    • Home Owners Insurance Application
    • Life Insurance Quotes
    • Motorcycle Insurance
    • Personal Umbrella Insurance
    • Renters Insurance
    • RV Camper Insurance
    • Snowmobile Insurance
  • Business Insurance
    • Commercial Auto Insurance
    • What is General Liability Insurance
    • Rental or Vacant Properties
    • Workers Compensation in Wisconsin
  • Blog
  • Contact 1 Reason Insurance
    • Contribute As Guest Author
Home > SuiteCRM Insurance CRM > TimeTrex Time Clock & Payroll Software Install Steps for Ubuntu Virtualmin

TimeTrex Time Clock & Payroll Software Install Steps for Ubuntu Virtualmin

Posted on: August 17, 2024 By: robert

Let me preface this with I am not a professional web administrator, programmer, and there’s a better than even chance I’m missing things and/or not optimizing my install. I am placing this information as much for myself to review for future installs (for example if something is broke and I need to start over) as anyone else. I’m also new with TimeTrex and haven’t even fully tested the install, albeit want a guide to delete and start over.
1. Add PostgreSQL database server
2. Under Virtualmin -> System Settings -> Features and Plugins -> Check Postgre as an option for the virtualmin server
3. Create Virtualmin Server -> uncheck mariaDB and check Postgres dbs
4. Do not create initial web page content
5. Set unique IP address (for internal LAN access if using reverse proxy – HAProxy)
6. Go to File manager -> change directory to one above the ‘public_html’ (home/name_of_virtual Server) upload TimeTrex to this folder and extract compressed

While in the same folder, create the following directories-> var/cache, var/log, & var/storage  (these directories can’t be accessible to the outside and must be somewhere not in the public_html directory)

 

7. in File manager -> go to TimeTrex_Community folder just uploaded -> click the following folders to get to the HTML folder usr/share/timetrex/html

8. Copy contents of HTML folder (includes many folders and files) using Edit-> Copy

9. Change to public_html directory-> paste the contents

10. review the timetrex.ini.php-example_linux for guidance

11. Open/Edit the timetrex-ini.php file (this is the settings file for TimeTrex) to make changes based on your virtualmin server

Make the following changes

log = /var/log/timetrex  -> log = /home/name_of_virtual_server/var/log    // example  (ie log = “/home/timeclock/var/log”)

; storage = /var/lib/timetrex/storage
storage = /home/name_of_virtual_server/var/storage

 

 

type = postgres8
host = localhost // (assuming the db is on the same host)
database_name = Your_db_name
user = Your_username
password = your_password

base_url = /interface

dir = “/home/name_of_virtual_server/var/cache”

hostname = Your_hostname // example hostname = 1reason.com & don’t include https:// etc…..

Change the salt to something else  example salt = 1ReasonIsGreat // anything is fine, just so it’s not the default making it easier to recreate passwords for the evil people

Setup email settings as appropriate

Make sure all the directories created have appropriate permissions (read, write, etc….)

Save and continue to the webportal for additional setup

During the install Wizard -> At the system settings page, remove the trailing slash after /interface

Setting up Cron Job

Go to Webmin -> System -> Scheduled Cron Jobs

Create a new scheduled cron job ->

Execute cron job as Your_server_user (click the user icon and select)

Active YES

Command -> php /home/Your_server_user/public_html/maint/cron.php> /dev/null 2>&1     (actually copy and paste the command shown in the setup, albeit this was the one at the time of writing). Pay attention to the spaces (ie after php for example)

Simple schedule -> Daily (at midnight)  ->>>>>>This will likely require changing to a much more frequent basis (for example every 5 or 10 minutes????), albeit you don’t want it running when you’re adding users etc in the beginning….or run the risk of having to start over as that is what appeared to happen to me.

All days/months/etc… and run on any date

Click Create and continue (once everything appears to be running correctly with one or two users, come back and run the job to test. If the test passes, increase the frequency). Note to the developers, using language such as “to be run regularly throughout the day” is WAY too ambiguous for production use.

Comments

comments

Categories: SuiteCRM Insurance CRM Tags: TimeTrex

1Reason Agencies

What clients have to say:

Mike T. "I started a business last year and Robert responded to my inquiries immediately, and was extremely helpful and knowledgeable as to the type of insurance coverages I would need to get started. Now its been a year and he now carries All of my coverages! Absolutely the most hands on agent I've ever worked with but hands down the friendliest! I can call him anytime and never feel rushed and not only that but he responded while on a family vacation. I believe in relationships in business and so does Robert by the way he treats his customers. I have a true friend in the business, thank you Robert!"


Lynn R. "Bob is very knowledgeable and has always done a great job explaining different aspects of coverage. He is very accessible and looks out for what is best for the consumer. We highly recommend him!


Justin T. "Excellent agent, always available for answers to insurance related questions. Bob, is the person most people strive to become. Without a doubt, a great person!"


Sebastian T. "I can not begin to tell you how pleased I am with 1 Reason Insurance ! Their responding services is friendly and complete. For the services my company offers to the public it is sure nice to know that we are covered for a reasonable fee. Just having (1 R I ) 1 Reason Insurance there is such piece of mind ! Their insurance plans are strait to the point and easy to understand.
Thanks for the great service 1 Reason Insurance !"


Jeff H. "Very nice and cares about the customer! He was literally the reason why i chose him over other companies for my insurance"

Categories

  • Bonds
    • Performance Bond
  • Bookkeeping
    • Business Taxes
  • Business Marketing
    • Webhosting
  • Car Insurance
  • Commercial Auto
  • Commercial Insurance
  • Court Cases
  • Cyber Liability Insurance
  • Employment Opportunities
  • Employment Practices
  • Flood Insurance
  • Home Ownership
  • Homeowner's Insurance
  • Insurance Companies
    • Insurance News
  • Insurance Terms
  • Investing
    • Finance & Insurance News
  • Life Insurance
  • Non Emergency Medical Transportation
  • Payroll
  • Pinewood Derby
  • Professional Liability / E&O
  • Real Estate News
  • Rental Property Insurance
  • Retirement & Estate Planning
  • RV Insurance
  • Starting A Business
  • Stock Dividends
  • SuiteCRM Insurance CRM
  • Taxes
  • Tips & Advice
  • Travel
  • Uncategorized
  • Worker's Compensation

Recent Posts

  • LGI Homes Expands Presence Near Buffalo with New Minneapolis-Area Community
  • Flagship Communities Real Estate Investment Trust Releases 2024 ESG Report
  • NI Holdings, Inc. Reports Results for First Quarter Ended March 31, 2025
  • LGI Homes Continues Growth in Tampa, Florida with Expansion in Spring Hill
  • FG Communities Completes Manufactured Housing Acquisition in Morganton, North Carolina
  • Michael Keeney Joins Greystone as Chief Underwriter for Agency Lending
  • DeFi Development Corp. Purchases 20,473 Solana (SOL), Bringing Treasury Holdings to 420,690 SOL
  • DeFi Development Corp. Announces Closing of $24 Million Private Placement