FOSDEM / volunteers

Volunteers management system for the FOSDEM conference
GNU Affero General Public License v3.0
19 stars 24 forks source link

Volunteer Image Upload is not Functional #62

Closed TildaDares closed 12 months ago

TildaDares commented 1 year ago

When I tried to upload a profile picture to my volunteer profile, I got the following error:

Site crashed
Sorry for the inconvenience.

Please take the time to report an issue at Github so it doesn't happen again.

Text update works fine so this issue is an isolated one for just image uploads.

A screenshot of the error page is attached below:

Screenshot 2023-11-13 at 14 32 26
emanuil-tolev commented 1 year ago

Hey fosdemers, long time no see :). I can't fix this but I still get the errors cc-d so can provide a clue:

Exception Type: PermissionError at /volunteers/[redacted]/edit/ Exception Value: [Errno 13] Permission denied: '[path prefix redacted]/fosdem_volunteers/tool/public/media/mugshots/[redacted].jpg'

Check the directory permissions of the above mugshots dir :).

johanvdw commented 12 months ago

I believe I fixed the permissions on that dir. I do am quite suprised that mails are sent on errors, never knew about that feature.

johanvdw commented 12 months ago

Note that some stuff is not yet correct on the volunteers site, especially anything regarding pentabarf should be ignored, as we are using pretalx this year.

emanuil-tolev commented 12 months ago

Ok I updated mine successfully. @TildaDares let us know if it's working for you now :).

RichiH commented 12 months ago

Are... are you back, @emanuil-tolev ?

emanuil-tolev commented 12 months ago

I believe I fixed the permissions on that dir. I do am quite suprised that mails are sent on errors, never knew about that feature.

Ok so it's actually sending to the volunteer-admin list of which I'm still a member I guess. I can't find the setting in the (public at least) config tho.

TildaDares commented 12 months ago

I can update my profile picture now. Thanks!

kergon commented 12 months ago

On Mon, Nov 13, 2023 at 08:20:02AM -0800, Emanuil Tolev wrote:

Ok so it's actually sending to the volunteer-admin list of which I'm still a member I guess. I can't find the setting in the (public at least) config tho.

(You aren't on that list any more.)

Alasdair

kergon commented 12 months ago

You were listed in one of the config files though - I've updated this.

Alasdair