mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 00:36:08 +03:00
[GH-ISSUE #335] Misleading Docs and Error Messages #5960
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#5960
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 @anonhostpi on GitHub (Mar 24, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/335
Originally assigned to: @Hintay on GitHub.
Describe the bug
This line of the install script appears to be misleading:
github.com/0xJacky/nginx-ui@aeed27a2fa/install.sh (L172)as it conflicts with this statement of the readme:
github.com/0xJacky/nginx-ui@aeed27a2fa/README.md (L149)To Reproduce
Attempt to use install.sh on OpenWRT
Expected behavior
Inform the user that OpenWRT is supported, but must be extracted or built manually.
Screenshots
If applicable, add screenshots to help explain your problem.
Info (please complete the following information):
Additional context
OpenWRT does not include systemd
@anonhostpi commented on GitHub (Mar 24, 2024):
Also I made a tutorial on how to get this to work on OpenWRT: https://www.reddit.com/r/linux/comments/1bmcsz0/howto_nginxui_on_openwrt_without_building/
@Hintay commented on GitHub (Mar 24, 2024):
Thank you for your tutorial. I'd like to inform you that you can directly download the pre-build executable binary for your architecture from the release page.
The current installation script does not support Linux distributions without
systemd. I understand the inconvenience this may cause, and I assure you that I am working on updating the script to support OpenWRT in the next version.@anonhostpi commented on GitHub (Mar 25, 2024):
The issue is more of a lack of specificity. The install script makes it look like nginx-ui isn't supported at all, instead of just not being supported by the installer.
@anonhostpi commented on GitHub (Mar 25, 2024):
If you were curious about the technicals, OpenWRT uses init scripts instead of systemd service files
The services defined in /etc/init.d/ are literally shell scripts that use rc.common to bootstrap them and make them behave like services
The service command functions as an alias/wrapper for
/etc/init.d/<service> <command>(service <service> <command>)@Hintay commented on GitHub (Nov 5, 2024):
We've updated the install script to clarify the error message. We’re also considering compiling Nginx UI into an ipk package for OpenWRT.
@1102731636 commented on GitHub (Feb 28, 2025):
[\e]0;\u@\h: \w\a]\u@\h:\w$ bash -c "$(curl -L ${GH_PROXY}https://ghfast.top/raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14113 100 14113 0 0 12450 0 0:00:01 0:00:01 --:--:-- 12489
error: Only Linux distributions using systemd are supported by this script.
error: Please download the pre-built binary from the release page or build it manually.
@anonhostpi commented on GitHub (Mar 8, 2025):
FYI, this effort may possibly not be required as OpenWRT is allegedly moving to Alpine's APK: https://linuxiac.com/openwrt-adopts-apk-as-new-package-manager/
@NicholasFlamy commented on GitHub (Dec 19, 2025):
They opened the new branch. Now is the time to get the package into the next release @0xJacky.