使用管理员账号安装redis会提示当前用户无权限并跳转到登录页面

使用管理员账号安装redis会提示当前用户无权限并跳转到登录页面,无法安装redis。
使用的账号是唯一的系统管理员,在命令行 1panel user-info ,获取的账号密码,这不该没权限吧?安装redis,一点安装就跳转到登录页,提示没有权限,并且让重新登录。

如下是系统日志:

[2023-09-27 09:34:24] [INFO] init logger successfully  
[2023-09-27 09:34:24] [INFO] init db successfully  
[2023-09-27 09:34:24] [INFO] Migration run successfully  
panic: Cannot acquire directory lock on "/opt/1panel/cache".  Another process is using this Badger database. error: resource temporarily unavailable

goroutine 1 [running]:
github.com/1Panel-dev/1Panel/backend/init/cache.Init()
	github.com/1Panel-dev/1Panel/backend/init/cache/cache.go:50 +0x17a
github.com/1Panel-dev/1Panel/backend/server.Start()
	github.com/1Panel-dev/1Panel/backend/server/server.go:41 +0x8a
github.com/1Panel-dev/1Panel/cmd/server/cmd.glob..func8(0x6d7e240?, {0x25c6dcd?, 0x0?, 0x0?})
	github.com/1Panel-dev/1Panel/cmd/server/cmd/root.go:22 +0x17
github.com/spf13/cobra.(*Command).execute(0x6d7e240, {0xc00011e200, 0x0, 0x0})
	github.com/spf13/cobra@v1.6.1/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0x6d7e240)
	github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(0x4069d9?)
	github.com/spf13/cobra@v1.6.1/command.go:968 +0x19
main.main()
	./main.go:23 +0x25

通过1pctl restart 重启后,问题仍然存在,以下是新的日志输出:

[2023-09-27 09:50:59] [ERROR] accept tcp [::]:18029: use of closed network connection  
[2023-09-27 09:50:59] [INFO] init logger successfully  
[2023-09-27 09:50:59] [INFO] init db successfully  
[2023-09-27 09:50:59] [INFO] Migration run successfully  
[2023-09-27 09:50:59] [INFO] init cache successfully  
[2023-09-27 09:50:59] [INFO] init session successfully  
[2023-09-27 09:51:02] [INFO] no need to sync  
[2023-09-27 09:51:02] [INFO] server run success on 18029 with http  
2023/09/27 09:51:02 3647 :18029

系统版本是1.6.1

是不是浏览器缓存的问题, 重置一下试试

1pctl reset

没有效果,使用无痕模式新窗口也试了,同样提示并跳转登录页

操作系统是什么啊,你可以重新安装一遍 程序是基于docker的 只要文件不删除,没啥影响

你好,我这也是,在应用商店安装应用,点击参数都填完后,点击安装,直接跳转到登录界面并且提示:“当前用户无权限”

什么操作系统,看一下系统的日志

image


我看系统日志没有记录下来

说是session超时了,你更换一下用户试试 用终端 执行

是不是 waf 拦截了?