#26 2020-09-30 12:19:10

DISSTeam
Member
Registered: 2020-09-11
Posts: 46

Re: Error - PDF with Crystal Report?

ReportServer:~$ sudo apk add --no-cache msttcorefonts-installer && update-ms-fonts && fc-cache -f && ln -s /usr/share/fonts/truetype/msttcorefonts /usr/lib/jvm/default-jvm/jre/lib/fonts
sudo: apk: command not found

On the Bitnami Linux package? Enterprise.

Last edited by DISSTeam (2020-09-30 12:19:27)

Offline

#27 2020-09-30 12:42:49

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Error - PDF with Crystal Report?

Hi DISSTeam,

you can try by installing the Bitnami Linux package: https://bitnami.com/stack/reportserver- … ller#linux

Then, execute the steps I mentioned above.

If you get the same error, try to install the fonts in your linux environment with an analogous command:
sudo apk add --no-cache msttcorefonts-installer && update-ms-fonts && fc-cache -f && ln -s /usr/share/fonts/truetype/msttcorefonts /usr/lib/jvm/default-jvm/jre/lib/fonts

of course, depending on your linux environment, you may have to enter a different command for installing this.
The idea is to install the ms core fonts

In the meanwhile, we will test this in a linux environment as well. But to make sure your environment can be corrected like this, I would recommend to test the Bitnami Linux package.

Regards,
Eduardo

Offline

#28 2020-09-30 12:45:32

DISSTeam
Member
Registered: 2020-09-11
Posts: 46

Re: Error - PDF with Crystal Report?

I already use this package on Azure. SO this is the package I already have running.

I have installed the fonts but need to work out the last bit...
ln -s /usr/share/fonts/truetype/msttcorefonts /usr/lib/jvm/default-jvm/jre/lib/fonts

as '/usr/lib/jvm/default-jvm/jre/lib/fonts' doesn't exist. But I am sure it will somewhere.

To add to the package that Bitnami produce - I had to change my sources.list to include
deb http://ftp.de.debian.org/debian buster main contrib

Then I could run
sudo apt update && sudo apt install ttf-mscorefonts-installer

Offline

#29 2020-09-30 12:47:45

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Error - PDF with Crystal Report?

Hi DISSTeam,

sounds good smile
pls let us know if this works for your environment.

Regards,
Eduardo

Offline

#30 2020-09-30 12:51:23

DISSTeam
Member
Registered: 2020-09-11
Posts: 46

Re: Error - PDF with Crystal Report?

where would I find /usr/lib/jvm/default-jvm/jre/lib/fonts in the bitnami set up please?

Offline

#31 2020-09-30 13:21:57

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Error - PDF with Crystal Report?

Hi DISSTeam,

I asked the Bitnami team and I will update here when I have more information.

Regards,
Eduardo

Offline

#32 2020-09-30 13:30:11

DISSTeam
Member
Registered: 2020-09-11
Posts: 46

Re: Error - PDF with Crystal Report?

eduardo wrote:

Hi DISSTeam,

I asked the Bitnami team and I will update here when I have more information.

Regards,
Eduardo

Thanks

We really cannot proceed with purchasing this until we know this issue can be resolved. I appreciate all your help. We are nearly at the end of our trial.

Warm regards,

Offline

#33 2020-09-30 13:31:39

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Error - PDF with Crystal Report?

Hi DISSTeam,

if you need a trial extension, pls just let us know and we will send you an extended trial license.

Regards,
Eduardo

Offline

#34 2020-10-01 08:10:10

DISSTeam
Member
Registered: 2020-09-11
Posts: 46

Re: Error - PDF with Crystal Report?

I'd welcome that please.
If I can get PDF preview and export working and the ability to select database parameters from a comma-separated user variable - then we will be in a better position.

Offline

#35 2020-10-01 14:20:13

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Error - PDF with Crystal Report?

Hi DISSTeam,

here the answer from the Bitnami Team:

The 'apk' command is only available in Alpine and the Bitnami ReportServer Enterprise is based on Debian. The steps are similar, in this case the Microsoft TrueType fonts are in a different Debian repository.

echo "deb http://deb.debian.org/debian buster contrib" >> /etc/apt/sources.list
apt-get update && apt-get install ttf-mscorefonts-installer
ln -s /usr/share/fonts/truetype/msttcorefonts /opt/bitnami/java/lib/fonts

Let us know if you have any questions or suggestions.

Regards,
Eduardo

Offline

#36 2020-10-01 15:04:00

DISSTeam
Member
Registered: 2020-09-11
Posts: 46

Re: Error - PDF with Crystal Report?

This fixed it.

So therefore I would recommend either Bitnami build this in to their linux build so it's done - or it's added to a technical guide somewhere.

Offline

#37 2020-10-01 15:20:34

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Error - PDF with Crystal Report?

Hi DISSTeam,

thanks for letting us know. I will forward this to the Bitnami team.

Regards,
Eduardo

Offline

#38 2020-10-01 15:25:04

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Error - PDF with Crystal Report?

DISSTeam wrote:

I'd welcome that please.

Hi DISSTeam,

I just wrote you an email. Pls send me your server-id for sending you a trial extension.

Regards,
Eduardo

Offline

#39 2020-10-02 08:18:00

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Error - PDF with Crystal Report?

Hi DISSTeam,

I updated the Crystal documentation to include this information here: https://reportserver.net/en/guides/admi … l-Reports/

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB