AdminAssist is a powerful tool designed to assist server administrators and support technicians in troubleshooting WordPress installations and general server-related issues. Whether you're diagnosing a misconfigured website, fixing database errors, or analyzing server logs, AdminAssist provides quick and efficient solutions to streamline your workflow.
- ✅ Best for WordPress Troubleshooting – Easily detect WordPress installations, check database connectivity, list installed themes, and fix common issues.
- ✅ AI Chatbot – Online based AI chatbot that just helps you get things done. ( Since this is online chatbot, this only works when you are connected to the internet )
- ✅ Service check - Service checking module that looks up the recent service log and advise with the help of AI.
- ✅ Automated Setup – A simple installation script sets up everything in
/opt/AdminAssist. - ✅ Modular Design – Tasks are divided into separate scripts for better organization (e.g.,
db.shfor database management,wp.shfor WordPress-related tasks). - ✅ System Integration – The installer creates a shortcut (
BK) BashKit for easy execution from anywhere. - ✅ Docker test – Implemented a Docker module to check the script by running this in a container.
Once installed, you can use AdminAssist through the BK command:
BK chat # To get the ChatBot interface
BK servce # Will check the service logs and advise with cause and resolution with AI.
BK deb # Check debug mode
BK tdeb # Toggle debug mode
BK db # Get database details
BK upgrade # Upgrade the WordPress installation
BK theme # List installed WordPress themes
BK fix_db # Fix database connectivity errors
BK nginx # View nginx error logs
BK apache # View Apache error logs
BK add_custom_rule # Assist in adding nginx custom Rule
BK ipcheck # Check if an IP is public or private
BK dockertest # Try out the installation by Docker container.
BK dockerforktest # Try out your forked changes inside a Docker container.git clone https://github.com/krishnaprasad-2001/AdminAssist.git
cd AdminAssistchmod +x install.sh
./install.shYou can also use Docker to set up AdminAssist!
There are two ways to build:
If you want AdminAssist installed automatically inside the container, build the image with the INSTALL_SCRIPT argument:
sudo docker build --build-arg INSTALL_SCRIPT=true -t myimage .This will:
- Clone AdminAssist
- Install AdminAssist automatically inside
/opt/AdminAssist
If you prefer to just clone the code and install manually later:
sudo docker build -t adminassist .Then inside the container:
cd /root/AdminAssist
chmod +x install.sh
./install.shThis gives you full control over when and how you install AdminAssist.
This will copy the contents from the current directory into the container rather than cloning from the latest repository. ( You can fork the repo and use this Dockerfile2 to test the changes made from your side as this will just use the repo on your machine )
You can run the below command to get the Docker container with the current codes
sudo docker build -t testing -f Dockerfile2 .Installation would be the same as in the previous step
cd /root/AdminAssist
chmod +x install.sh
./install.shBecause AI is everywhere — so why not in the terminal too?
This new module in AdminAssist uses a Groq-powered AI model to help you diagnose broken systemd services in plain English, complete with suggestions and potential fixes.
- Uses standard tools like
systemctlandjournalctlto collect logs - Passes those logs to an LLM via a local binary (
chat2) - The AI analyzes the logs and status, then returns:
- A short summary of the problem
- Likely cause
- Suggested commands to resolve it
Important:
Please make sure to restart or start the service first so that logs exist —
otherwise there won't be anything to analyze!
Run:
BK check servicenameIf you already have an existing installation, you'll see the message:
Existing installation found
A template of the binary’s source is provided (with the API key removed). This file is named as chat2.sh and the main service file is service.sh You're free to:
- 🔑 Add your own Groq API key
- 🧠 Modify how the AI is called or what data is sent
- 🧪 Customize behavior based on your own use cases
This keeps the tool flexible — while making sure the actual key stays secure on your end.
BK.sh– Main script handling commandsinstall.sh– Install the scriptchat– Online AI chatbotservice.sh– Module implemented to check service status with chatbot support ( Compiled binary to protect API key )configuration.conf– Stores user-defined settingsDebug.sh– Implements script debugginglog.sh– Script-specific logging functionalityNginx.sh– Check for Nginx error logsdb.sh– Manage database-related taskshelp.txt– Help documentationautoCompletion.sh– Shell auto-completionIP.sh– IP management modulesWordpress.sh– WordPress-related tasksDatabase.sh– Deep database tasksCpanel.sh– cPanel verification and modules
This module depends on systemctl and journalctl, which aren’t available inside most Docker containers by default.
If you're testing AdminAssist in a Docker environment, this feature will not function correctly.
👉 To use the AI-powered diagnosis module, run AdminAssist on a real system with systemd installed and active.
Support for container-compatible service inspection may come in the future.
We've noticed that autocompletion isn't working as expected everytime for all shells when opening a new shell. If it automatically doesn't work for new bash shells, please try sourcing the autocompletion file.
source /opt/AdminAssist/autoCompletion.sh- The completion script might not be in the correct location.
- The shell might not be loading it at startup.
- There could be an issue with how Bash is handling autocompletion.
If you have any ideas, feel free to open an issue or submit a pull request! 🚀
We welcome contributions! Fork, make changes, and submit a pull request.
💬 This project is open-source and free to use under the MIT license. Feel free to fork, improve, or use it in your own tools!
I tried to polish this project for too long, thinking it had to be “perfect” before I shared it. But perfection isn’t how we grow — collaboration is.
I’m still learning, and this project is far from complete. If it helps you, great! If you have ideas or feedback, even better.
Thanks for checking out AdminAssist — and thanks for supporting creators who are still figuring it out. 🙌