Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error on firebase deploy #9

Open
PlutusM opened this issue Jul 14, 2019 · 4 comments
Open

Getting Error on firebase deploy #9

PlutusM opened this issue Jul 14, 2019 · 4 comments

Comments

@PlutusM
Copy link

PlutusM commented Jul 14, 2019

Setup time error after : firebase deploy

⚠ functions[thumbnailFunction-generateThumbnail(us-central1)]: Deployment error.
Failed to configure trigger GCS Bucket: support-b3bbf.appspot.com

When i am doing manually setup : firebase deploy --only functions:thumbnailFunction-generateThumbnail

it shows error in details

⚠ functions: package.json indicates an outdated version of firebase-functions.
Please upgrade using npm install --save firebase-functions@latest in your functions directory.

=== Deploying to 'support-b3bbf'...

i deploying functions
i functions: ensuring necessary APIs are enabled...
✔ functions: all necessary APIs are enabled
i functions: preparing functions directory for uploading...
i functions: packaged functions (97.87 KB) for uploading
✔ functions: functions folder uploaded successfully
i functions: current functions in project: api(us-central1), createConversation(us-central1), deleteArchivedConversation(us-central1), duplicateTimelineOnJoinGroup(us-central1), duplicateTimelineOnJoinGroupForInvitedMembers(us-central1), fanOutGroup(us-central1), insertAndSendMessage(us-central1), pushNotificationsFunction-sendNotification(us-central1), removeMemberInfoOnLeaveGroup(us-central1), saveMemberInfoOnJoinGroup(us-central1), sendInfoMessageOnGroupCreation(us-central1), sendInfoMessageOnJoinGroup(us-central1), sendMessageReturnReceipt(us-central1), thumbnailFunction-generateThumbnail(us-central1)
⚠ functions: the following filters were specified but do not match any functions in the project: thumbnailFunction-generateThumbnail

✔ Deploy complete!

This is the error i am getting in firebase console

12:43:55.665 pm | warning | thumbnailFunction-generateThumbnail | {"@type":"type.googleapis.com/google.cloud.audit.AuditLog","status":{"code":13,"message":"INTERNAL"},"authenticationInfo":{"principalEmail":"abc@gmail.com"},"requestMetadata":{"requestAttributes":{},"destinationAttributes":{}},"serviceName":"cloudfunctions.googleapis.com","methodName":"google.cloud.functions.v1.CloudFunctionsService.UpdateFunction","resourceName":"projects/support-b3bbf/locations/us-central1/functions/thumbnailFunction-generateThumbnail"}

Anyone can help me to solve this. Thanks.

@gigincg
Copy link

gigincg commented Jul 28, 2020

Hey,
Did you find a fix for this? I'm facing the same issue.

@cofimate
Copy link

cofimate commented May 19, 2021

Experiencing also an error with the deployment of that function but with a different error
thumbnailFunction-generateThumbnail
{"@type":"type.googleapis.com/google.cloud.audit.AuditLog","status":{"code":3,"message":"Cloud Storage trigger bucket chat21samsung.appspot.com not found"},"authenticationInfo":{"principalEmail":"xxxxxxx@gmail.com"},"serviceName":"cloudfunctions.googleapis.com","methodName":"google.cloud.functions.v1.CloudFunctionsService.UpdateFunction","resourceName":"projects/chat21samsung/locations/us-central1/functions/thumbnailFunction-generateThumbnail"}


I got it you need to initialize your Storage in your project

@andrealeo83
Copy link
Contributor

@cofimate
Copy link

cofimate commented May 19, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants