similar problem with this addon and showcase addon https://xenforo.com/community/resou...gement-system-guides-garage-reviews-etc.1208/, thumbnails get broken and saved to /data/showcase which = 404 not found Showcase (Reviews, Guides, Garage, Directory etc) What is Showcase? Showcase is an "Content Management System" designed for forum owners to provide an interface for their users to "showcase" items visually through the use of uploaded images &... xenforo.com fyi, not uploading to s3 just saving to /data via this addon seems frontend is looking for /data/showcase/2/2983-807b86971bd2f8cf762302450c583c42.jpg while on disk with bd attachments in place i see /data/attachment-files/2015/05/2983_cm_index_180515.png /data/attachment-files/2015/05/thumb/2983_cm_index_180515.png
Hello. Since I'm planning to use a cdn I'd need to keep back all my attachments on the server running xenforo so that the cdn can pull them out. Problem is that I've not checked to keep a copy of the files on the server so if I set the addon to use external data directory, I'll miss all the attachments. This is what I've written on Xenforo.com I've setup this mod so that all the attachments are uploaded via FTP to another server (not the CDN). Now I'd like to use CDN77 and I've setup everything but my pull zone is my server (where XF run) and not the other one where the attachments are uploaded. So the problem is that since I've not selected Keep local copy, my fear is that as I switch to Store file in External Data directory, CDN77 cannot pull all my attachments from my server since there isn't anything here... I don't want to loose all my attachments obviously Can you help me?
I'm using version 1.1.4 on XF 1.4.9 and still have the problem that a lot of files are left in the temp directory. They all have a "bdasd_" prefix. I'm using PHP 5.6 (php-fpm) and Nginx 1.8 Is there anything that I can check to find a solution for this? Thanks
Fred. @kontrabass Code: /home/user/domains/domain/private_html/internal_data/temp Do you have the same problem?
kontrabass @Fred. Oddly, no. I have thousands of files in that directory, but nothing with a bdasd prefix. (just xf and xmg). I'm using the add-on to store files in the external data directory.
Fred. @kontrabass The older files that I have in that directory (From when I was using an 1.1.3) have an xf prefix. But since I updated to 1.1.4 only bdasd prefixes. I'm using this to store data in Amazon S3 / Cloudfront.
Đang Rebuilding nửa đường bị lỗi mình có cần chạy lại không bạn hay cư để từ từ các file tự chuyển qua. Thanks you.
Just run the rebuilder again, it will continue running from the last time it ran. Are you still having this issue?
xfrocks @thienbui Cái này bạn mở conversation với mình nhé, gửi bạn cái chạy command line cho nhanh Nhưng 40GB thì chắc vẫn mất thời gian đấy.
Hi @xfrocks, I have a problem with my attachments. I had decited not to use the addon anymore. Reverted back to default mode, ran the builder and then unistalled the addon, and then deleted the attachment-files directory. Unfortunately the attachments are not showing up anymore. I installed the addon again and ran the process again but the attachments are still broke. The "attachment" directory is still in my filesystem though. What did I do wrong or is there anything that I can do to recover my images? Thank You.
xfrocks @yavuz After running the rebuilder, have you performed any tests with the attachment? If the rebuilder runs completely, the attachment-files directory should be empty at the time you delete it. Is it the case? Also, how did you configure the add-on before you switched back to default? Since you uninstalled the add-on, it's likely that the storage information has been removed completely. You may need to restore to the earliest database backup to be able to do anything at this point. Feel free to start a conversation with me to resolve this issue.
Sorry if this is mentioned in this thread somewhere, I don't have time to read 15 pages... I've installed both add-ons and this one isn't working correctly at the moment. I moved all of the attachment files manually and they are accessible, but the forums are still trying to look in the local directory instead of Amazon S3. I've run the tools and they don't seem to do anything. Have I done something in the wrong order?
Also, new attachments are uploading OK and displaying properly from S3. It's only preexisting attachments that I'm having problems with.
Yeah, I had tried that already, but I'm in the process of doing it again. You think that's all it is?
Nope, process finished and the links still point to my local directories. However, new attachments are working the way they should be.
Followed the directions. The only thing I did differently moved both directories over to S3 manually.
I have a very dumb question. I have already everything working perfect. but I'm serving the attachments like: Code: https://blablablablablablabla.cloudfront.net/2015/10/2542_e4250deb55fb6cf6845895b89886cc.jpeg And I want to have something like: Code: https://attachments.mysite.xxx/2015/10/2542_e4250deb55fb6cf6845895b89886cc.jpeg How can I do that? Thanks!
When i delete an attachment from system (via deleting post) original file still stay on the amazon s3 bucket. Deleted files must be deleted from bucket on amazon s3 too ? @xfrocks
xfrocks @maxicep Just replied to your other message. "Attachment files are cleaned up in a cron job. During clean up, the S3 files will be deleted too."
Yes i saw your cronjob and it runs in every 5 min i think and i folowed that cronjob and i run it manually too but i still shows attachments in s3 bucket which deleted the posts. @xfrocks I deleted the attachment at 01.23AM but it still in my bucket on amazon s3. 11 Hours passed. So cronjob may have a problem.
xfrocks @maxicep The cronjob runs hourly so there is definitely some issues with it. The add-on logs into server error log if it cannot delete a file, have you checked?
maxicep @xfrocks Is it may related with "disabled delayed processing" ? Because, i was disabled it on attachment settings. Now, i enabled and i will see what happen. Because, your cron name is "[bd] Attachment Store: Delayed Processing" so your cron doing everything if delayed process enabled only i think.
xfrocks @maxicep If you have run the cronjob manually and both remote and local files are still there, not deleted, that means there is something stuck in the cronjob so it never runs to completion. Please start a conversation with me to debug this issue on your server. Sorry for the complication.
Still i have same problem, amazon s3 bucket keeps the files. your delayed processing cron just uploading temporary attached files to bucket i think. It doesn't clear the deleted attachments from bucket. So you must use one cron more for deleting process, right ? I see, just "[bd] Attachment Store: Delayed Processing" cron in cronlist and it does make that.