Civlac
November 22, 2018, 4:29am
1
Pydio 8.2.2 Community Edition
Imagemagick is successfully creating the thumbs for my pdf files, and it also displays the preview in the info pane on the right, but when I click the file to view a larger version, the window stays blank. What needs to be changed?
Hi,
Try to increase memory_limit = 1024M (php.ini)
Civlac
November 22, 2018, 7:30pm
3
Unfortunately that does not work. I already had the memory limit set even higher, but I tried your suggestion which didn’t work either. What else?
Hi,
Try to rename this file to see it can regenerate the thumbnail or not ?!
Civlac
November 23, 2018, 8:36am
5
I can rename, move, and reupload files where the thumbnails load correctly but still can’t preview the entire document using document reader.
Please post more information about your system:
OS name,version, php version …
convert version
apache log
Civlac
November 23, 2018, 9:08am
7
OS: Ubuntu 18.04.1
PHP: v7.2.10
ImageMagick: v6.9.7-4
Here is apache's error log:
[Thu Nov 22 06:25:02.396987 2018] [ssl:error] [pid 10705] AH02217: ssl_stapling_init_cert: can’t retrieve issuer certificate! [subject: CN=CloudFlare Origin Certificate,OU=CloudFlare Origin CA,O=CloudFlare\, Inc. / issuer: ST=California,L=San Francisco,OU=CloudFlare Origin SSL Certificate Authority,O=CloudFlare\, Inc.,C=US / serial: 056B35917F2015B41372862493967F8067AC8D50 / notbefore: May 2 16:28:00 2018 GMT / notafter: Apr 28 16:28:00 2033 GMT]
[Thu Nov 22 06:25:02.397011 2018] [ssl:error] [pid 10705] AH02604: Unable to configure certificate venotion.net:443:0 for stapling
[Thu Nov 22 06:25:02.397060 2018] [mpm_prefork:notice] [pid 10705] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Thu Nov 22 06:25:02.397065 2018] [core:notice] [pid 10705] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu Nov 22 08:19:57.209597 2018] [core:error] [pid 15853] (13)Permission denied: [client 162.158.106.167:21878] AH00132: file permissions deny server access: /var/www/html/pydio/plugins/gui.ajax/res/themes/common/images/PydioLogo250.png, referer: https://www.venotion.net/pydio/welcome/
[Thu Nov 22 11:23:18.853430 2018] [core:error] [pid 15863] (13)Permission denied: [client 162.158.106.167:58116] AH00132: file permissions deny server access: /var/www/html/pydio/plugins/gui.ajax/res/themes/common/images/PydioLogo250.png, referer: https://www.venotion.net/pydio/welcome/
[Thu Nov 22 11:28:57.106518 2018] [core:notice] [pid 10705] AH00051: child pid 10979 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Nov 22 11:28:57.106602 2018] [core:notice] [pid 10705] AH00051: child pid 11082 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Nov 22 11:28:57.106644 2018] [core:notice] [pid 10705] AH00051: child pid 10758 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Nov 22 11:28:57.106684 2018] [core:notice] [pid 10705] AH00051: child pid 11176 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Nov 22 11:28:57.106723 2018] [core:notice] [pid 10705] AH00051: child pid 10943 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Nov 22 11:28:57.106771 2018] [mpm_prefork:notice] [pid 10705] AH00169: caught SIGTERM, shutting down
[Thu Nov 22 11:28:57.183793 2018] [ssl:error] [pid 17804] AH02217: ssl_stapling_init_cert: can’t retrieve issuer certificate! [subject: CN=CloudFlare Origin Certificate,OU=CloudFlare Origin CA,O=CloudFlare\, Inc. / issuer: ST=California,L=San Francisco,OU=CloudFlare Origin SSL Certificate Authority,O=CloudFlare\, Inc.,C=US / serial: 056B35917F2015B41372862493967F8067AC8D50 / notbefore: May 2 16:28:00 2018 GMT / notafter: Apr 28 16:28:00 2033 GMT]
[Thu Nov 22 11:28:57.183829 2018] [ssl:error] [pid 17804] AH02604: Unable to configure certificate venotion.net:443:0 for stapling
[Thu Nov 22 11:28:57.204212 2018] [ssl:error] [pid 17809] AH02217: ssl_stapling_init_cert: can’t retrieve issuer certificate! [subject: CN=CloudFlare Origin Certificate,OU=CloudFlare Origin CA,O=CloudFlare\, Inc. / issuer: ST=California,L=San Francisco,OU=CloudFlare Origin SSL Certificate Authority,O=CloudFlare\, Inc.,C=US / serial: 056B35917F2015B41372862493967F8067AC8D50 / notbefore: May 2 16:28:00 2018 GMT / notafter: Apr 28 16:28:00 2033 GMT]
[Thu Nov 22 11:28:57.204231 2018] [ssl:error] [pid 17809] AH02604: Unable to configure certificate venotion.net:443:0 for stapling
[Thu Nov 22 11:28:57.206516 2018] [mpm_prefork:notice] [pid 17809] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Thu Nov 22 11:28:57.206548 2018] [core:notice] [pid 17809] AH00094: Command line: ‘/usr/sbin/apache2’
Error: Unable to connect or start own listener. Aborting.
convert: no images defined /var/www/html/pydio/data/cache/imagick_thumb/2668cbf60202f84f792548e6f733d827.jpg' @ error/convert.c/ConvertImageCommand/3258. Error: Unable to connect or start own listener. Aborting. func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26 convert: no images defined
/var/www/html/pydio/data/cache/imagick_thumb/06d65e91039a5613430bd44e25e0d399.jpg’ @ error/convert.c/ConvertImageCommand/3258.
func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26
func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26
func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26
func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26
[Thu Nov 22 16:58:36.835500 2018] [ssl:error] [pid 19121] [client 139.162.237.43:47294] AH02042: rejecting client initiated renegotiation
[Fri Nov 23 00:30:14.481388 2018] [core:error] [pid 18231] (13)Permission denied: [client 162.158.106.167:50240] AH00132: file permissions deny server access: /var/www/html/pydio/plugins/gui.ajax/res/themes/common/images/PydioLogo250.png, referer: https://www.venotion.net/pydio/welcome/
[Fri Nov 23 00:38:41.228293 2018] [core:error] [pid 23449] (13)Permission denied: [client 162.158.106.167:64324] AH00132: file permissions deny server access: /var/www/html/pydio/plugins/gui.ajax/res/themes/common/images/PydioLogo250.png, referer: https://www.venotion.net/pydio/welcome/
[Fri Nov 23 00:48:29.260674 2018] [core:error] [pid 23715] (13)Permission denied: [client 162.158.106.167:25184] AH00132: file permissions deny server access: /var/www/html/pydio/plugins/gui.ajax/res/themes/common/images/PydioLogo250.png, referer: https://www.venotion.net/pydio/welcome/
Ok,
It’s not problem of imagick. It’s problem of pdfjs.
When you open pdf file in large windows, try to “press F12” to turn on Debug mode of webbrowser, do you see any error in “console” tab?
Civlac
November 23, 2018, 3:12pm
9
Here’s the error I am getting:
Refused to display ‘URL ’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.
Hi,
Try to use: X-Frame-Options: sameorigin
Civlac
November 23, 2018, 3:39pm
11
Awesome, fixed it right up. Much appreciated. While I’ve got you here, is there any way to reduce the size of of these ‘headers’, I don’t need them taking up so much space.
If each bar was the size of the dark PDF one, I wouldn’t have an issue since they all provide helpful tools, but it doesn’t help having 2 thick bars with only a few tools on each. Anything I can do about this?
Civlac
November 23, 2018, 3:42pm
13
No worries, thanks for the help anyways. While you’re online, would you mind taking a look at my other thread about the blank page opening up?