Ivancas
Well-known member
yes, that's why I want to move it to R2 using CLIDo you have anything in that folder on your server?
yes, that's why I want to move it to R2 using CLIDo you have anything in that folder on your server?
xfmg
folder. Not terribly hard to add (I just added it for the next release). In the meantime, you you could use rclone or something.yeah too much time to set it up, I'll wait the next version lolIn the meantime, you you could use rclone or something.
Disable the option: Purge cache when post is created or deletedI suspected that this is connected to the add-on because there were numerous entries from it in the xf_job table during the process.
I updated today and have this error. When you say rebuild the master data for the ste - what do you mean exactly please?Are you sure you updated it (vs. just copying the files)?
If you did update it, you may want to rebuild the master data for the site. For whatever reason the new option didn't get "installed" somehow.
ErrorException: [E_WARNING] Undefined array key "cfMediaCachingSeconds" src/addons/DigitalPoint/Cloudflare/Listener/AppPubComplete.php:10
Generated by: Unknown account Apr 4, 2024 at 9:01 AM
Still not exactly clear why XenForo 2.3 wants to keep part of the data directory local instead of in the filesystem you want to use, but will figure that out (and possibly address if needed) later. For now, if someone is using XenForo 2.3, replace theso yeah, i understand that this addon is not yet updated to support 2.3 betas. just wanted to post this here. same issue on my test install.
addons/DigitalPoint/Cloudflare/XF/FsMounts.php
file with this one and you should get the new local-data mount point that 2.3 uses.Optimizing your WordPress site with multiple plugins can be overwhelming. Switch to a single plugin from Cloudflare and get up to 4x faster loading speed. Automatic Platform Optimization (APO) includes ultra-fast CDN, intelligent caching and requires no setting up.
Different product/different platform. This thread is busy enough without forcing hundreds of people to get alerts about non-XenForo stuff, so best to use the appropriate support channels for that (either on wordpress.org or appforcf.com).@digitalpoint
I noticed that cloudflare offers this plugin:
Do you recommend running this plugin and yours side by side? Are you planning to integrate the same features?
You can run the XF version and Cloudflare’s APO plugin on the same domain if you have both WordPress and XenForo running on the same domain (I think that’s the question)?I run both WP and XF CF plugins. But fair enough.
5197/87474 [=>--------------------------] 5% 3 mins 1.1 MB/s
In Process.php line 1331:
[Symfony\Component\Process\Exception\ProcessTimedOutException]
The process "/usr/bin/php8.3 cmd.php dp:migrate-data --location=data --path
=avatars/s/0/256.jpg" exceeded the timeout of 60 seconds.
Exception trace:
at /www/public_html/forum/src/vendor/symfony/process/Process.php:1331
Symfony\Component\Process\Process->checkTimeout() at /www/public_html/forum/src/vendor/symfony/process/Process.php:418
Symfony\Component\Process\Process->wait() at /www/public_html/forum/src/addons/DigitalPoint/Cloudflare/Cli/Command/Migr6
DigitalPoint\Cloudflare\Cli\Command\MigrateData->waitForProcesses() at /www/public_html/forum/src/addons/DigitalPoint/C8
DigitalPoint\Cloudflare\Cli\Command\MigrateData->execute() at /www/public_html/forum/src/vendor/symfony/console/Command5
Symfony\Component\Console\Command\Command->run() at /www/public_html/forum/src/vendor/symfony/console/Application.php:92
Symfony\Component\Console\Application->doRunCommand() at /www/public_html/forum/src/vendor/symfony/console/Application.5
Symfony\Component\Console\Application->doRun() at /www/public_html/forum/src/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /www/public_html/forum/src/XF/Cli/Runner.php:111
XF\Cli\Runner->run() at /www/public_html/forum/cmd.php:15
dp:migrate-data [--new-to-old] [--processes PROCESSES] [--start-at-path START-AT-PATH] [--location LOCATION] [--path PAT]
Take a look atEdit: Tried rclone, having one hell of a time trying to get it to recognize everything. Seems some stuff works, other's don't. Weird folder obfuscation issues, I think? For example in the /data/ directory the avatar images load just fine, but some addon assets located in /data/assets/ don't, unless we prefix those with "data/" in the rsync job???
Thanks, this was helpful. I used;and my rclone command:
/usr/bin/rclone sync r2z22se:z22se/data/ r2z22se:z22se-data/ --verbose --transfers 10
internal_data/attachments# rclone sync -P --transfers=20 ./ CloudflareR2:<bucket name>
Thanks for tagging this convo in the other thread, @digitalpoint.
So, my main goal of getting this attachment content into CF is to make the site as fast as possible for my users, especially outside of US-EAST.
So, I'm am willing to give this a try. I probably need to manually migrate because of the number of objects I have stored. Can you fill me in a little more on what the file layout needs to be, I can preconfigure the buckets since...
Hmm, what I'm getting from this is that some addon developers aren't using the abastraction layer to fetch and store files on the xenforo platform, and this causes a disconnect between the R2 storage and the addon attempting to fetch the file on the local server. The fix appears to be, keep the assets/extra folders in /data stored locally so those improperly invoked get_file_contents methods still work, and pressure the addon developers to make the fix for each individual addon we have. Am I understanding this right?Take a look at
andThanks, this was helpful. I used;and my rclone command:
/usr/bin/rclone sync r2z22se:z22se/data/ r2z22se:z22se-data/ --verbose --transfers 10
internal_data/attachments# rclone sync -P --transfers=20 ./ CloudflareR2:<bucket name>
which should help for using rclone.For those wanting to give it a go, I'll send you guys private messages to not clog this thread with stuff that isn't relevant to others.
Thanks for tagging this convo in the other thread, @digitalpoint.
So, my main goal of getting this attachment content into CF is to make the site as fast as possible for my users, especially outside of US-EAST.
So, I'm am willing to give this a try. I probably need to manually migrate because of the number of objects I have stored. Can you fill me in a little more on what the file layout needs to be, I can preconfigure the buckets since...
We use essential cookies to make this site work, and optional cookies to enhance your experience.