Closed thelooter closed 1 week ago
Could you please provide me with additional information about your file storage setup? (https://docs.solidtime.io/self-hosting/configuration#file-storage) Which driver are you using?
Could you also show me where the application tries to load the image from? You can probably see that in the network console. If this is sensitive information, you can send me this in a private message on Discord.
I personally occurred the same issue but I remember that by default laravel don't create the public link of storage.
I did php artisan storage:link
and now octane can access the public directory.
Edit: I'm self hosting with the local filesystem with docker.
@gungun974 Thanks for your message! You are right, if you want to use the local storage provider, you need to run php artisan storage:link
. This was part of the old Docker image, but I forgot to add this to the new one as well.
I just fixed that in the main
branch in the following commit: https://github.com/solidtime-io/solidtime/commit/ba07616111f56961f3d448e8572c867ac50e879c
This will be part of the next release.
@thelooter Until then, you can run php artisan storage:link
manually. Please let me know if this solves your issue.
Hello @korridor, I had the very same issue and running php artisan storage:link
solved the issue. Thanks a lot
I tried to upload a profile Picture to my account, but it just shows this
Immediately after uploading, it shows the image correctly in the settings page, after that it fails
This is the uploaded image https://avatars.githubusercontent.com/u/24987877?v=4