Hello everyone,
I’m setting up a Typecho blog and trying to integrate a Backblaze B2 bucket for file storage to offload my server and potentially use it for distribution. I’m using the BackblazeUploader plugin available on GitHub by xa1st (link: GitHub - xa1st/BackblazeUploader: BackblazeUploader 是一个 Typecho 插件,用于将上传的附件存储到 Backblaze B2 云存储服务中,从而减轻服务器存储压力并提高访问速度。).
I’ve encountered a problem where file uploads are failing after setting up the plugin.
Problem Description:
- When attempting to upload images or other files from the Typecho admin panel, the upload fails without any specific error message displayed in the UI.
- Server logs don’t show any obvious errors related to file uploads or Backblaze (though I might be missing something).
- Checking the B2 bucket confirms that the attempted files are not uploaded.
- I have double-checked the plugin settings, including Key ID, Application Key, Bucket Name, etc., and they appear to be entered correctly.
Troubleshooting Steps I’ve Taken:
- Confirmed that the Key ID and Application Key are correct and that the App Key has the necessary permissions for the target bucket (e.g.,
readFiles
,writeFiles
,deleteFiles
). - Confirmed that the bucket name is spelled correctly and the bucket exists.
- Checked server network connectivity to ensure it can reach Backblaze API endpoints.
- Attempted uploading small files and different file types, with the same result.
- Checked server PHP error logs and Typecho’s own log files (if enabled).
- Reviewed other settings within the plugin configuration, but none seem directly related to upload mechanics.
Possible Issues/Questions:
- Could there be firewall or security group restrictions between my server and Backblaze?
- Is the PHP cURL extension working correctly? (B2 API usually interacts via cURL)
- Could there be an incompatibility issue between the plugin and my specific environment?
- Are there any other log files or debugging methods I can use to pinpoint the problem?
I would greatly appreciate any insights, suggestions, or guidance from those who have experience with Typecho and Backblaze B2 integration. Thank you in advance for your help!