Closed Shuming-Cheng closed 2 months ago
To resolve the issue with the page not loading properly when trying to create an administrator account in Dify version 0.6.12-fix1, follow these steps:
Check Docker Containers: Ensure all necessary Docker containers are running correctly:
docker compose ps
Inspect Logs: Check the logs of the web container for any errors:
docker logs docker-web-1
Network Issues: Ensure there are no network issues or firewall rules blocking access to the necessary ports (e.g., port 80).
Browser Console: Open the browser's developer console (F12) and check for any JavaScript errors or network issues.
Environment Variables: Ensure that the environment variables in your .env
file are correctly set up. Compare them with the docker/.env.example
file.
Restart Services: Restart the services:
docker compose down
docker compose up -d
If the issue persists, providing more detailed logs or error messages can help with further diagnosis [1].
To continue talking to Dosu, mention @dosu.
Hi @Shuming-Cheng
Please confirm the following three points. I sccesfull to execute Dify-0.6.12-fix1 with this temporary workaround.
# The backend URL of the console API,
# used to concatenate the authorization callback.
# If empty, it is the same domain.
# Example: https://api.console.dify.ai
CONSOLE_API_URL=http://localhost
# Frontend web application.
web:
image: langgenius/dify-web:0.6.12-fix1
restart: always
environment:
#CONSOLE_API_URL: ${CONSOLE_API_URL:-}
CONSOLE_API_URL: ''
``
![Dify-v0 6 12-fix1](https://github.com/langgenius/dify/assets/138992835/cd63a4fd-89c5-49c5-9a3f-e2e67bc0e076)
Created a new. env file The following changes have been made to Docker Compose.yaml docker compose up -d The problem is still unresolved
hello @potofo , I still can't fix this problem.
Hey @Shuming-Cheng 😃, thx a lot for your feedback! You can help us pinpoint the issue by following these steps:
Open your browser’s dev tools, switch to the Network tab, and refresh the page. Check if there are any requests still loading or failing. If you see any suspicious requests, take a screenshot of the request list and the details of those requests
Have you made any changes to the docker-compose.yaml
and .env
configuration files? Especially configs related to addresses and ports like the nginx port, CONSOLE_API_URL
, and CORS settings, etc.
Thx!
hello @Shuming-Cheng
Have you confirmed the fix in the dify/docker/docker-compose.yaml file? You have to change following line 307.
before 307 CONSOLE_API_URL: ${CONSOLE_API_URL:-} after 307 CONSOLE_API_URL: ''
303 web:
304 image: langgenius/dify-web:0.6.12-fix1
305 restart: always
306 environment:
307 #CONSOLE_API_URL: ${CONSOLE_API_URL:-}
308 CONSOLE_API_URL: ''
309 APP_API_URL: ${APP_API_URL:-}
310 SENTRY_DSN: ${SENTRY_DSN:-}
same question,hope to solve it
Hey @Shuming-Cheng 😃, thx a lot for your feedback! You can help us pinpoint the issue by following these steps:嘿@Shuming-Cheng 😃,非常感谢您的反馈!您可以按照以下步骤帮助我们查明问题:
- Open your browser’s dev tools, switch to the Network tab, and refresh the page. Check if there are any requests still loading or failing. If you see any suspicious requests, take a screenshot of the request list and the details of those requests打开浏览器的开发工具,切换到“网络”选项卡,然后刷新页面。检查是否有任何请求仍在加载或失败。如果您发现任何可疑请求,请截取请求列表以及这些请求的详细信息
- Have you made any changes to the
docker-compose.yaml
and.env
configuration files? Especially configs related to addresses and ports like the nginx port,CONSOLE_API_URL
, and CORS settings, etc.您是否对docker-compose.yaml
和.env
配置文件进行了任何更改?特别是与地址和端口相关的配置,例如 nginx 端口、CONSOLE_API_URL
和 CORS 设置等。Thx! 谢谢! I deployed dify on the server and got a CORS error when initializing on the client:
milvus-standalone log
.
See this, you are trying to access localhost from public ip address. @0sengseng0
You should set this CONSOLE_API_URL
to your ip address instead.
Self Checks
Dify version
0.6.12-fix1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After the normal installation steps, enter the interface and prepare to create an administrator account. Unable to load
✔️ Expected Behavior
Creating an account normally
❌ Actual Behavior
Unable to create account