strapi-provider-upload-google-cloud-storage
strapi-provider-upload-google-cloud-storage copied to clipboard
doesn't implement the uploadStream function. Some performance issues may occur
yarn run v1.22.15
$ strapi develop
(node:14656) Warning: The upload provider "@strapi-community/strapi-provider-upload-google-cloud-storage" doesn't implement the uploadStream function. Strapi will fallback on the upload method. Some performance issues may occur.
(Use node --trace-warnings ...
to show where the warning was created)
(node:14656) Warning: [deprecated] In future versions, Strapi will stop reading directly from the environment variable API_TOKEN_SALT. Please set apiToken.salt in config/admin.js instead.
For security reasons, keep storing the secret in an environment variable and use env() to read it in config/admin.js (ex: apiToken: { salt: env('API_TOKEN_SALT') }
). See https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/configurations/optional/environment.html#configuration-using-environment-variables.
Project information
┌────────────────────┬──────────────────────────────────────────────────┐ │ Time │ Thu Apr 21 2022 14:55:30 GMT+0700 (Western Indo… │ │ Launched in │ 32504 ms │ │ Environment │ development │ │ Process PID │ 14656 │ │ Version │ 4.1.8 (node v16.13.1) │ │ Edition │ Community │ └────────────────────┴──────────────────────────────────────────────────┘
Actions available
Is your feature request related to a problem? Please describe. @strapi-community/[email protected] not 100% compatible with [email protected]
Describe the solution you'd like update to latest same version with strapi
I am also getting the same warning. Is there any quick fix for it?
I believe I have a fix for this issue (at least for the missing uploadStream function part), more of a little hack really, but it seems to be working. Should I open a PR @Lith ? Never actually opened one in github before.
What I did was basically add the missing method that calls the old upload method with the file data in the right property.
Any updates on this one :)?
Hello,
Sorry for delay (again :x) Everyone is free to push PR :)
I will take a look about it this week, but feel free to submit PR. Thx
@Lith please check my PR https://github.com/strapi-community/strapi-provider-upload-google-cloud-storage/pull/137
@Lith Hey, when do you think PR might be merged? Basically this issue is breaking plugin usage
I was about to merge this myself when I saw the PR was merged to master. It fixed the big logo upload issue for me. Good work, only wish I had noticed 5 days ago. 😄
This issue should be closed by https://github.com/strapi-community/strapi-provider-upload-google-cloud-storage/pull/137 merged and 4.2.3 released, no ?
Hello , I upgraded strapi version to 4.5.5 and this warning appears . Is there any suggestion?
Hello ! Yes this issue should be close... because it's fixed since many month now :]
@mckaracan could you please let me know if the issue is still appears for you with latest release ? Thx.
steal appear for me. help please