-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Installer dies silently on openSUSE #4947
Comments
openSUSE MicroOS 20220921 is not an supported OS. We check if the used OS is supported pi-hole/automated install/basic-install.sh Line 176 in d88629e
However, this check depends on You've got a point that the installer should not fail silently, but this will only happen in really un-supported OS. https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems |
I know. None of the openSUSE flavours is currently supported (I just checked Tumbleweed, same error) - time to change this ;-)
grep is installed, and bind-utils are available (but not installed by default. as said, a minimalistic system)
Yes...let me know if you need additional information |
Pull requests and contributions are always welcomed. However, I don't think one of us will add a workaround for an unsupported OS that will stay unsupported even after the change (which does not mean we wouldn't accept the change). At a first glance it looks simple: just add a check for the existence of |
Of course, if one really wants to install on an unsupported OS... |
@PromoFaux - sure, that is an option (which I consider in the next run ;-) I have adapted the installation script so that it installs and runs on Tumbleweed (patch will follow)
|
Hopefully soon: #4924
There is no. During installation it generates an initial password and presents this to the user. You can change it anytime with |
The 'presentation' part is somehow missing. Where is that in the script? |
pi-hole/automated install/basic-install.sh Lines 2706 to 2713 in d88629e
|
pi-hole/automated install/basic-install.sh Lines 2705 to 2712 in d88629e
pi-hole/automated install/basic-install.sh Lines 1972 to 1998 in d88629e
The second should also present it in a dialog. |
Well, it generates a password, but it does not reach the point where this message is displayed. I guess the reason is that no service for pihole-FTL exists, as this is the last entry in the log (installscript ran with set -x) |
I think you are right with your analysis. We could improve the installer to exit with a message in case it fails here: pi-hole/automated install/basic-install.sh Lines 1491 to 1501 in d88629e
|
pihole_opensuse.diff.txt |
Thanks for that patch. Do you feel comfortable enough to open a pull request? Maybe after the |
Well, I'm not really familar with github, but I will try....just let me know when it is time to move on! |
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days. |
I have seen that the systemd service seems to be implemented. I will look at the installation script next days.... |
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days. |
#5001 is still pending |
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days. |
Versions
Platform
Expected behavior
The installation script tells the user what the issue is, resp. asks for input like package manager to use etc
Actual behavior / bug
The installation script determines that the underlying system uses RPM as package manager, however, it searches for some redhat files (see debug output) which it does not find and just finished. No output to the user
Steps to reproduce
According to https://docs.pi-hole.net/main/basic-install/ use alternative 2
No further steps required
Debug Token
see output of installation script (executed with set -x)
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
install.log
The text was updated successfully, but these errors were encountered: