N
Novu2y ago
dave93

Novu on GCP - Cloud Run

I am launching the deployment on GCP using the Cloud run service, at some point the build fails, in the image are the logs
14 Replies
dave93
dave93OP2y ago
Thanks i resolved with CE
Pawan Jain
Pawan Jain2y ago
As per my understanding here CE means compute engine on GCP?
dave93
dave93OP2y ago
Yes, exactly. I have another question, I am trying to upload the logo but I get this message, it seems the request is blocked. I have configured my environment variables to use Google Cloud storage by setting GCS_BUCKET_NAME= GCS_DOMAIN= GCP_SECRETY_ACCESS_KEY= GCS_REGION= And set STORAGE_SERVICE=GCS
Pawan Jain
Pawan Jain2y ago
is your bucket have enough access policies attached? Can you try by making bucket public for testing purpose?
dave93
dave93OP2y ago
I can try to make it totally public
Novu_Bot
Novu_Bot2y ago
@dave93., you just advanced to level 1!
dave93
dave93OP2y ago
I see from the query that it is trying to access AWS storage X-Amz-Credential=test
Pawan Jain
Pawan Jain2y ago
Hi @dave93. STORAGE_SERVICE variable is missing here in this example file using which you might have created new .env file https://github.com/novuhq/novu/blob/next/docker/.env.example
dave93
dave93OP2y ago
@Pawan Jain Yes, I added the env variable STORAGE_SERVICE after seeing the commit on Github referring to the use of Google cloud storage
Pawan Jain
Pawan Jain2y ago
Did it work for you?
dave93
dave93OP2y ago
At the moment, not yet, but something quite strange happened. Yesterday I logged back into the MongoDB database and saw that my collections were no longer there. @Pawan Jain I am trying to understand why all the records were deleted. Have you ever had similar cases?
Pawan Jain
Pawan Jain2y ago
Not sure, Need to check few users also reported about data reset https://discord.com/channels/895029566685462578/1110873001907470416
Madesh
Madesh10mo ago
@dave93 @Pawan Jain help me with sample connection string for GCS_DOMAIN or document you followed to create GCS Domain.
Novu_Bot
Novu_Bot10mo ago
@Madesh, you just advanced to level 1!
Want results from more Discord servers?
Add your server