How can I do php artisan storage:link in my laravel project?
I have a laravel project, I'm trying to upload it. I want to place a volume and run storage:link. How can I do it?
17 Replies
Project ID:
N/A
N/A
maybe add it in the start command?
I put it in the start command, but it didn't work
runs the command correctly, but the folders it picks up seem to be wrong
my local is this
this in Railway
this storagepublic is weird
What’s your start command?
Maybe try this? https://stackoverflow.com/a/58936108
Stack Overflow
Laravel storage link won't work on production
I'm using storage_path to save my images and I symbolic my storage folder to public_html
php artisan storage:link
On the local everything works fine, when I upload an image it will upload in stor...
I tried, but permission was denied
What’s your
/config/filesystems.php
look like?Looks like maybe the link could’ve been successful, odd that the path would appear like that though. Wanna try it to see if the files persist?
I tried a Laravel deployment and got the same path but it said the link already existed when I tried another deploy.
Always appears as being created again
And I don't know the link to access the storage
The application crashes when I run this command
It doesn't work, when I try to access the home page, it doesn't access
And I would like to persist the storage data, on a volume or something like that
someone?
Sorry, I don’t really know. I could look more into it when I get time if you want.