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

[Bug] Recycle bin service exception #7632

Open
HenryXiaoYang opened this issue Jan 3, 2025 · 1 comment
Open

[Bug] Recycle bin service exception #7632

HenryXiaoYang opened this issue Jan 3, 2025 · 1 comment
Assignees

Comments

@HenryXiaoYang
Copy link

Contact Information

[email protected]

1Panel Version

v1.10.22-lts

Problem Description

文件中点击回收站按钮,跳出错误服务异常
Screenshot 2025-01-03 at 3 51 35 PM

Steps to Reproduce

打开文件页面,点击回收站

The expected correct result

打开回收站页面

Related log output

�[31m2025/01/03 15:45:05 [Recovery] 2025/01/03 - 15:45:05 panic recovered:
POST /api/v1/files/recycle/search HTTP/1.1
Host: xxx.xxx.xx.xxx:xxxxx
Accept: application/json, text/plain, */*
Accept-Encoding: gzip, deflate
Accept-Language: zh
Content-Length: 24
Content-Type: application/json
Cookie: psession=xxxxxxx; SecurityEntrance=xxxxx
Origin: http://xxx.xxx.xx.xxx:xxxxx
Referer: http://xxx.xxx.xx.xxx:xxxxx/hosts/files
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36


runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:262 (0x477218)
runtime/signal_unix.go:917 (0x4771e8)
github.com/1Panel-dev/1Panel/backend/app/service/recycle_bin.go:57 (0x247865d)
github.com/1Panel-dev/1Panel/backend/app/api/v1/recycle_bin.go:24 (0x25f2788)
github.com/gin-gonic/[email protected]/context.go:174 (0xcb1e8a)
github.com/1Panel-dev/1Panel/backend/middleware/password_expired.go:24 (0x2611089)
github.com/gin-gonic/[email protected]/context.go:174 (0xcb1e8a)
github.com/1Panel-dev/1Panel/backend/middleware/session.go:62 (0x2610c1a)
github.com/gin-gonic/[email protected]/context.go:174 (0xcb1e8a)
github.com/1Panel-dev/1Panel/backend/middleware/jwt.go:15 (0x26107a8)
github.com/gin-gonic/[email protected]/context.go:174 (0xcb1e8a)
github.com/1Panel-dev/1Panel/backend/middleware/loading.go:22 (0x2653e44)
github.com/gin-gonic/[email protected]/context.go:174 (0xcb1e8a)
github.com/1Panel-dev/1Panel/backend/middleware/bind_domain.go:21 (0x2653b9a)
github.com/gin-gonic/[email protected]/context.go:174 (0xcb1e8a)
github.com/1Panel-dev/1Panel/backend/middleware/ip_limit.go:24 (0x26537d5)
github.com/gin-gonic/[email protected]/context.go:174 (0xcb1e8a)
github.com/1Panel-dev/1Panel/backend/middleware/operation.go:26 (0x2651d30)
github.com/gin-gonic/[email protected]/context.go:174 (0xcbebce)
github.com/gin-gonic/[email protected]/recovery.go:102 (0xcbebbb)
github.com/gin-gonic/[email protected]/context.go:174 (0xcbdd1c)
github.com/gin-gonic/[email protected]/logger.go:240 (0xcbdd03)
github.com/gin-gonic/[email protected]/context.go:174 (0xcbd20d)
github.com/gin-gonic/[email protected]/gin.go:620 (0xcbcea4)
github.com/gin-gonic/[email protected]/gin.go:576 (0xcbc9f1)
net/http/server.go:3210 (0x8e7f2d)
net/http/server.go:2092 (0x8c744f)
runtime/asm_amd64.s:1700 (0x47d660)
�[0m

Additional Information

No response

@wanghe-fit2cloud wanghe-fit2cloud changed the title [Bug] 回收站服务异常 [Bug] Recycle bin service exception Jan 3, 2025
@zhengkunwang223
Copy link
Member

image
麻烦加一下我企业微信 我远程看一下

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

No branches or pull requests

3 participants