Hi all,
I have YetiShare installed on main site and for files I have configured Direct Server.
I notice a problem in the 5.1.0 version.
When I upload the image or video thumbnail and original file in file previewer is broken, but files can normally be downloaded from the direct server, there is a problem with images or video - images do not generate a thumbnail, when I enter the file preview in the manager, there is also a combined image there - the link leads to, for example :
and when I enter this link I get 404.
When I try run this by cron I have this log :
The video player also fails to start, a crossed play icon appears.
The cache folder on the direct server and the main site server exists, and has chmod 755.
When I upload image or video to the local storage all works properly.
The rules in .htaccess are added to the direct server, but script rule don't rewrite to the main site when I visit the Direct Server HTTPS adress - here is the rule :
- in the main domain domain install also. CRONs also replaced.
I have no idea where the problem could be.
I have YetiShare installed on main site and for files I have configured Direct Server.
I notice a problem in the 5.1.0 version.
When I upload the image or video thumbnail and original file in file previewer is broken, but files can normally be downloaded from the direct server, there is a problem with images or video - images do not generate a thumbnail, when I enter the file preview in the manager, there is also a combined image there - the link leads to, for example :
Code:
[direct_server_domain_here]/cache/plugins/filepreviewer /9128/a82d8d41613eb6173bf9c349e1371e908c81d16ef5b146d72e5b22bbcad79bbc/1100x800_cropped.jpg
When I try run this by cron I have this log :
Code:
===========================================================
2021-02-01 14:15:16 - Starting cron task.
2021-02-01 14:15:16 - Ended cron task after all pending images processed.
===========================================================
2021-02-01 14:16:03 - Starting cron task.
2021-02-01 14:16:03 - Set item processing: #9131 (132494112_5117368951637357_4806778907679103304_n.jpg)
2021-02-01 14:16:03 - Created thumbnail url: https://[direct_server_domain_here]/cache/plugins/filepreviewer/9131/ff4d0ae6c6a27071e428fe405ec72d73c0e61a6ca26316f59d244e3b4d1c62af/280x280_middle.jpg
2021-02-01 14:16:04 - Failed getting url contents in time.
2021-02-01 14:16:04 - Ended cron task after all pending images processed.
The cache folder on the direct server and the main site server exists, and has chmod 755.
When I upload image or video to the local storage all works properly.
The rules in .htaccess are added to the direct server, but script rule don't rewrite to the main site when I visit the Direct Server HTTPS adress - here is the rule :
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^(.+)\~s$ https://mainsiteadress.com/$1~s [L]
RewriteRule ^(.+)\~i$ https://mainsiteadress.com/$1~i [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?_page_url=$1 [QSA]
I have no idea where the problem could be.
Attachments
-
71.2 KB Views: 41
-
73.3 KB Views: 39
-
16.4 KB Views: 39