Open pierrejo opened 3 months ago
Hi, Team Also encoutered this issue. Recently updated to version 2.1.1 Current avatars are not visible. ![Uploading image.png…]()
formbricks-formbricks-1 | ⨯ upstream image response failed for https://forms.institutomix.com.br/storage/cllw9vnu60003o03dwu5kufcc/public/IMG_2640--fid--2a21d49f-8780-4211-a4cf-65a67a44a687.JPG 404
formbricks-formbricks-1 | Error: Deletion failed: Deletion failed
formbricks-formbricks-1 | at U (/home/nextjs/apps/web/.next/server/app/(app)/environments/[environmentId]/settings/(account)/profile/page.js:11:13636)
formbricks-formbricks-1 | at async /home/nextjs/apps/web/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:128:1202
formbricks-formbricks-1 | at async r$ (/home/nextjs/apps/web/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:127:8130)
formbricks-formbricks-1 | at async nn (/home/nextjs/apps/web/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:129:1140)
formbricks-formbricks-1 | at async doRender (/home/nextjs/apps/web/node_modules/next/dist/server/base-server.js:1490:34)
formbricks-formbricks-1 | at async responseGenerator (/home/nextjs/apps/web/node_modules/next/dist/server/base-server.js:1652:28)
formbricks-formbricks-1 | at async NextNodeServer.renderToResponseWithComponentsImpl (/home/nextjs/apps/web/node_modules/next/dist/server/base-server.js:1665:28)
formbricks-formbricks-1 | at async NextNodeServer.renderPageComponent (/home/nextjs/apps/web/node_modules/next/dist/server/base-server.js:1978:24)
formbricks-formbricks-1 | at async NextNodeServer.renderToResponseImpl (/home/nextjs/apps/web/node_modules/next/dist/server/base-server.js:2016:32)
formbricks-formbricks-1 | at async NextNodeServer.pipeImpl (/home/nextjs/apps/web/node_modules/next/dist/server/base-server.js:908:25) {
formbricks-formbricks-1 | digest: '1690535866'
formbricks-formbricks-1 | }
@Dhruwang Can you please look into this and see if you can reproduce and solve the issue? :-)
I am encountering an issue where the avatar deletion and update functionalities work perfectly in the local environment but fail to operate as expected on Formbricks Cloud.
@edersilva78 & @pierrejo If you're able to check, what are the permissions on your uploads directory? This could be related to #2694
Hi, @ag-gaphp
Thanks for your repply.
The error persists after appending the :rw to volume
@edersilva78 & @pierrejo If you're able to check, what are the permissions on your uploads directory? This could be related to #2694
Thanks for your reply.
Despite changing file and folder permissions, nothing changes on my end (I also tried: chmod -R 777
)
First level :
# ls -lah
total 24K
drwxrwxrwx 6 1001 65533 4.0K Jun 14 10:08 .
drwxr-xr-x 4 root root 4.0K Jun 20 10:32 ..
drwxrwxrwx 4 1001 65533 4.0K Jun 19 17:08 clsdczg4p000a96n39jm7tkvv
drwxrwxrwx 4 root root 4.0K Jun 14 10:05 clsddl3dr000q96n3pc8evhlz
drwxrwxrwx 3 root root 4.0K Jun 14 10:05 clsehy16q000a4e1dr3j7n5e6
drwxrwxrwx 3 root root 4.0K Jun 14 10:05 clte8esph0003hx7dlsq2ukqg
Second Level :
clsdczg4p000a96n39jm7tkvv# ls -lah
total 16K
drwxrwxrwx 4 1001 65533 4.0K Jun 19 17:08 .
drwxrwxrwx 6 1001 65533 4.0K Jun 14 10:08 ..
drwxrwxrwx 2 1001 65533 4.0K Jun 20 10:24 private
drwxrwxrwx 2 1001 65533 4.0K Jun 19 17:16 public
Third level is 777 too.
Hi! @pierrejo
I managed to fix the issue by updating the database records manually.
update "Product" set logo = '{}'::jsonb;
update "User" set imageURL = NULL
@Dhruwang whats the status here? Pls follow up or update the ticket status
it's working for me now. my problems was related to a (missing/not applied) migration
@pierrejo Are you still facing this issue with the latest version?
Issue Summary
I make all migration and upload image in form is working
LOG :
Steps to Reproduce
Just try to change or delete Avatar image
Expected behavior
change or delete Avatar image with success
Other information
No response
Screenshots
Environment