cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Installing Codebeamer

rattmice
13-Aquamarine

Installing Codebeamer

I am attempting to install CB 2.1.0.2 on ubuntu  and have done (hopefully) all of the pre-requisite steps.  When I login as the "codebeamer" user and run the installer, I get the following error:

 

 

sh MED-61402-CD-330_2-1-0-2_Linux.bin 
Creating directory setup
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing codebeamer  100%  

Executing codebeamer setup...

Please enter the Installation
Directory (/home/codebeamer/CB-2.1.0.2): 
Installing codebeamer into directory:  /home/codebeamer/CB-2.1.0.2
Cleaning up setup folder
Incorrect installation directory.

 

 

Any guidance on this?

 

-Matt

ACCEPTED SOLUTION

Accepted Solutions
rattmice
13-Aquamarine
(To:rattmice)

Okay so the shell debugging helped.  It turns out the `cpio` command was not installed.

View solution in original post

5 REPLIES 5
GVajda
13-Aquamarine
(To:rattmice)

I checked and it seems ok to me: 

GVajda_0-1717568444149.png

Can you please let me know the permissions and ownership of the installer?

 

 

GVajda
13-Aquamarine
(To:GVajda)

Also please let me know the permissions of codebeamer folder.

rattmice
13-Aquamarine
(To:GVajda)

Here are the permissions and another execution of the installer:

rattmice_1-1717588262572.png

Are there any other prerequisites that might be missing? Unfortunately the installation instructions are scattered and have different information (e.g. one place says to install Java 8 and another says Java 17). But I couldn't find anything else that is required.

 

rattmice
13-Aquamarine
(To:rattmice)

I was able to interrupt the installer at some point and utilize the setup directory it created and I added `set -x` at the top of the SETUP script and ran it:

./SETUP /home/codebeamer/CB-2.1.0.2
+ product=codebeamer
+ umask 007
+ defport=8080
+ defsslport=8443
+ defshtport=8005
+ pwd
+ tmpf=/home/codebeamer/.setuporig/37484.tmp
+ ECHO=echo
+ ECHO_SUF=\c
+ echo -e XXXX \c
+ egrep c|e /home/codebeamer/.setuporig/37484.tmp
+ pat=-e XXXX 
+ rm /home/codebeamer/.setuporig/37484.tmp
+ [ -e XXXX x = x ]
+ /usr/bin/echo XXXX \c
+ egrep c|e /home/codebeamer/.setuporig/37484.tmp
+ pat=XXXX \c
+ rm /home/codebeamer/.setuporig/37484.tmp
+ [ XXXX \cx = x ]
+ /bin/echo XXXX \c
+ egrep c|e /home/codebeamer/.setuporig/37484.tmp
+ pat=XXXX \c
+ rm /home/codebeamer/.setuporig/37484.tmp
+ [ XXXX \cx = x ]
+ echo

+ echo Executing codebeamer setup...
Executing codebeamer setup...
+ echo

+ whoami=whoami
+ [ -f /usr/ucb/whoami ]
+ whoami
+ cur_user=codebeamer
+ [ codebeamer = root ]
+ defdir=/home/codebeamer/CB-2.1.0.2
+ insdir=__NEVER__
+ [ ! -d __NEVER__ ]
+ echo Please enter the Installation
Please enter the Installation
+ echo Directory (/home/codebeamer/CB-2.1.0.2): \c
Directory (/home/codebeamer/CB-2.1.0.2): + read idir

+ [ x != x ]
+ insdir=/home/codebeamer/CB-2.1.0.2
+ [ -d /home/codebeamer/CB-2.1.0.2 ]
+ dirname /home/codebeamer/CB-2.1.0.2
+ parent_dir=/home/codebeamer
+ [ /home/codebeamer = . ]
+ mkdir /home/codebeamer/CB-2.1.0.2
+ [ 0 -ne 0 ]
+ echo Installing codebeamer into directory:  /home/codebeamer/CB-2.1.0.2
Installing codebeamer into directory:  /home/codebeamer/CB-2.1.0.2
+ [ ! -d /home/codebeamer/CB-2.1.0.2 ]
+ find LICENSE-src.txt LICENSE.txt SETUP bin config msoffice office perftesttool repository tomcat upgrade -print
+ cpio -pdm /home/codebeamer/CB-2.1.0.2
+ cleanupSetupFolderIfExists
+ [ -d ../setup ]
+ cbpath=/home/codebeamer/CB-2.1.0.2
+ tomcatpath=/home/codebeamer/CB-2.1.0.2/tomcat
+ cbwebpath=/home/codebeamer/CB-2.1.0.2/tomcat/webapps/cb
+ [ ! -d /home/codebeamer/CB-2.1.0.2/jre/bin ]
+ java -version
+ grep version "17.[0-9]*.[0-9]*.*"
+ jdk_17=openjdk version "17.0.11" 2024-04-16
+ [ -z openjdk version "17.0.11" 2024-04-16 ]
+ checkup
+ [ ! -d /home/codebeamer/CB-2.1.0.2/bin -o ! -d /home/codebeamer/CB-2.1.0.2/repository ]
+ echo Incorrect installation directory.
Incorrect installation directory.
+ exit 2

 

rattmice
13-Aquamarine
(To:rattmice)

Okay so the shell debugging helped.  It turns out the `cpio` command was not installed.

Announcements



Top Tags