When uploading any photo, get a “no existing directory” error
Environment: Ubuntu 20.04
Version: 2.64.1
Stack: Netbird’s combo stack:
Expectation: photo to be uploaded. all other functions are great!
Reality: when trying, i get this error via a dashboard notification:
the only similar issues i’ve found are second-order mentions but no analogous cases. any thoughts? if upgrading to v3 is the only clear step, i’ll go ahead and hope for the best 😅
3 Replies
Hi @clover Thank you for sharing such a detailed report. I will add one of our engineers @Matías to the thread to review as he might have additional insight on this front. Thanks!
thanks so much !! and ty for being so accessible ^ - ^
Hi @clover, thanks for reaching out! I believe the cause of the issue is that when uploading a photo, the console sends a multipart/form-data request to the REST assets API inside ZITADEL. During server-side parsing Go’s mime/multipart helper stores large parts on disk under /tmp/multipart-<random>. And apparently, in ZITADEL v2.64.1 the handler tries to re-open that temporary file after it has already been removed, which surfaces as the error you see:
open /tmp/multipart-<random>: no such file or directory
The same issue was reported by other NetBird users in December 2024, you can see the GitHub issue Can’t update user profile picture at zitadel.
This bug was fixed on later releases, so I would definitely recommend upgrading to v3, that should solve your problem. I hope that helps!