테스트 사이트 - 개발 중인 베타 버전입니다

리눅스 심볼릭링크 수정하는 방법 문의드립니다. 채택완료

마일드스카이 5년 전 조회 1,839

해외사이트에서 php 스크립트를 구매해서 설치하는데 작동이 잘 되지 않아 

개발자에게 문의했더니 다음과 같이 답을 해줬습니다. 

 

Please create a symbolic link (symlink) from public/storage to storage/app/public folder.

Normally, it should be created automatically during installation, but on some hosts automatic creation is disabled, in which case the symlink should be added manually.

If you have SSH access you can create the symlink by navigating to the web root folder of your domain and running the following command:

>_ php artisan storage:link

 

If you do not have SSH access please ask your hosting support to create the symlink for you.

 

 

그런데 FTP로 폴더를 찾아보니 아래처럼 심볼릭링크가 있긴합니다만, 

더블클릭해서 들어가보려고 하면 에러가 나면서 들어가지지 않아요. 

아무래도 이게 원인같은데요. 

 

 

그래서 ssh 접속 후 public_html 루트디렉토리로 이동하여 php artisan storage:link 명령어를 주면

The "public/storage" directory already exists.

위와 같은 오류가 뜹니다. 

지원 티켓을 다 써버려서 더이상 개발자에게 문의할 수가 없게 되었네요ㅠㅠ 

 

도움부탁드립니다. 

감사합니다.

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

M
5년 전

참고하세요.

ssh 상에서 경로 이동 후

ln -Tfs [새로바꿀경로] [바꿀심볼릭링크]

ex) ln -Tfs /sample/change_path/20161219 /root/user/change  

 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

마일드스카이
5년 전
감사합니다.
public_html 루트에서 ln -Tfs storage/app/public public/storage 이렇게 했는데 여전히 안되네요. 제가 맞게 한건가요? ㅠㅠ 원래 디자인만 해서 어렵네요...

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인