Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Missing fontconfig when install Jira server on Centos 7

Hi,

I install a Jira server in a vm. The vm doesn't have the internet, so I couldn't using the command line like yum install ...

+ I installed jdk 8

Screen Shot 2019-11-25 at 2.35.19 PM.png

 

+ Installed Atlassian server bin file

Screen Shot 2019-11-25 at 2.39.39 PM.png

But when I run  file atlassian-jira-software-8.5.1-x64.bin
I got this error message

 

[...]$ sudo ./atlassian-jira-software-8.5.1-x64.bin

We couldn't find fontconfig, which is required to use OpenJDK. Press [y, Enter] to install it.

For more info, see https://confluence.atlassian.com/x/PRCEOQ

 

 

I when to the page and get the tutorial install by this command
 

sudo yum install -y dejavu-sans-fonts

 

I can't use this command (I don't have internet on the vm) I try to download and run some file but It doesn't work , Have the same error message.

Screen Shot 2019-11-25 at 2.45.26 PM.png

 

Does anybody have the idea for this? Thank you.

2 answers

1 accepted

2 votes
Answer accepted

Hi @Andy Heinzer ,


I can resolve my problem by this way:

Download some files:

       +dejavu-sans-fonts : https://centos.pkgs.org/7/centos-x86_64/dejavu-sans-fonts-2.33-6.el7.noarch.rpm.html

       +dejavu-fonts-common: https://centos.pkgs.org/7/centos-x86_64/dejavu-fonts-common-2.33-6.el7.noarch.rpm.html

       +dejavu-serif-fonts: https://centos.pkgs.org/7/centos-x86_64/dejavu-serif-fonts-2.33-6.el7.noarch.rpm.html

       +fontconfig: https://centos.pkgs.org/7/centos-x86_64/fontconfig-2.13.0-4.3.el7.x86_64.rpm.html

       +fontpackages-filesystem: https://centos.pkgs.org/7/centos-x86_64/fontpackages-filesystem-1.44-8.el7.noarch.rpm.html

→ install all file in order

rpm -i fontconfig-2.13.0-4.3.el7.x86_64.rpm
rpm -i fontpackages-filesystem-1.44-8.el7.noarch.rpm
rpm -i dejavu-fonts-common-2.33-6.el7.noarch.rpm
rpm -i dejavu-sans-fonts-2.33-6.el7.noarch.rpm
rpm -i dejavu-serif-fonts-2.33-6.el7.noarch.rpm

 

After installing all these files, it resolves my problem 

 

Cheers,

Tien Dang

0 votes
Andy Heinzer Atlassian Team Nov 27, 2019

Hi Dang,

Sorry to hear about this font installation problem. It certainly looks like the Jira software installation will require a font to get past this problem.  From reading the linked KB it seems that it's a known issue that the fontconfig application won't work with Centos 7 specifically. 

So I think you are on the right track with the suggested substitution of the dejavu-sans-font there.  Our KB is currently written in a way that expects this machine would have access to the internet to be able to grab those packages.  But since it seems that you have at least placed these rpms in this folder, I think you can run an alternative command from that folder with these files to install this.  From the directory where you have stored these font rpm files, try running this command:

sudo yum install ./dejavu-sans-fonts-2.33-6.el7.noarch.rpm

This should install the local file rather than try to connect to the internet to lookup the package name.   Also note I dropped the -y switch because I don't want to automatically just say yes to whatever prompts this install might do, it's possible it might prompt you to install other fonts or dependencies and if you can't download them, we might not see the prompt here.  So in your case, try that command and let me know the results.

This should let you install from that downloaded file instead.  I'm afraid the current instructions on the KB don't account for machines without a connection to the internet.  I looked up the yum command structure, and it seems like this is a valid command to get these installed.

Let me know the results either way. I would be interested to update our KB if we can prove this alternative method works the way I think it would.

Cheers,

Andy

Thank for your answers @Andy Heinzer

While I wait for help from the community, I also try to install like this:

Download some file to resolve problem

       +dejavu-sans-fonts : https://centos.pkgs.org/7/centos-x86_64/dejavu-sans-fonts-2.33-6.el7.noarch.rpm.html

       +dejavu-fonts-common: https://centos.pkgs.org/7/centos-x86_64/dejavu-fonts-common-2.33-6.el7.noarch.rpm.html

       +dejavu-serif-fonts: https://centos.pkgs.org/7/centos-x86_64/dejavu-serif-fonts-2.33-6.el7.noarch.rpm.html

       +fontconfig: https://centos.pkgs.org/7/centos-x86_64/fontconfig-2.13.0-4.3.el7.x86_64.rpm.html

       +fontpackages-filesystem: https://centos.pkgs.org/7/centos-x86_64/fontpackages-filesystem-1.44-8.el7.noarch.rpm.html

→ install all file in order

rpm -i fontconfig-2.13.0-4.3.el7.x86_64.rpm
rpm -i fontpackages-filesystem-1.44-8.el7.noarch.rpm
rpm -i dejavu-fonts-common-2.33-6.el7.noarch.rpm
rpm -i dejavu-sans-fonts-2.33-6.el7.noarch.rpm
rpm -i dejavu-serif-fonts-2.33-6.el7.noarch.rpm

 

After installing all these files, it resolves my problem 

Hopefully, it has something can help you improve the error.

Cheers,

Tien Dang

Like Andy Heinzer likes this
Andy Heinzer Atlassian Team Dec 02, 2019

Hi Tien Dang,

Thanks for posting back with your solution.  If you don't mind, would you please post your solution as an Answer to this thread instead of a reply to my answer?  This way we can then Click the Accept Answer button on your answer.  This marks your question as solved.  And in turn it helps other users that search on this same topic to quickly see that this question has an accepted answer. 

I could accept my own answer, but it does not feel right to do that since you appear to have come up with a different solution without my help :)  I don't want my answer to appear to be the correct one when it seems clear your answer is the better one here.

Thanks

Andy

Like Dang Thi Thuy Tien likes this

Do we need to install under JIra installation directory/bin ?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you