[GH-ISSUE #785] X-ui Service Won't Run in New Docker v1.7.1 #514

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

Originally created by @AliBelali on GitHub (Jul 19, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/785

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

Hi
x-ui service won't exec after running new docker v1.7.1 ; It seems DockerEntry.sh should run it but it won't. DockerEntry.sh just runs fail2ban and not the x-ui.
Please if possible add x-ui command to docker. old versions does not support x-ui command in docker shell.
thanks

Version of 3x-ui

# Paste here

x-ui log reports or xray log

# paste log here
Originally created by @AliBelali on GitHub (Jul 19, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/785 ### 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. - [ ] 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 Hi x-ui service won't exec after running new docker v1.7.1 ; It seems DockerEntry.sh should run it but it won't. DockerEntry.sh just runs fail2ban and not the x-ui. Please if possible add x-ui command to docker. old versions does not support x-ui command in docker shell. thanks ### Version of 3x-ui <details> ```console # Paste here ``` </details> ### x-ui log reports or xray log <details> ```console # paste log here ``` </details>
Author
Owner

@MHSanaei commented on GitHub (Jul 19, 2023):

@hamid-gh98

<!-- gh-comment-id:1642376930 --> @MHSanaei commented on GitHub (Jul 19, 2023): @hamid-gh98
Author
Owner

@cetygamer commented on GitHub (Jul 20, 2023):

Hi.

I faced the same issue and managed to fix it by editing DockerEntrypoint.sh and re-building docker image from source.

I changed this line:

fail2ban-client -x -f start

to this (& at the end):

fail2ban-client -x -f start &
<!-- gh-comment-id:1644326541 --> @cetygamer commented on GitHub (Jul 20, 2023): Hi. I faced the same issue and managed to fix it by editing DockerEntrypoint.sh and re-building docker image from source. I changed this line: ```bash fail2ban-client -x -f start ``` to this (& at the end): ```bash fail2ban-client -x -f start & ```
Author
Owner

@hamid-gh98 commented on GitHub (Jul 20, 2023):

Hi.

I faced the same issue and managed to fix it by editing DockerEntrypoint.sh and re-building docker image from source.

I changed this line:

fail2ban-client -x -f start

to this (& at the end):

fail2ban-client -x -f start &

Hello,
actually i forget to remove the -f arg it was starting in forground
with this commit, it now starts in background

<!-- gh-comment-id:1644386516 --> @hamid-gh98 commented on GitHub (Jul 20, 2023): > Hi. > > I faced the same issue and managed to fix it by editing DockerEntrypoint.sh and re-building docker image from source. > > I changed this line: > > ```shell > fail2ban-client -x -f start > ``` > > to this (& at the end): > > ```shell > fail2ban-client -x -f start & > ``` Hello, actually i forget to remove the -f arg it was starting in forground with [this commit](https://github.com/MHSanaei/3x-ui/commit/e63d2644bda11e498dc909c7c144fdf458cf8eb1), it now starts in background
Author
Owner

@hamid-gh98 commented on GitHub (Jul 20, 2023):

Please build the docker manually and test it now.
@AliBelali @cetygamer

<!-- gh-comment-id:1644387792 --> @hamid-gh98 commented on GitHub (Jul 20, 2023): Please build the docker manually and test it now. @AliBelali @cetygamer
Author
Owner

@cetygamer commented on GitHub (Jul 20, 2023):

@hamid-gh98, I quickly verified commit github.com/MHSanaei/3x-ui@2f05d4960e, seems OK.

<!-- gh-comment-id:1644438562 --> @cetygamer commented on GitHub (Jul 20, 2023): @hamid-gh98, I quickly verified commit https://github.com/MHSanaei/3x-ui/commit/2f05d4960e851556e13e157c4231a71410f8190b, seems OK.
Author
Owner

@AliBelali commented on GitHub (Jul 21, 2023):

@hamid-gh98 Thanks a lot, after new commit it works fine.

<!-- gh-comment-id:1646151113 --> @AliBelali commented on GitHub (Jul 21, 2023): @hamid-gh98 Thanks a lot, after new commit it works fine.
Author
Owner

@hamid-gh98 commented on GitHub (Jul 22, 2023):

@MHSanaei do you mind rebuild the docker for version v1.7.1?

<!-- gh-comment-id:1646541976 --> @hamid-gh98 commented on GitHub (Jul 22, 2023): @MHSanaei do you mind rebuild the docker for version v1.7.1?
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#514
No description provided.