[GH-ISSUE #2378] Error when installing on a clean OS #1642

Closed
opened 2026-10-31 20:20:10 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Daniel-RUS on GitHub (Jun 8, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2378

Welcome

  • Yes, I'm using the latest major release. Only such installations are supported.
  • Yes, I'm using the supported system. Only such systems are supported.
  • Yes, I have read all WIKI document,nothing can help me in my problem.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

Hello. I set up 3x-ui on the literally clean operating room, which I previously updated. However, an error arises.
Gle is the configuration file I do not know (.

● x-ui.service - x-ui Service Loaded: loaded (/etc/systemd/system/x-ui.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sat 2024-06-08 21:13:01 UTC; 2s ago Process: 5649 ExecStart=/usr/local/x-ui/x-ui (code=exited, status=2) Main PID: 5649 (code=exited, status=2)

Jun 08 21:08:02 primedatahub.gullo.me x-ui[5344]: 2024/06/08 21:08:02 x-ui 2.3.5 Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: panic: URL parameters can not be used when serving a static folder Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: goroutine 1 [running]: Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: github.com/gin-gonic/gin.(*RouterGroup).StaticFS(0xc0007fc1a0, {0xc000f15848, 0x1f}, {0x2986960, 0xc000e40410}) Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/routergroup.go:205 +0x20c Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: x-ui/web.(*Server).initRouter(0xc0009ea420) Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/work/3x-ui/3x-ui/web/web.go:223 +0x948 Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: x-ui/web.(*Server).Start(0xc0009ea420) Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/work/3x-ui/3x-ui/web/web.go:313 +0x1c5 Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: main.runWebServer() Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/work/3x-ui/3x-ui/main.go:50 +0x35b Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: main.main() Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/work/3x-ui/3x-ui/main.go:328 +0xb73 Jun 08 21:08:03 primedatahub.gullo.me systemd[1]: x-ui.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jun 08 21:08:03 primedatahub.gullo.me systemd[1]: x-ui.service: Failed with result 'exit-code'. Jun 08 21:08:08 primedatahub.gullo.me systemd[1]: x-ui.service: Scheduled restart job, restart counter is at 78. Jun 08 21:08:08 primedatahub.gullo.me systemd[1]: Stopped x-ui Service. Jun 08 21:08:10 primedatahub.gullo.me systemd[1]: Started x-ui Service.

Version of 3x-ui

# Paste here

x-ui log reports or xray log

# paste log here
Originally created by @Daniel-RUS on GitHub (Jun 8, 2024). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2378 ### Welcome - [X] Yes, I'm using the latest major release. Only such installations are supported. - [X] Yes, I'm using the supported system. Only such systems are supported. - [X] Yes, I have read all WIKI document,nothing can help me in my problem. - [X] Yes, I've searched similar issues on GitHub and didn't find any. - [X] Yes, I've included all information below (version, config, log, etc). ### Description of the problem,screencshot would be good Hello. I set up 3x-ui on the literally clean operating room, which I previously updated. However, an error arises. Gle is the configuration file I do not know (. `● x-ui.service - x-ui Service Loaded: loaded (/etc/systemd/system/x-ui.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sat 2024-06-08 21:13:01 UTC; 2s ago Process: 5649 ExecStart=/usr/local/x-ui/x-ui (code=exited, status=2) Main PID: 5649 (code=exited, status=2)` `Jun 08 21:08:02 primedatahub.gullo.me x-ui[5344]: 2024/06/08 21:08:02 x-ui 2.3.5 Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: panic: URL parameters can not be used when serving a static folder Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: goroutine 1 [running]: Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: github.com/gin-gonic/gin.(*RouterGroup).StaticFS(0xc0007fc1a0, {0xc000f15848, 0x1f}, {0x2986960, 0xc000e40410}) Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/routergroup.go:205 +0x20c Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: x-ui/web.(*Server).initRouter(0xc0009ea420) Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/work/3x-ui/3x-ui/web/web.go:223 +0x948 Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: x-ui/web.(*Server).Start(0xc0009ea420) Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/work/3x-ui/3x-ui/web/web.go:313 +0x1c5 Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: main.runWebServer() Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/work/3x-ui/3x-ui/main.go:50 +0x35b Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: main.main() Jun 08 21:08:03 primedatahub.gullo.me x-ui[5344]: /home/runner/work/3x-ui/3x-ui/main.go:328 +0xb73 Jun 08 21:08:03 primedatahub.gullo.me systemd[1]: x-ui.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jun 08 21:08:03 primedatahub.gullo.me systemd[1]: x-ui.service: Failed with result 'exit-code'. Jun 08 21:08:08 primedatahub.gullo.me systemd[1]: x-ui.service: Scheduled restart job, restart counter is at 78. Jun 08 21:08:08 primedatahub.gullo.me systemd[1]: Stopped x-ui Service. Jun 08 21:08:10 primedatahub.gullo.me systemd[1]: Started x-ui Service.` ### Version of 3x-ui <details> ```console # Paste here ``` </details> ### x-ui log reports or xray log <details> ```console # paste log here ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#1642
No description provided.