You would need to set the permissions for all the files you uploaded to be readable by the web server.i've just chmoded my directory and now i can see the install but cannot install as i am showing an error.
View attachment 314833
I've been running attachments through R2 buckets for quite some time with no issues, now having issues with add-on(s) on my 2.3.4 dev site.Existing images will be broken if you enable R2, but don't move existing content to R2.
If any addon is doing direct access to the local filesystem (for reads or writes) in XenForo, they are doing it wrong. XenForo has an abstracted filesystem and that's what's supposed to be used for doing anything with files. I don't know anything about those addons, but it sounds to me like they might not be using XenForo's abstracted filesystem as expected (maybe it's just the importer portion or something?)I've been running attachments through R2 buckets for quite some time with no issues, now having issues with add-on(s).
I've had [OzzModz] Social Groups running and am migrating to DragonByte Social Groups. @DragonByte Tech has a nice little importer he's developed to migrate to his add-on, but I'm having some attachment issues. He doesn't have a setup to test his importer with R2 so I'm trying to figure that out .... and hopefully not piss him off LOL
I know these are not your add-ons, but was hoping there would be a basic R2/Cloudflare reason that may pop in your head. Perhaps a DB query to reset the migrated attachments or ... something.
- Running the [OzzModz] Social Groups -> DragonByte Social Groups importer fails when using R2 buckets because it looks locally for the attachments.
- I had to rsync my attachments from my bucket to my local to run the importer without errors.
- Once run, the DragonByte Social Groups pages work flawlessly.
- Once I delete the local attachment folder again, the images no longer work.
- Attachment IDs are the same before and after the import.
- Image is still in the R2 bucket.
- If I add a new image to a DragonByte Social Groups thread, it uploads to the R2 bucket and works just fine.
![]()
It's only the importer portion, because it does the same as XenForo's standard importer. Social Groups doesn't refer to attachment paths at all outside of the importer. Chances are the attachments are created withIf any addon is doing direct access to the local filesystem (for reads or writes) in XenForo, they are doing it wrong. XenForo has an abstracted filesystem and that's what's supposed to be used for doing anything with files. I don't know anything about those addons, but it sounds to me like they might not be using XenForo's abstracted filesystem as expected (maybe it's just the importer portion or something?)
file_path
column set in the xf_attachment_data
table.There isn’t. Jurisdictionally restricted buckets work a little different and aren’t currently supported.I realised it's because my buckets are:
Jurisdiction:European Union (EU)
Any workaround to this?
We use essential cookies to make this site work, and optional cookies to enhance your experience.