dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [Admin Panel] Strict MIME type checking is enforced for module scripts per HTML spec.

Open CNyezi opened this issue 3 years ago • 10 comments

Search before asking

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

What happened

下载3.1.3版本的代码,尝试在本机使用docker-compose部署,已经部署成功。 但在打开admin页面时,页面空白,出现报错。 image image image

What you expected to happen

正常打开面板

How to reproduce

3.1.3版本,根据docker-compose进行部署,即可复现。

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

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

Code of Conduct

CNyezi avatar Feb 07 '23 02:02 CNyezi

Search before asking

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

What happened

Download the 3.1.3 version of the code, try to use docker-compose to deploy locally, and the deployment has been successful. But when the admin page is opened, the page is blank and an error occurs. image image image

What you expected to happen

Open panel normally

How to reproduce

Version 3.1.3 can be reproduced by deploying according to docker-compose.

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

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

Code of Conduct

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

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 07 '23 02:02 github-actions[bot]

Same here. I meet the same problem with k8s deploymentation.

lzjxc avatar Feb 08 '23 09:02 lzjxc

我使用docker-compose部署也是一样的问题

chcodex avatar Feb 09 '23 03:02 chcodex

I have also meet this Problem

794TD avatar Feb 16 '23 06:02 794TD

+1

showkeyjar avatar Feb 16 '23 09:02 showkeyjar

try this image

docker pull cccccmd/dolphinscheduler-api:3.1.3-fix-ui

You can also use the Dockerfile to build the image yourself

cmd1024 avatar Feb 21 '23 02:02 cmd1024

@SbloodyS @zhongjiajie 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.

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 always change the resource name for each build process). @SbloodyS Please rebuild the image like what I did and redistribute it!

QuantumXiecao avatar Feb 23 '23 10: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 28 '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 05 '23 00:04 github-actions[bot]