backend.ai icon indicating copy to clipboard operation
backend.ai copied to clipboard

When there is a 'postgresql schema' issue, add a workable command.

Open jangjichang opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 기능 요청이 특정 문제에 연관된 것이라면 여기에 그 문제를 설명해주세요.

when error occurred below command, I don't know what to do to fix the error. command: ./backend.ai mgr start-server --debug

image

Describe the solution you'd like A clear and concise description of what you want to happen. 어떤 기능이 있으면 좋겠는지 자세히 설명해주세요.

show any command like ./py -m alembic upgrade head when database schema error.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. 혹시 다른 대안들을 생각해본 적이 있다면 함께 적어주세요.

auto update database schema whenever start manager server

Additional context Add any other context or screenshots about the feature request here. 기능 요청에 대해 보다 잘 이해할 수 있는 다른 맥락을 기술해주세요.

After installing 'backend.ai', an error occurred when running the Manager component.

I found out that I needed to update the field with the help of the person next to me, but I probably wouldn't have solved it without help.

jangjichang avatar Jul 23 '22 06:07 jangjichang

Thank you for the reporting! Before we start an investigation, it would be helpful a lot if you provide some more information.

  1. Did you clone the latest main branch? 1-1. If not, did you pull from the old main branch? 1-2. Did you run scripts/install-dev.sh right after you cloned/pulled the repository?
  2. Please try scripts/delete-dev.sh and reinstall using scripts/install-dev.sh again. 2-1. After the install is done, run ./backend.ai mgr start-server --debug. 2-2. How does it work?

Appreciate the answers in advance.

rapsealk avatar Jul 24 '22 23:07 rapsealk