• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Can't add Google Cloud Storage to external storage

khanhhoang2311

Chevereto Member
I copied the entire content in the json key file and put it in the "Google Cloud JSON key" box. But still got the error like the picture. Can anyone help me with this part?
 

Attachments

  • dfffff.JPG
    dfffff.JPG
    62.5 KB · Views: 14
Keep trying and let us know if something else came up. If nothing happens also let me know to schedule a testing for this.
 
Keep trying and let us know if something else came up. If nothing happens also let me know to schedule a testing for this.
I tried both google cloud and blackblaze to no avail. Can you help me directly via teamviewer. it took me 1 day to try, it took too long.
 
Most of the issues with external storage are keys/permissions related. I suggest you to read carefully the docs because you just mentioned that B2 wasn't working and 30 minutes later it was working for you.


Also, kindly debug your error id's.

 
Dear users, we can't drive a bug reporting ticket if you mix Google and B2 in the same topic. I should have been clear about this.

If you need another topic for b2 go on an open another bug report.

We need this to keep things in order.
 
I still can't connect to google storage, i think this is a bug caused by chevereto. Hope admin can check again. Or can contact me directly to see the problem live.
 
No bug here, the problem is this:

Code:
Client error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad Request` response: {"error":"invalid_grant","error_description":"Invalid JWT: Token must be a short-lived token (60 minutes) and in a reaso (truncated...)

Which happens because your server isn't implementing NTP. Check your server time setup.
 
Regarding the server time issue that's out of my scope.

Regarding Google, I've updated the Google Cloud Storage documentation as they by default now include options that aren't compatible with Chevereto. For example it requires to use "fine-grained" ALCs and Role owner permission, that stuff is new for us.

Here the updated instructions: https://v3-docs.chevereto.com/features/integrations/external-storage.html#google-cloud

  • Create a project
  • Go to APIs & services dashboard and make sure that Google Cloud Storage JSON API is enabled.
    • If is not enabled click on Enable API and Services and enable Google Cloud Storage JSON API
  • Go to Cloud Storage then click on Browser
  • Create a bucket by clicking Create bucket button. Make sure to:
    • Prevent public access: Unselect Enforce public access prevention on this bucket as you want public access for the bucket
    • Access control: Fine-grained
  • Go to Credentials under APIs & services, click on Create credentials then click on Service account. Make sure to use the following settings:
    • Grant access: Role owner
    • Key type: JSON
  • When done, go to your newly created service account under Service Accounts
  • Go yo keys and create a new JSON key
  • Your browser will start to download the JSON key file, the contents of the file is what you need to paste on Chevereto's Secret Key textarea
 
i did it, when you let me know the problem i contacted the server provider they helped me with the NTP part. Thank you for your support, when I know where the problem is, I will know the solution.
 
Back
Top