-
-
Notifications
You must be signed in to change notification settings - Fork 444
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
Filesystem Disks - How to manage public disks? #201
Comments
Hi, You can't make a symlink, because the storage directory is variable - it depends on the current tenant's id. Try using |
hi @stancl , |
Hey @radmanz Would you mind sharing the code of how you were able to render images in blades? I'm having precisely the same issue of being able to easily upload files but unable to get them to display. Also are you retaining the default folder structure of:
|
|
Using Thank you for your help! |
Can't find it right now, but there's some issue thread about this (the Storage url approach). |
The private images going under the path storage/app or storage/app/tenant/app? |
@radmanz @stancl. Is there any more information on this? I'm experiencing the same, but using |
Try |
@stancl No luck, I can do |
I currently have an issue where im unable to access a tenants files that have been sucessfully uploaded and stored within the ./storage/tenant_id/app/public/ folder.
I can upload files fine, and they reside within the ./storage/tenant_id/app/public/ folder of the project.
My issue is that i cannot access the files from each tenant. I can only access a single tenants files by symlinking the ./storage/tenant_id/app/public/ -> ./public/storage .
Can anyone give me some pointers as to how I am supposed to setup public storage access for each tenant, so as each tenant may continue to use something like the /storage route to access public files.
Is there a way for php artisan storage:link to faciliate the automation to symlink stoarge to publicly accessable folders?
To give further context as to how my filesystem config is setup, please see the following disks array
You support is greafully appreciated 😊
The text was updated successfully, but these errors were encountered: