benFF
Well-known member
Bugs happen and accounts get hacked.Don't install suspicious addons or without reviews![]()
Seriously, if your website is your main income (and you rely on attachments/resources/gallery), you need to be making backups.
Bugs happen and accounts get hacked.Don't install suspicious addons or without reviews![]()
That's why 2FA, unique password, htaccess protection and IP whitelist can prevent that.and accounts get hacked
The bug should allow the user to mass delete attachments, which I doubt will be possible unless it's a very specific function (custom) affected by such bug.Bugs happen
I'm using rclone to do that. @MattW configured it for me.And that can have a deleted files retention policy?
Just had a little read, are you using Amazon DataSync?
I'm think a wasabi backup might be a cheap solution (with versioning as well)if there is an easy way to sync the two.
Same question... did you check your server error log?
Server error log
League\Flysystem\FileNotFoundException: File not found at path: attachments/5/5566-357beb173e0f3c18a6af40900efd67e6.data src/vendor/league/flysystem/src/Filesystem.php:389
Generated by: JBS Jan 10, 2024 at 5:03 PM
Stack trace
#0 src/vendor/league/flysystem/src/Filesystem.php(194): League\Flysystem\Filesystem->assertPresent('attachments/5/5...')
#1 [internal function]: League\Flysystem\Filesystem->readStream('attachments/5/5...', Array)
#2 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('League\\Flysyste...', Array)
#3 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('readStream', Array)
#4 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(154): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('readStream', Array)
#5 src/vendor/league/flysystem/src/MountManager.php(345): League\Flysystem\EventableFilesystem\EventableFilesystem->readStream('attachments/5/5...')
#6 src/XF/Admin/View/Attachment/View.php(25): League\Flysystem\MountManager->readStream('attachments/5/5...')
#7 src/XF/Mvc/Renderer/AbstractRenderer.php(91): XF\Admin\View\Attachment\View->renderRaw()
#8 src/XF/Mvc/Renderer/Raw.php(39): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Attachment\\V...', '', Array)
#9 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Raw->renderView('XF:Attachment\\V...', '', Array)
#10 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Raw), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Raw), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'raw')
#13 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
Request state
array(4) {
["url"] => string(53) "/admin.php?attachments/gymnastics-grips-jpg.8894/view"
["referrer"] => string(46) "https://chalkbucket.com/admin.php?attachments/"
["_GET"] => array(1) {
["attachments/gymnastics-grips-jpg_8894/view"] => string(0) ""
}
["_POST"] => array(0) {
}
}
Ya not sure what’s going on. Maybe go through setting up R2 from scratch… like disable and reenable it. You won’t lose anything it will just let you pick your bucket again. Maybe some setting is mucked from transferring servers?@digitalpoint Just noticed a second thing. If I upload a new image... it shows in the attachment browser in the AdminCP if I click on it... but not on the front side of the site.
I have something messed up somewhere just not sure were. As I mentioned... I just switched over to Xenforo Cloud.
Avatars normally have a number in the URL that corresponds to when they were updated. If you change that number to something (anything) else does it work? Sounds like an edge caching issue to me.
Standard
. Anything else will be problematic.Yeah it's command line.Hey, thank you for this good app.
Where i can run the "php cmd.php dp:migrate-data"? In my ssh?
done. How can I be sure it's working on R2?Yeah it's command line.
We use essential cookies to make this site work, and optional cookies to enhance your experience.