Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flow和stop执行接口无响应,页面一直处于loading状态 #82

Open
GaoHY001 opened this issue May 25, 2024 · 5 comments
Open

Comments

@GaoHY001
Copy link

采用docker镜像方式部署:registry.cn-hangzhou.aliyuncs.com/cnic_piflow/piflow:v1.5

image

@yg000
Copy link
Collaborator

yg000 commented May 25, 2024

您好,关于您提到的Docker镜像方式部署存在的运行问题,请按照下述步骤操作:

1、拉取镜像
首先,执行命令,拉取下述镜像:
docker pull registry.cn-hangzhou.aliyuncs.com/cnic-piflow/piflow-1.5:v1
拉取完成后,使用以下命令启动容器:
bash
docker run \
-h master \
-itd \
--env HOST_IP=10.0.82.124 \
--name piflow-v1.5 \
-p 6001:6001 \
-p 8088:8088 \
-v /usr/bin/docker:/usr/bin/docker \
-v /var/run/docker.sock:/var/run/docker.sock \
--add-host docker.host:10.0.82.124 \
registry.cn-hangzhou.aliyuncs.com/cnic-piflow/piflow-1.5:v1

2、容器启动后,可以使用以下命令查看容器的日志,以确认是否成功启动:
docker logs -f --tail 100 piflow-v1.5
如果日志中出现以下文字,则表示piflow-v1.5已启动成功:
piflow-v1.5 Start successful...
success !!!

3、访问Web界面
启动成功后,您可以通过访问宿主机的IP:6001端口来使用piflow-v1.5的Web界面!

如果在操作过程中遇到任何问题,请随时联系我们。我们将竭诚为您解答疑问。

@GaoHY001
Copy link
Author

GaoHY001 commented May 26, 2024

感谢回复:

已按如上步骤重新部署,还是存在上文中的问题,在启动日志中看到一条mysql无权限访问的日志,是否与此有关:
image

@GaoHY001
Copy link
Author

--------------------Start Spark----------------------------
--------------------Start Mysql Server---------------------

  • Starting MySQL database server mysqld su: warning: cannot change directory to /nonexistent: No such file or directory
    [ OK ]
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    --------------------Start PiFlow---------------------------
    SPARK_HOME: /opt/spark-2.2.0-bin-hadoop2.6
    PiFlow is running! check log in logs/piflow.log
    Using CATALINA_BASE: /opt/piflow/piflow-web-v1.5/piflow-tomcat
    Using CATALINA_HOME: /opt/piflow/piflow-web-v1.5/piflow-tomcat
    Using CATALINA_TMPDIR: /opt/piflow/piflow-web-v1.5/piflow-tomcat/temp
    Using JRE_HOME: /usr/local/java/jre
    Using CLASSPATH: /opt/piflow/piflow-web-v1.5/piflow-tomcat/bin/bootstrap.jar:/opt/piflow/piflow-web-v1.5/piflow-tomcat/bin/tomcat-juli.jar
    Using CATALINA_OPTS:
    Tomcat started.
    piflow-v1.5 Start successful...
    success !!!

@GaoHY001
Copy link
Author

GaoHY001 commented May 26, 2024

按新的镜像部署后首页刷新页面会提示 An unknown error occurred in the background run!

1716691847932

@liurr9810
Copy link

按新的镜像部署后首页刷新页面会提示后台运行时发生未知错误!

1716691847932

我也是这个问题,有解决方法么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants