dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [Module Name] After deploying dolphinscheduler with docker, the interface cannot be accessed

Open zhmingyong opened this issue 3 years ago • 6 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

After deploying dolphinscheduler with docker, the interface cannot be accessed

What you expected to happen

c928cccd4e23b8bdc659012539ab7fc

How to reproduce

1.pull sourcecode ,release version:3.1.3,3.0.4 2.docker-compose deploying 3.Access interface

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

zhmingyong avatar Feb 21 '23 07:02 zhmingyong

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information, version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

github-actions[bot] avatar Feb 21 '23 07:02 github-actions[bot]

@zhmingyong Could you please explain it more specifically about "the interface cannot be accessed"? I see your curling action has been successful. You mean you could not access the website through the browser?

QuantumXiecao avatar Feb 21 '23 07:02 QuantumXiecao

#13465 #13523 The js file named index.13e03d85.js does not exist. You can repackage the dolphinscheduler-ui module and replace the ui directory in the container,but these changes will be lost after restarting the container.Also you can try to build a new image based on official image. You can refer to the Dockerfile file on this page

cmd1024 avatar Feb 22 '23 09:02 cmd1024

@SbloodyS This problem is due to the docker image located in apache repository is bad. I think we should redistribute docker image as quickly as possible.

@zhmingyong Current solution is you could build image using Dockerfile located in dolphin-scheduler source code using the following command: docker build -t dolphin-api:latest -f src/main/docker/Dockerfile . (name dolphin-api just for test)

Emphasize again: The last "." is very important and it specifies the PATH for docker build context.

And I modify docker-compose.yaml like follows: image image The dolphin login page display normally.

I think one possible problem is when building dolphinscheduler-api image it has used the previously generated front-end files(NPM would change the js name for each build). @SbloodyS Please rebuild the image like what I did and redistribute it!

QuantumXiecao avatar Feb 23 '23 09:02 QuantumXiecao

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Mar 26 '23 00:03 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Apr 03 '23 00:04 github-actions[bot]