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

BUG: Profile picture upload doesnt work #229

Open
Madu-de opened this issue May 20, 2024 · 1 comment
Open

BUG: Profile picture upload doesnt work #229

Madu-de opened this issue May 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Madu-de
Copy link
Owner

Madu-de commented May 20, 2024

Describe the bug
It is not possible to upload an image, when the server is serving on linux

To Reproduce
Steps to reproduce the behavior:

  1. Upload a profile picture
  2. See error in NestJS console
@Madu-de Madu-de added the bug Something isn't working label May 20, 2024
@Madu-de Madu-de self-assigned this May 20, 2024
@Madu-de
Copy link
Owner Author

Madu-de commented Oct 3, 2024

I found how to solve this issue. I will fix it later within 1.3.0

  • Create a folder named profilepictures in dist/user/profilepictures
  • Give node access to this folder via chown
  • Use absolute paths instead of relatives (__dirname or process.cwd()) (Maybe this only works also without creating a directory. Please test it)

@Madu-de Madu-de added this to the 1.3.0 milestone Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant