inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

docker-compose up 이후 웹서버가 뜨지 않습니다

해결됨

Airflow 마스터 클래스

안녕하세요 도커&에어플로우 설치 부분 강사님 강의보며 실습하던 중에 크롬창에서 웹서버 접속이 되지 않아 문의드립니다. 환경은 mac os 입니다. sudo docker-compose up airflow-init sudo docker-compose up 명령어 사용해서 진행했습니다. 로그 중에 permission denied가 나는 부분이 있는데 이 부분 때문일까요? airflow-init-1 | chown: changing ownership of '/sources/logs': Permission denied airflow-init-1 | chown: changing ownership of '/sources/dags': Permission denied airflow-init-1 | chown: changing ownership of '/sources/plugins': Permission denied 로그 전문 공유드립니다. (airflow-dockercompose) jeremy 😹  ~/dev/airflow-dockercompose  sudo docker-compose up airflow-init Password: [+] Running 44/3 ✔ postgres 13 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 72.8s ✔ redis 6 layers [⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 84.6s ✔ airflow-init 22 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 68.5s [+] Running 3/3 ✔ Container airflow-dockercompose-redis-1 Created 0.3s ✔ Container airflow-dockercompose-postgres-1 Created 0.3s ✔ Container airflow-dockercompose-airflow-init-1 Created 0.0s Attaching to airflow-init-1 airflow-init-1 | chown: changing ownership of '/sources/logs': Permission denied airflow-init-1 | chown: changing ownership of '/sources/dags': Permission denied airflow-init-1 | chown: changing ownership of '/sources/plugins': Permission denied airflow-init-1 | The container is run as root user. For security, consider using a regular user account. airflow-init-1 | airflow-init-1 | DB: postgresql+psycopg2://airflow:***@postgres/airflow airflow-init-1 | Performing upgrade to the metadata database postgresql+psycopg2://airflow:***@postgres/airflow airflow-init-1 | [2024-02-13T12:36:11.330+0000] {migration.py:216} INFO - Context impl PostgresqlImpl. airflow-init-1 | [2024-02-13T12:36:11.332+0000] {migration.py:219} INFO - Will assume transactional DDL. airflow-init-1 | [2024-02-13T12:36:11.344+0000] {db.py:1616} INFO - Creating tables airflow-init-1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl. airflow-init-1 | INFO [alembic.runtime.migration] Will assume transactional DDL. airflow-init-1 | OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k airflow-init-1 | Database migrating done! airflow-init-1 | /home/airflow/.local/lib/python3.8/site-packages/flask_limiter/extension.py:336 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend. airflow-init-1 | OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k airflow-init-1 | airflow already exist in the db airflow-init-1 | 2.8.1 airflow-init-1 exited with code 0 (airflow-dockercompose) jeremy 😹  ~/dev/airflow-dockercompose  sudo docker-compose up [+] Running 7/7 ✔ Container airflow-dockercompose-postgres-1 Running 0.0s ✔ Container airflow-dockercompose-redis-1 Running 0.0s ✔ Container airflow-dockercompose-airflow-init-1 Created 0.0s ✔ Container airflow-dockercompose-airflow-worker-1 Created 0.1s ✔ Container airflow-dockercompose-airflow-scheduler-1 Created 0.1s ✔ Container airflow-dockercompose-airflow-triggerer-1 Created 0.1s ✔ Container airflow-dockercompose-airflow-webserver-1 Created 0.1s Attaching to airflow-init-1, airflow-scheduler-1, airflow-triggerer-1, airflow-webserver-1, airflow-worker-1, postgres-1, redis-1 airflow-init-1 | chown: changing ownership of '/sources/logs': Permission denied airflow-init-1 | chown: changing ownership of '/sources/dags': Permission denied airflow-init-1 | chown: changing ownership of '/sources/plugins': Permission denied airflow-init-1 | The container is run as root user. For security, consider using a regular user account. airflow-init-1 | airflow-init-1 | DB: postgresql+psycopg2://airflow:***@postgres/airflow airflow-init-1 | Performing upgrade to the metadata database postgresql+psycopg2://airflow:***@postgres/airflow airflow-init-1 | [2024-02-13T12:37:00.495+0000] {migration.py:216} INFO - Context impl PostgresqlImpl. airflow-init-1 | [2024-02-13T12:37:00.496+0000] {migration.py:219} INFO - Will assume transactional DDL. airflow-init-1 | [2024-02-13T12:37:00.509+0000] {db.py:1616} INFO - Creating tables airflow-init-1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl. airflow-init-1 | INFO [alembic.runtime.migration] Will assume transactional DDL. airflow-init-1 | OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k airflow-init-1 | Database migrating done! airflow-init-1 | /home/airflow/.local/lib/python3.8/site-packages/flask_limiter/extension.py:336 UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend. airflow-init-1 | OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k airflow-init-1 | airflow already exist in the db airflow-init-1 | 2.8.1 airflow-init-1 exited with code 0 airflow-triggerer-1 | airflow-worker-1 | airflow-webserver-1 | airflow-scheduler-1 | airflow-webserver-1 | [2024-02-13T12:37:28.080+0000] {configuration.py:2065} INFO - Creating new FAB webserver config file in: /opt/airflow/webserver_config.py airflow-triggerer-1 | ____________ _____________ airflow-triggerer-1 | ____ |__( )_________ __/__ /________ __ airflow-triggerer-1 | ____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / / airflow-triggerer-1 | ___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ / airflow-triggerer-1 | _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/

  • python
  • 데이터-엔지니어링
  • airflow
신윤철 댓글 2 좋아요 0 조회수 978

시 군 구로 나눈 이유가 궁금합니다.

미해결

RDBMS Modeling 실습

서울특별시 무슨무슨구 무슨무슨 동이면 하나의 컬럼이아니라 여러개의 컬럼으로 나누어서 sd,sgg.. 등의 컬럼을 만들어서 하나의 테이블로 가능할것 같은데 이름 하나 때문에 테이블이 3개가 더 생기는 것 같은데 이유가 있을까요?

  • oracle
  • dbms/rdbms
  • mssql
  • 데이터-엔지니어링
boxman 댓글 2 좋아요 0 조회수 404

해시태그 가공해보고 싶습니다 ㅠ

미해결

[리뉴얼] React로 NodeBird SNS 만들기

해시태그를 가져오려 include: [{ model: Hashtag, attributes: ["hashtag"], through: { attributes: [] } }], 이런식으로 코드를 짯는데 프론트로 데이터를 보내는게 Hashtags: [ 1:{hashtag: "ㅁㄴㄴ"} 2: {hashtag: "ㅇㅇㅇ"} 3: {hashtag: "ㅂㅂㅂ"} 4: {hashtag: "ㅁㅁㅋㅋ"}] 이런식으로 데이터가 가더라구요 여기서 hashtag 라는 이름 없이 Hashtags: [ 1 : "ㅁㄴㄴ" 2:"ㅇㅇㅇ" 3:"ㅂㅂㅂ" ] 이런식으로 보내고 싶은데 방법 없을까요...

  • react
  • redux
  • node.js
  • express
  • next.js
GI P 댓글 2 좋아요 0 조회수 332

vercel에 배포후의 public 폴더 문제

미해결

Next + React Query로 SNS 서비스 만들기

안녕하세요. 이번에 nextjs 14 로 배포후에 public 폴더의 mp3 나 obj 파일들은 로드가 잘되는데, jpeg 는 404 에러가 나는 이유가 어떤걸까요? Image next 태그를 사용했습니다.

  • react
  • next.js
  • react-query
  • next-auth
  • msw
K1 댓글 1 좋아요 -2 조회수 566

UsernamePasswordAuthenticatioToken

미해결

Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)

안녕하세요, 문의 사항이 있어 글 납깁니다... 당장에 이해가 안되어서요,,,, UserDetailService . loadUserByUsername()은 password활용 없이 ID만을 통해 find하게 짜도 문제 없나요,,? 어디선가 password를 따로 비교해주나요???....? 어떤 컬럼인지 어떻게 알고 비교해주지,,,ㅁ 질문드립니다

  • spring-boot
  • jpa
  • 아키텍처
  • spring-cloud
  • kafka
  • msa
  • rabbitmq
hi_man159 댓글 1 좋아요 0 조회수 328

8.3 RBAC context 스크립트 관련

미해결

안녕하세요 수강생 오동규 입니다. 먼저 좋은 강의 만들어주셔서 감사합니다. 열심히 강의 듣고 따라 연습하던 중 한 곳이 이상이 있어, 제 시스템만의 문제인지 스크립트의 문제인지 헷갈려 문의를 드리고자 질문을 올립니다. 현재 테스트하고 있는 버전은 v1.28.1 이며, set-ctx-dev1 파일을 수행하면 강의 영상 처럼 TOKEN 값을 받아와야 하는데 이부분의 처리가 안되어 스크립트를 약간 변경하여, kubectl create token으로 직접 생성해서 불러오면 이부분 일단 해결 가능한 것으로 보였습니다. 다만, 아직 제가 부족하다보니 이것이 맞는 부분인지 궁금하여 글을 올리게 되었습니다. 예전에는 Service account를 생성할 때 token 값이 같이 생성된다고 하였고, 언제인지는 모르겠지만 최근 버전에서 이 부분이 바뀌었다고 들었는데 이 부분에 의한 영향일지도 같이 확인을 부탁 드립니다. 읽어주셔서 고맙습니다. 감사합니다.

오동규 댓글 1 좋아요 1 조회수 96

if문 내에서 반영된 변수의 값이 계속 유지되는 이유

미해결

김영한의 자바 입문 - 코드로 시작하는 자바 첫걸음

스코프를 벗어나면 변수를 쓸 수 없다고 했는데 위 코드는 맨 위에 미리 선언해놨기 때문에 모든 if문에서 쓸 수 있는것으로 확인했습니다. 근데 궁금한것이 if(choice==1)에서 반영된 가격이 어떻게 다음 if문인 choice==2 조건일 때 결제가 가능하게 되는거에요? 1번 눌렀을 때 실행되는 if문에서 가격과 수량이 맨 위(while문 위쪽) 변수에 반영되어 있는건가요?

  • java
  • 객체지향
vser2404 댓글 1 좋아요 0 조회수 344

앱실행시 오류

해결됨

[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)

7:00초에서 앱실행을 했는데요,File google-services.json is missing 이라고 계속뜹니다. 다 잘 따라했는데 뭐가 문제인가요? 그리고 레이아웃에서 EditText부분에 emailArea <EditText>: No speakable text present라고 에러가 뜨는데 그냥 놔둬도 되는건가요?

  • android
  • kotlin
  • firebase
한승원 댓글 1 좋아요 1 조회수 235

제가 이해한게 맞을까요?

해결됨

[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버

bool repeat = ThreadName.IsValueCreated; 얘는 그냥 Value가 세팅되어 있는지 아닌지를 true false로 반환해줄 뿐이죠? 생성자로 ThreadLocal<T>의 T를 return해주는 람다를 넣어주면 Value를 return한 값으로 채워주고 만약에 이미 채워져 있다면 그냥 재사용하는건가요? 생성자로 저렇게 Value를 리턴해주도록 만들어놓으면 나중에 Value를 읽어올 때 자동으로 채워주는 건가요?

  • C#
  • unity
  • 네트워크
댓글 1 좋아요 0 조회수 305

2-E 질문있습니다!

미해결

10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트

http://boj.kr/982be70c6d1e4cd5bfcbf7f36bf6d7c8 큰돌님 풀이만큼 구현하기엔 아직 실력이 부족한듯하여, 우선 부딪혀보았습니다. 풀어는 보고 싶어서, 정말 단순하게 4분할 후 배열 생성하고, 전수 검사하고, 서로 다른 요소가 있다면 다시 재귀를 돌리는 식으로 구현해보았는데 어떤 문제가 있는 걸까요 ㅠ??

  • c++
  • 코딩-테스트
최은정 ◡̎ 댓글 1 좋아요 0 조회수 224

.dark 적용 하는 법

미해결

HTML+CSS+JS 포트폴리오 실전 퍼블리싱(시즌2)

제가 scss로 강의 듣는데 html에 profile dark 썼는데 scss에는 코드를 어떻게 적어야 할까요? 아래처럼 적었는데 미동도 안해요 ㅜㅠ

  • HTML/CSS
  • javascript
  • jquery
tkddnjs1018 댓글 1 좋아요 1 조회수 237

npx 관련 질문

해결됨

한 입 크기로 잘라먹는 타입스크립트(TypeScript)

타입스크립트로 리액트를 시작할 때 이 명령어를 사용하지 않고 영상처럼 하는 이유가 있을까용? npx create-react-app 디렉토리명 --template typescript

  • typescript
쟁쟁 댓글 1 좋아요 0 조회수 318

뷰어 문서는 어디에서 다운로드 받나요?

해결됨

웹기획자세요? 커리어관리 + 웹시스템 기획 기초 [표준 산출물 워크플로] 알고 가실게요~

뷰어 문서는 어디에서 다운로드 받을 수 있나요?

  • 프로젝트-관리
  • 업무-생산성
  • 서비스-기획
  • ux-기획
  • WBS
Maggie222 댓글 1 좋아요 0 조회수 422

ios Simulator오류

미해결

[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!

코드팩토리 디스코드 https://bit.ly/3HzRzUM Error (Xcode): Target debug_unpack_ios failed: Exception: Failed to codesign /Users/anshinyoung/Desktop/test_pro/build/ios/Debug-iphonesimulator/Flutter.framework/Flutter with identity -. Could not build the application for the simulator. Error launching application on iPhone 15. 이 오류가 계속 뜨는데 해결방안이 뭔가요?

  • flutter
  • 클론코딩
shinyoung5906 댓글 3 좋아요 0 조회수 588

hello 페이지로 안들어가집니다.

미해결

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? 예 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예 [질문 내용] 여기에 질문 내용을 남겨주세요. >>> 어노테이션이 저렇게 뜨는데 설정을 바꾸는 방법을 못찾겠어요. >>> 해당 컨트롤러로 못들어갑니다 ㅜㅜ 에러페이지가 나와요

  • java
  • spring
  • mvc
  • spring-boot
diem2030_ 댓글 2 좋아요 0 조회수 594

/dev/kvm is not found

미해결

[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)

실행시키는 버튼을 누르면 /dev/kvm is not found가 뜹니다....

  • android
  • kotlin
  • firebase
댓글 1 좋아요 0 조회수 197

cascade, 연관관계 사용 기준 질문.

미해결

실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발

학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 안녕하세요 강의 잘 듣고 있습니다. cascade,연관 관계를 사용하는 기준이 궁금해서 질문 글을 작성합니다. 1.cascade 질문 제가 이해한 바로는 엔티티를 영속성 컨텍스트 관리를 받기 위해 persist 등록하는 것이며 각 엔티티는 따로따로 persist를 해야 되는데 cascade를 사용하면 하나의 엔티티를 persist할 때 그와 연관된 엔티티를 같이 해주는 것으로 이해했습니다. Order 코드에서 OrderItem과 Delivery에 cascade가 적용됐는데 Member에는 적용을 안 하는 것 같더라고요. 왜 Member는 안 하는지 궁금합니다. 연관 관계 질문 order와 연관된 엔티티 간에 연관관계 메소드를 통해 한쪽에서 서로 등록해주는 것은 이해가 가는데 Item과 Category간에는 어느 쪽에도 연관 관계 메소드가 없는 이유가 궁금합니다. Item과 Category 이 둘은 약간 상수? 느낌이라서 연관 관계를 지을 필요가 없는 것일까요? 답변 주시면 정말 감사하겠습니다.

  • java
  • spring
  • 웹앱
  • spring-boot
  • jpa
  • 연관관계
  • cascade
알알이 댓글 1 좋아요 1 조회수 478

강의 교안 요청드립니다

미해결

비전공 기획자 및 관리자를 위한 IT 필수 지식

안녕하세요. 강의교안 요청드립니다. 이메일 주소는 shinisgoood@gmail.com 입니다. 감사합니다.

  • 커뮤니케이션
신승호 댓글 2 좋아요 0 조회수 279

[ 02.+Protobuf과+언리얼+연동 ] Protobuff빌드 에러가 납니다

미해결

[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part5: UE5 & IOCP 서버 연동

>libprotobuf.lib(reflection_ops.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(text_format.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(dynamic_message.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(any.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(wire_format.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(descriptor.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(extension_set_heavy.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(map_field.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(arenastring.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(message_lite.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(generated_message_reflection.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>libprotobuf.lib(message.obj) : error LNK2001: 확인할 수 없는 외부 기호 __std_init_once_link_alternate_names_and_abort 1>D:\UnRealProject\MMO\S1\Binaries\Win64\UnrealEditor-S1.dll : fatal error LNK1120: 1개의 확인할 수 없는 외부 참조입니다. 소스 그대로 받아 빌드를 했는데 에러가 나네요

  • c++
  • unreal-engine
  • windows-server
댓글 1 좋아요 1 조회수 917

인기 태그

인프런 TOP Writers

주간 인기글