xfrocks updated [bd] Attachment Store with a new update entry: Minor Update Read the rest of this update entry...
xfrocks updated [bd] Attachment Store with a new update entry: Minor Update Read the rest of this update entry...
readfile(/var/www/html/internal_data/temp/bdasd_HGNyB8): failed to open stream: No such file or directory ErrorException: readfile(/var/www/html/internal_data/temp/bdasd_HGNyB8): failed to open stream: No such file or directory -library/XenForo/FileOutput.php:36 Code: #0 [internal function]: XenForo_Application::handlePhpError(2, 'readfile(/var/w...', '/var/www/html/l...', 36, Array) #1 /var/www/html/library/XenForo/FileOutput.php(36): readfile('/var/www/html/i...') #2 /var/www/html/library/XenForo/FrontController.php(228): XenForo_FileOutput->output() #3 /var/www/html/index.php(13): XenForo_FrontController->run() #4 {main} Unable to download media files
@xfrocks I have several errors since the last update. Code: Server Error Log Error Info ErrorException: readfile(/home/admin/domains/example.com/private_html/internal_data/temp/bdasd_BaAMaZ): failed to open stream: No such file or directory - library/XenForo/FileOutput.php:36 Generated By: Unknown Account, Today at 8:35 AM Stack Trace #0 [internal function]: XenForo_Application::handlePhpError(2, 'readfile(/home/...', '/home/admin/dom...', 36, Array) #1 /home/admin/domains/example.com/private_html/library/XenForo/FileOutput.php(36): readfile('/home/admin/dom...') #2 /home/admin/domains/example.com/private_html/library/XenForo/FrontController.php(228): XenForo_FileOutput->output() #3 /home/admin/domains/example.com/private_html/index.php(13): XenForo_FrontController->run() #4 {main} Request State array(3) { ["url"] => string(63) "https://www.example.com/media/jet-lag-amateurs.1225/download" ["_GET"] => array(1) { ["/media/jet-lag-amateurs_1225/download"] => string(0) "" } ["_POST"] => array(0) { } } Delete...Close I noticed the download button in the gallery doesn't work and that's generating the errors. Any Idea how I can solve this? Thanks!
thienbui @Fred. I also know that Themselves version 1.1.4 has support Media. Just you Disable addon [Tinhte] Attach Image Optimization But you will not show the pictures with guests
Ok, seems like the only solution is to remove it and install the old one. Too bad @xfrocks is not responding
I tried to downgrade to 1.1.4 I could not get it working again so I decided to roll back and use a backup of my database. So now I'm still at 1.2.0 And now it start to get really weird. The images seems to serve from my local server, however when I past an image url in the browser is fetching the image from cloudfront. The error disappeared, and I can download the images again. From my local server I guess. Well, It works for now. But it looks like everything is being served from my server.
xfrocks @Fred. Sorry for the late respond, what have you attempted so far? Is the issue only with media files or all attachment files? And currently, which versions of this add-on, media add-on and XenForo are you on?
Fred. @xfrocks The issue is only with media files, when you try to download them (with the download button) XF 1.5.4 XFMG 1.1.3 and BDAS 1.2.0 The only way I could stop most of the errors was switching download media off for guests. But if a member clicks on the download button I still get the error. Always the readfile error. The browser says ERR_INVALID_RESPONSE and the url is like https://www.example.com/media/blablabla.1277/download Thanks
Fred. @xfrocks Code: [root@server01 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb2 9.5G 263M 8.8G 3% / devtmpfs 7.7G 0 7.7G 0% /dev tmpfs 7.8G 0 7.8G 0% /dev/shm tmpfs 7.8G 364M 7.4G 5% /run tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup /dev/sdb3 9.5G 4.8G 4.3G 53% /usr none 2.0G 0 2.0G 0% /tmp /dev/sdb1 20G 2.7G 16G 15% /var /dev/sdb7 690G 17G 639G 3% /home /dev/sda1 230G 105G 113G 49% /backup tmpfs 1.6G 0 1.6G 0% /run/user/0
xfrocks @Fred. Everything looks good. Please start a conversation with me with your server info so I can take a closer look. Sorry for the inconvenience.
Hello. I've moved files from S3 to default. and did 2 rebuilds: Move Attachment Data Update Attachment Data Storage Options but the attachements' url still in S3 as before . any tips?
xfrocks @venaga Did you encounter any errors during rebuild? Also, you should not run update storage options, only move attachment data. Do you remember in which order you ran those 2 tools? And how did you configure them?
venaga @xfrocks no errors. 1st Move Attachment Data 2nd Update Attachment Data Storage Options in the 2nd I choosed Default and check after update
xfrocks updated [bd] Attachment Store with a new update entry: Minor update Read the rest of this update entry...
data_id increment after delayed processing cron job runs. with s3 setup say attachment uploaded with data_id 100 after cron jobs data_id 101 that means a new thumbnail must be created for each image. is this proper operation? I have a problem with XFMG, which doesn't create new thumbnail for data_id change. Results in 404 error because there is no image.
Code: An exception occurred: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/admin/domains/domain.com/public_html/library/bdAttachmentStore/ShippableHelper/TempFile.php on line 50 [LIST=1] [*][B]XenForo_Application::handlePhpError()[/B] [*][B]curl_setopt()[/B] in [B]bdAttachmentStore/ShippableHelper/TempFile.php[/B] at line [B]50[/B] [*][B]bdAttachmentStore_ShippableHelper_TempFile::download()[/B] in[B]bdAttachmentStore/Model/File.php[/B] at line [B]56[/B] [*][B]bdAttachmentStore_Model_File->getAccessibleFilePath()[/B] in[B]bdAttachmentStore/XenForo/Model/Attachment.php[/B] at line [B]38[/B] [*][B]bdAttachmentStore_XenForo_Model_Attachment->bdAttachmentStore_getAttachmentDataFilePath()[/B] in[B]bdAttachmentStore/XenForo/Model/Attachment.php[/B] at line [B]78[/B] [*][B]bdAttachmentStore_XenForo_Model_Attachment->getAttachmentDataFilePath()[/B] in[B]XenForo/Deferred/AttachmentThumb.php[/B] at line [B]34[/B] [*][B]XenForo_Deferred_AttachmentThumb->execute()[/B] in[B]bdAttachmentStore/XenForo/Deferred/AttachmentThumb.php[/B] at line [B]11[/B] [*][B]bdAttachmentStore_XenForo_Deferred_AttachmentThumb->execute()[/B] in[B]XenForo/Model/Deferred.php[/B] at line [B]295[/B] [*][B]XenForo_Model_Deferred->runDeferred()[/B] in [B]XenForo/Model/Deferred.php[/B] at line [B]429[/B] [*][B]XenForo_Model_Deferred->_runInternal()[/B] in [B]XenForo/Model/Deferred.php[/B] at line [B]374[/B] [*][B]XenForo_Model_Deferred->run()[/B] in [B]XenForo/ViewRenderer/Abstract.php[/B] at line [B]352[/B] [*][B]XenForo_ViewRenderer_Abstract::hasManualDeferredToRun()[/B] in[B]XenForo/ViewRenderer/Json.php[/B] at line [B]147[/B] [*][B]XenForo_ViewRenderer_Json::_addDefaultParams()[/B] in [B]XenForo/ViewRenderer/Json.php[/B] at line [B]185[/B] [*][B]XenForo_ViewRenderer_Json::jsonEncodeForOutput()[/B] in[B]XenForo/ViewAdmin/Error/ServerError.php[/B] at line [B]47[/B] [*][B]XenForo_ViewAdmin_Error_ServerError->renderJson()[/B] in[B]XenForo/ViewRenderer/Abstract.php[/B] at line [B]227[/B] [*][B]XenForo_ViewRenderer_Abstract->renderViewObject()[/B] in[B]XenForo/ViewRenderer/Json.php[/B] at line [B]88[/B] [*][B]XenForo_ViewRenderer_Json->renderView()[/B] in [B]XenForo/FrontController.php[/B] at line [B]605[/B] [*][B]XenForo_FrontController->renderView()[/B] in [B]XenForo/FrontController.php[/B] at line [B]158[/B] [*][B]XenForo_FrontController->run()[/B] in[B]/home/admin/domains/domain.com/public_html/admin.php[/B] at line [B]13[/B] [/LIST]
@xfrocks what steps do you recommend to come back to default from S3? I'm trying @venaga method without success: Thanks
That is correct, data_id changes for delayed processing. If you use XFMG, make sure you have the latest version of both add-on. The steps: Change mode to Default Then run the rebuild tool: Move Data (not the Update Storage Options one)
Hello, I am having an issue where the attachments aren't being served by Cloudfront even though the box is checked. All of the thumbnails are working properly being served from Cloudfront but the larger images are being served from the local server which is a problem because it is on a cluster. How can I get all images served from Cloudfront? Thank you, Scott
xfrocks @Legend's Gate Media When did you install the add-on? Have it ever worked correctly for the full image?
xfrocks @Legend's Gate Media Weird, I have it working perfectly with v1.5.6. Can you take a screenshot of the add-on option page? Please send me via conversation or post it here with sensitive information blurred.