Cloud Storage plugin
-
@FreeWorLD said in Cloud Storage plugin:
@667
Would it be possible to add Digitalocean Spaces support as well? API commands seems to be same as S3.And Wasabi, same deal. S3 compatible. But so cheap.
-
Vultr just added object storage too. Don't know if it uses S3 API or not.
-
Backblaze B2 would be a great option, as well. But uses its own API rather than copying S3's.
-
@satishbh I have added the s3 bucket name, API key and Secret, but It crashes stating that the location is null. Is there any config file that we need to update?
2019-08-29T16:52:17.873Z [4567/56699] - error: uncaughtException: Cannot read property 'Location' of undefined
TypeError: Cannot read property 'Location' of undefined
at ManagedUpload.callback (/Users/[email protected]/NodeBB/node_modules/nodebb-plugin-cloudstorage/lib/controllers.js:222:103)
at Response.finishSinglePart (/Users/[email protected]/NodeBB/node_modules/aws-sdk/lib/s3/managed_upload.js:674:28)
at Request.<anonymous> (/Users/[email protected]/NodeBB/node_modules/aws-sdk/lib/request.js:364:18)
at Request.callListeners (/Users/[email protected]/NodeBB/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/Users/[email protected]/NodeBB/node_modules/aws-sdk/lib/sequential_executor.js:78:10) -
@satishbh Also to add more context to this for others who come across it (using the older version):
https://github.com/june07/nodebb-plugin-cloudstorage/issues/2#issuecomment-526089881
The root cause of the error was having an S3 bucket that wasn't public. The plugin then handled the thrown error by the S3 API incorrectly, which was fixed in:
I found the reason that my bucket wasn't public.