mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #87] 升级新版本证书直接不更新了 #3156
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#3156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hale177 on GitHub (Mar 11, 2023).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/87
版本:从原 v1.7.3 docker image 切到 v1.7.6
重新点击证书按钮,后端日志如下:
弹出的证书申请详情页一直空白,无任何输出:

@0xJacky commented on GitHub (Mar 11, 2023):
/about/api?
看日志有点奇怪,这个地址应该是 /api 才是,我晚点看看
@0xJacky commented on GitHub (Mar 11, 2023):
您是部署在子域名下的?
@hale177 commented on GitHub (Mar 11, 2023):
没有, 我的托管站点是 ovx.xxx.com , nginx-ui 管理用的ip访问
我这个环境是从最老版本依次升到目前最新版,这个问题应该是从老版本升到最新版时各种配置兼容性问题,
如果全新部署新版应该不会有这个问题(我准备部全新版本实例,然后手工迁移下配置)
@0xJacky commented on GitHub (Mar 11, 2023):
嗯其实基本没有要迁移的配置,把数据库删了就算重新开始了
@0xJacky commented on GitHub (Mar 12, 2023):
我突然想到一个问题,您是不是通过 http://ip:port/about#/domain/ovx.xxx.com 访问的域名管理页面
因为前阵子的更新,为了支持子目录部署,把 Vue Router 的模式从 history mode 换成了 hash mode,如果虽然原来伪静态的方式还是能正常访问,但是 WebSocket 的请求会通过
window.location.host,window.location.pathname来构造请求链接的github.com/0xJacky/nginx-ui@3a595fcb42/frontend/src/lib/websocket/index.ts (LL13-L18C6)如果访问的时候带了
/about的话,websocket 请求后端的 url 就会多出一个/about,这也可能会导致您所描述的这个问题的发生@hale177 commented on GitHub (Mar 13, 2023):
我来更新了 ~
清理后直接全新部署 latest 镜像(v1.7.6),然后迁移了老配置,但是发现有时候创建新site 时,也会出现空白页“正在获取证书”,直接就不动了 。。。
日志输出(不再是/about/api)
@0xJacky commented on GitHub (Mar 13, 2023):
一样的问题 你清理一下浏览器的缓存,然后确保url没有目录,直接就是http://xxx/#/domain/xxx
你现在浏览器的地址肯定是 http://xxx/dashboard/#/domain/xxx 要把/dashboard去掉
@0xJacky commented on GitHub (Mar 13, 2023):
我在
394bd0e中对 NoRoute 的处理做了优化,现在会自动跳转到根路径。那这个 issue 我先关掉了,这项改动将随着 v1.7.7 发布,目前您可以通过清除浏览器缓存解决。