Problem OVH with symlink (Task: artisan:storage:link) #3752
Unanswered
slawkens
asked this question in
Help needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I got a problem with the OVH provider. I am using shared hosting, with SSH access.
I wouldn't start this thread if I didn't seek everywhere for the help. But nothing helps..
The problem: the standard laravel symlinking doesn't work, because it points through /home directory (full path).
Like it creates a symlink like this:
![image](https://private-user-images.githubusercontent.com/16687302/291010874-b5099a26-15e3-407a-9a04-d017a9f7c982.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1NjUyNTMsIm5iZiI6MTcxOTU2NDk1MywicGF0aCI6Ii8xNjY4NzMwMi8yOTEwMTA4NzQtYjUwOTlhMjYtMTVlMy00MDdhLTlhMDQtZDAxN2E5ZjdjOTgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI4VDA4NTU1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2ZDJhN2I3ZGUxNjczYzY1MGQyYTMyYjY4NjU4OGM5MTNiMWM1NjQwZTNhMTIxYTJhNThlZGRhMmE1MmI3NWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.BMIvoRw39115z7tJHCJUnogTbnLTqkd5FxCaVWmCKpw)
Which doesn't work.
So I created this task as replacement:
The task is run, but the symlink is not created.
When I login to the server with "dep ssh" and execute the EXACTLY same command - it works.
So here my question - is the "run" command running differently as I run it manually? Or what can be wrong here?
As I said - it works when I execute it manually. But I want to automatize it, and no need to enter it manually every time I deploy.
Thanks for any assistance.
Have a good day.
Beta Was this translation helpful? Give feedback.
All reactions