본문 바로가기
반응형

Error18

[nginx] 413 Request Entity Too Large 해결 ngix에서 파일 업로드 시 413 Request Entity Too Large에러가 뜨면서 파일 전송에 실패한 경우가 생겼다 php.ini 설정 post_max_size, upload_max_filesize 도 적절한 값으로 설정이 되어있다면 nginx.conf를 수정해야 한다 nginx편집 /etc/nginx/nginx.conf 파일에 http 부분 추가로 작성 http { //http 요청 본문 크기 제한 client_max_body_size 10M; } 설정 후 nginx 서버 재시작 sudo service nginx restart 정상적으로 파일이 전송되는 걸 확인 2024. 3. 27.
[Solved] composer source directory has uncommitted changes RUN composer config discard-changes true composer.json "config": { "discard-changes": true }, 2023. 9. 13.
[Solved] The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is not signed. 위의 에러와 같이 나온 에러에서 NO_PUBKEY라고 KEY 가 두 개 나오는데 차례로 등록하면 된다 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys {PUBKEY} 2023. 9. 13.
[Solved] nginx depends libssl1.1 ( = 1.1.1) but it is not installable DockerFile 빌드할 때 nginx: depends: libssl1.1 ( = 1.1.1) but it is not installable 에러가 났다 echo "deb http://security.ubuntu.com/ubuntu focal-security main" | tee /etc/apt/sources.list.d/focal-security.list \ apt-get update \ apt install libssl1.1 \ 우분투 소스를 추가해서 강제로 libssl1.1 설치 2023. 9. 13.
Executing an update/delete query; nested exception is javax.persistence.TransactionRequiredException: Executing an update/delete query.... update 또는 delete의 경우에는 해당 컨트롤러 api에 @Transactional 어노테이션 추가해서 해결 2022. 9. 28.
[TypeOrmModule] Unable to connect to the database. Retrying (5)... +3137msQueryFailedError: ER_FK_COLUMN_CANNOT_CHANGE_CHILD: Cannot change column 'id': used in a foreign key constraint 에러 해결 app.module.ts파일의 synchreonize: false로 변경한다 2022. 6. 16.
yarn : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\user\AppData\Roaming\npm\yarn.ps1 파일을 로드할 수 없습니다. 에러 해결 yarn : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\user\AppData\Roaming\npm\yarn.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.위치 줄:1 문자:1 Windows PowerShell을 관리자 권한으로 실행 get-help Set-ExecutionPolicy y 입력 Set-ExecutionPolicy RemoteSigned y 입력 권한을 설정해주고 다시 yarn명령어 사용하면 해결된걸 확인할 수 있다 2022. 6. 16.
node_modules/@types/express/index.d.ts:58:29 에러 해결 npm 사용 시 npm update @types/express-serve-static-core --depth 2 npm update @types/serve-static --depth 2 yarn 사용 시 yarn add @types/express@4.17.8 yarn 명령어 사용 시에는 package-lock.json파일에 @types/express 버전이 바뀌는것을 확인 2022. 6. 16.
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port. 해결 에러 코드: Identify and stop the process that's listening on port 8080 or configure this application to listen on another port. 터미널 창에서 아래 코드 입력 netstat -ano | findstr 8080 taskkill /F /pid 실행중인pid 해결 다시 실행하면 잘 작동한다 2022. 4. 28.
반응형