gitlab https push/pull 할 때 오류
repository에 있는 프로젝트를 push 또는 pull 할 때 502 오류가 발생하는 경우 /etc/gitlab/gitlab.rb에서 puma 설정을 true로 변경한다. puma['enable'] = true 변경된 설정을 적용하기 위해 reconfigure를 해준다. sudo gitlab-ctl reconfigure 참고…
repository에 있는 프로젝트를 push 또는 pull 할 때 502 오류가 발생하는 경우 /etc/gitlab/gitlab.rb에서 puma 설정을 true로 변경한다. puma['enable'] = true 변경된 설정을 적용하기 위해 reconfigure를 해준다. sudo gitlab-ctl reconfigure 참고…
react로 Frontend를 띄우고 node에서 backend를 띄워 frontend에서 proxy 설정으로 backend를 가리키게 했는데 접속 시 invalid host header라는 오류가 발생했다. 이런 경우 다음 설정으로 오류 회피가 가능하다. frontend 소스 디렉토리에서 다음…
우분투 서버에 보조용으로 달아둔 하드디스크에 문제가 생겼다. 깨진 파일이 들어가면서 이상해졌는지 무슨 작업을 하다가 블럭이 깨진건지 명확히 알 수 없는데 아래 명령을 사용해서 고쳤다. $ sudo ntfsfix /dev/sdc1 Mounting volume...…
nextcloud 17.0.10에서 18.0.10으로 업데이트하는데 아래와 같은 오류가 발생했다. InvalidArgumentException: Column name "oc_flow_operations"."entity" is NotNull, but has empty string or null as default. 데이터베이스에서 발생한 문제인데 db에서 다음과 같은 쿼리를 수행해준다.…
윈도우에서 webdav를 연결하려는데 에러가 났다. 보통은 아이디, 패스워드를 입력하는 창이 나오는데 네트워크가 아에 연결이 안 되는 것과 같은 에러가 발생했다. nginx 설정에 문제가 있는 것으로 보여 설정 관련 내용을 찾았다.…
gitlab을 최신 버전으로 업그레이드 하려는데 db migration에서 아래와 유사한 에러가 발생했다. gitlab-ctl 명령으로 restart를 할 때 postgresql-exporter가 정상적으로 실행이 안 되고 reconfigure할 때 아래 메시지들이 출력되었다. bash[migrate gitlab-rails database] action…
react-native에서 android로 프로젝트를 실행하려는데 아래와 같은 오류가 발생했다. Could not initialize class org.codehaus.groovy.runtime.InvokerHelper 다음 링크를 통해 문제를 해결했다. https://stackoverflow.com/questions/35000729/android-studio-could-not-initialize-class-org-codehaus-groovy-runtime-invokerhel react-native로 생성한 프로젝트의 다음 파일을 수정한다. android/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip zipStoreBase=GRADLE_USER_HOME…
Nuxt에서 component를 표시할 때 생기는 문제다. 처음 로딩 했을 때는 정상적으로 컴포넌트가 정상적으로 보이는데 새로고침을 하는 경우 "document is not defined" 라는 에러 메시지가 출력되고 정상적으로 페이지가 표시되지 않는다. 구글링한…
DEV-[occiderepi301:/home/occidere] docker ps -a Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json?all=1: dial unix /var/run/docker.sock: connect: permission denied sudo chmod 666 /var/run/docker.sock…
LG 4K 모니터를 맥북에 확장 연결하여 사용 중인데 맥OS 업데이트(10.15.4 버전) 후 색상이 들뜬 것 처럼 이상해진 상태가 됐다. 모니터 문제인 줄 알고 모니터 설정을 이리저리 바꿔 봤는데도 증상이 사라지지…