Upgrading TimeTrex 22.22 to TimeTrex_Standard_Edition_v3.0.0

Discussion for TimeTrex open source community developers.
Locked
mohan
Posts: 7
Joined: Fri Aug 28, 2009 2:06 am

Upgrading TimeTrex 22.22 to TimeTrex_Standard_Edition_v3.0.0

Post by mohan »

Hi,
-> Upgrading TimeTrex 22.22 to TimeTrex_Standard_Edition_v3.0.0-rc2

I previously installed TimeTrex 22.22 on linux in /scratch/local using the bin
installer. I wanted to upgrade to TimeTrex v3.0.0 .I tried on several linux
platforms but kept getting asked for postgres password (another postgres?) or
else I got other postgres warnings...

Example: I got the following 2 warnings on a system where no postgres was installed.
*kdesu -u postgres -c '"/home/myUser/TimeTrex/postgresql/bin/pg_ctl" start'
*Error running /home/myUser/TimeTrex/postgresql/bin/psql -U postgres -p 5433 -h localhost -c "CREATE ROLE timetrex LOGIN PASSWORD '1234abcd' SUPERUSER CREATEDB CREATEROLE VALID UNTIL 'infinity';" : psql.bin: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5433?

Also some TimeTrex files were installed in /home/myUser/TimeTrex but I had my TimeTrex in /scratch/local?

With help of your install guide I eventually updated Timetrex and I also installed phppgAdmin.
I have added instructions for anyone who might find it useful.
Replace "/scratch/local" with you install directory.

->Update timetrex file from zip
1. cd /scratch/local
2. cp -a ./TimeTrex ./TimeTrex22.22 (backup everything)
3. cd TimeTrex
4. http://sourceforge.net/projects/timetre ... p/download
5. unzip TimeTrex_Standard_Edition_v3.0.0-rc2.zip
6. rm -rf timeTrex
7. mv TimeTrex_Standard_Edition_v3.0.0-rc2 timetrex
8. cp ../TimeTrex22.22/timetrex/timetrex.ini.php ./timetrex
9. vim ./timetrex/timetrex.ini.php -> installer_enabled = TRUE
10. http://localhost:8085/interface/install/install.php
11. rm TimeTrex_Standard_Edition_v3.0.0-rc2.zip

->To add phppgadmin support..
12. cd ./timetrex
13. http://downloads.sourceforge.net/phppga ... 2?download
PgAdmin-4.2.2.ptar.bz2
14. tar --use-compress-program bzip2 -xvf phpPgAdmin-4.2.2.tar.bz2
15. mv phpPgAdmin-4.2.2 phpPgAdmin
16. vim ./timetrex/phpPgAdmin/conf/config.inc.php ->
$conf['servers'][0]['host'] = 'localhost';
$conf['servers'][0]['port'] = 5433;

http://local:8085/phpPgAdmin/index.php
For user/password: (see timetrex.ini.php)
Martin
~
Locked