Page 1 of 1

Document Preview

Posted: Tue Nov 06, 2018 1:30 am
by sheepei
I have done the configuration based on the documentation https://wiki.zimbra.com/wiki/High_Fidelity_Document_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

Re: Document Preview

Posted: Tue Nov 06, 2018 8:57 am
by DualBoot
Hello,

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

See you

Re: Document Preview

Posted: Tue Nov 06, 2018 9:28 am
by pup_seba
...you have 2 mta and 2 mailbox servers for what I can see that image.

Re: Document Preview

Posted: Wed Jan 09, 2019 2:57 am
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

Re: Document Preview

Posted: Wed Jan 09, 2019 8:37 am
by DualBoot
What did you get instead of the preview ?
Did you enable the function in the user preferences into the administration configuration ?

Regards,

Re: Document Preview

Posted: Thu Dec 12, 2019 5:40 pm
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/extension/ZimbraDrive_Download/Nextcloud.png?errorcallback=ZmZimbraDrivePreviewView._errorCallback&previewcallback=ZmZimbraDrivePreviewView._previewCallback&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.

Re: Document Preview

Posted: Mon Dec 16, 2019 2:22 pm
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.