본문 바로가기

전체 글

(124)
[Laravel] log permission denied laravel server 운용중 아래와 같은 에러 발생 The stream or file "/var/www/html/{server-dir}/storage/logs/laravel-2023-07-11.log" could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file 로그 파일을 write 할 권한이 없다는 오류. 원인은 라라벨 스케쥴러를 crontab 으로 등록할 때 root user로 등록해서, root user가 생성한 log 파일을 서버 실행 유저 (nginx)가 접근하지 못하기 때문이었다. 해결방법: ..
[코바늘] 넥타이 코바늘 니트 타이 원통형으로 떠서 편물이 생각보다 두꺼운편 다음엔 조금 더 얇게 떠볼예정
[GIT] vscode git auto login(git credential) 설정 https://git-scm.com/docs/git-credential-store Git - git-credential-store DocumentationIf not set explicitly with --file, there are two files where git-credential-store will search for credentials in order of precedence: ~/.git-credentials User-specific credentials file. $XDG_CONFIG_HOME/git/credentials Second user-specific credentials file.git-scm.com$ git config credential.helper store위와 같이 설정 ..
[php] version switch sudo update-alternatives --config php update-alternaives --config 입력시 위와 같은 버전 switch 입력 메시지가 확인되고, 원하는 버전을 입력하면 변경된다.
[PHP] version update (ubuntu) php package 저장소 추가 sudo add-apt-repository ppa:ondrej/php sudo apt-get update 현재 버전보다 높은 버전의 php install sudo apt install php8.0-common php8.0-cli -y php 버전 및 모듈 확인 php -v php -m 필요에 따라 다른 확장패키지를 php8.0-{name} 으로 추가하면 된다. https://php.watch/articles/php-8.0-installation-update-guide-debian-ubuntu
[Vue] Component 재사용 export default { path: '/test', component: () => Layout, children: [ {path: 'path1', component: () => Listcomponent}, {path: 'path2', component: () => Listcomponent}, ] } path만 다르게 해서 하나의 컴포넌트를 재사용할 때, 컴포넌트가 업데이트되지 않는 문제 발생. router-view에 key 속성을 추가하여 path로 컴포넌트를 식별하도록 해줌으로써 해당 컴포넌트를 동일요소가 아닌 다른 요소로 인식하여 컴포넌트 데이터가 업데이트된다. key는 이름답게 고유해야만 렌더링 오류를 방지할 수 있다. key 속성 참고.. https://v2.vuejs.org/v2/api/#..
[JPA] native query 에서 @변수 사용 시 오류 jpa native query 에서 @로 변수를 선언해서 사용했을 떼 Space is not allowed after parameter prefix 위와 같은 오류 발생. @rownum\\:=@rownum+1 \\ 역슬래시 적용하면 문제가 해결된다. hibaernate 버전에 따라 역슬래시를 하나만 써도 된다고 함
아후강 코바늘, 핸드폰 가방 재료: 트위드 에코(먹색, 회색), 아후강 코바늘 4미리, 돗바늘 무늬없는 플레인 실로 사용하는 것이 더 좋을 듯 하다. 바디: 디어 크로쉐 동영상 참고 끈: 새우뜨기 + 짧은뜨기 실물은 이쁜데 사진이 안이쁘다는 점.

반응형