Document Preview

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
sheepei
Posts: 14
Joined: Thu May 04, 2017 9:07 am

Document Preview

Post by sheepei »

I have done the configuration based on the documentation https://wiki.zimbra.com/wiki/High_Fidel ... nt_Preview
but, the documents are still not previewed. I have 1 mailbox server and 1 front end server.
mailbox server:

Code: Select all

[zimbra@mbs ~]$ zmcontrol status
Host 
        amavis                  Running
        antispam                Running
        antivirus               Running
        convertd                Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running
front end server:

Code: Select all

[zimbra@fes ~]$ zmcontrol status
Host fes.tnt.sarawak.gov.my
        amavis                  Running
        antispam                Running
        antivirus               Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        snmp                    Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Document Preview

Post by DualBoot »

Hello,

first : what is the version of your Zimbra ?
zmcontrol -v

See you
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Document Preview

Post by pup_seba »

...you have 2 mta and 2 mailbox servers for what I can see that image.
sheepei
Posts: 14
Joined: Thu May 04, 2017 9:07 am

Re: Document Preview

Post by sheepei »

Release 8.8.10_GA_3039.RHEL7_64_20180928094617 RHEL7_64 NETWORK edition, Patch 8.8.10_P5.
DualBoot wrote:Hello,

first : what is the version of your Zimbra ?
zmcontrol -v

See you
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Document Preview

Post by DualBoot »

What did you get instead of the preview ?
Did you enable the function in the user preferences into the administration configuration ?

Regards,
gabriel
Posts: 3
Joined: Wed Dec 11, 2019 4:40 pm

Re: Document Preview

Post by gabriel »

Preview files on Open Drive is not working. It works fine on Briefcase.

Plataform: Zimbra 8.8.15 GA 3888.FOSS
Nextcloud 17
Login from NC17 to Zimbra is working ok.
Login from Zimbra to NC17 is working ok too.

Open Drive shows files and folders on NC, and it can be moved, uploaded and downloaded.
But a click on any file did not show the preview of the file.

What is shown in preview panel:

Pdf files: on Chrome a message error say "Can´t load pdf document" and the broswer
on Firefox a browser options open saying "this pdf document might not be displayed cor
rectly. [Open with different viewer]"
Png files: on Chrome shows an empty square and the link of it is
"https://my.zimbra.server/service/extens ... viewonly=1"
on Firefox the link is the same and the message is "The image <link> cannot be displayed
because it contains errors"
Odt files: preview panel show "Generating preview" but nothing else
Txt files: preview panel always show this:
"<html>
<head>
</head>
<body onload='onLoad()'>
<script>
function onLoad() {
window.parent.ZmZimbraDrivePreviewView._previewCallback('','');
}
</script>
</body>
</html>"

Any clue on how to fix it?

G.
gabriel
Posts: 3
Joined: Wed Dec 11, 2019 4:40 pm

Re: Document Preview

Post by gabriel »

More on this issue:
On click on any document Chrome & Firefox debug consoles shown "Resource interpreted as Document but Startup1_1_all.js... transferred with MIME type application/pdf <LINK>" (or application/png,application/mp4,application/jpeg...) and LINK is something like:
https://my.zimbra.server/service/extens ... viewonly=1

G.
Post Reply