OpenEFA - unable to install on Ubuntu

General OpenEFA discussion and community chat
mendark
Posts: 4
Joined: Tue Oct 14, 2025 8:27 am

OpenEFA - unable to install on Ubuntu

Post by mendark »

Hello,
I try to install OpenEFA on ubuntu 24.04 but every time i get this error:
[2025-10-20 07:00:57] [INFO] Validating OpenEFA services...
[2025-10-20 07:00:57] [ERROR] spacy-db-processor: NOT RUNNING
[2025-10-20 07:00:57] [ERROR] spacyweb: NOT RUNNING
[2025-10-20 07:00:57] [SUCCESS] spacy-release-api: Running
[2025-10-20 07:00:57] [SUCCESS] spacy-whitelist-api: Running
[2025-10-20 07:00:57] [SUCCESS] spacy-block-api: Running
[2025-10-20 07:00:57] [ERROR] Failed services: spacy-db-processor spacyweb
[2025-10-20 07:00:57] [INFO] Validating Python environment...
[2025-10-20 07:00:57] [SUCCESS] Python: Python 3.12.3
[2025-10-20 07:00:57] [INFO] Validating email filter script...
[2025-10-20 07:00:57] [SUCCESS] Email filter: Installed and executable
[2025-10-20 07:00:57] [INFO] Validating file permissions...
[2025-10-20 07:00:58] [DEBUG] /opt/spacyserver: spacy-filter:spacy-filter (OK)
[2025-10-20 07:00:58] [DEBUG] /opt/spacyserver/config: spacy-filter:spacy-filter (OK)
[2025-10-20 07:00:58] [DEBUG] /opt/spacyserver/logs: spacy-filter:spacy-filter (OK)
[2025-10-20 07:00:58] [SUCCESS] Permissions validated
[2025-10-20 07:00:58] [INFO] Validating SpacyWeb accessibility...
[2025-10-20 07:01:01] [WARN] SpacyWeb: May not be accessible yet (check firewall/SSL)
[2025-10-20 07:01:01] [INFO] Validating API endpoints...
[2025-10-20 07:01:01] [SUCCESS] API port 5001: Listening
[2025-10-20 07:01:01] [SUCCESS] API port 5002: Listening
[2025-10-20 07:01:01] [SUCCESS] API port 5003: Listening
[2025-10-20 07:01:12] [INFO] Skipping email test
[2025-10-20 07:01:12] [ERROR] 1 critical validation(s) failed
[2025-10-20 07:01:12] [ERROR] Step 6/6 failed: Validating installation
[2025-10-20 07:01:12] [ERROR] Installation failed!
[2025-10-20 07:01:16] [WARN] System left in partially installed state
[2025-10-20 07:01:16] [WARN] Review log: /var/log/openefa_install.log
[2025-10-20 07:01:16] [WARN] You can manually run rollback with: /tmp/openefa-installer-1760943371/installer/lib/rollback.sh
[2025-10-20 07:01:16] [ERROR] Installation interrupted

Can you have any resolution for this problem?

Thank you
Carl Brunning
Posts: 27
Joined: Wed Oct 08, 2025 8:53 am
Been thanked: 3 times

Re: OpenEFA - unable to install on Ubuntu

Post by Carl Brunning »

was this using ubuntu min install or full ubuntu
adrastosefa
Site Admin
Posts: 50
Joined: Wed Oct 08, 2025 5:14 am
Location: Las Vegas
Has thanked: 4 times
Been thanked: 5 times
Contact:

Re: OpenEFA - unable to install on Ubuntu

Post by adrastosefa »

Run the latest install. I was getting that earlier as well and believe it is fixed now. As well, the update contains a lot of fixes and some very important security fixes. We have spent hours going through a code security review and were able to fix all that we had. Let me know if you have any more issues. Here to help.

curl -sSL http://install.openefa.com/install.sh | sudo bash
or
curl -sSL http://install.openefa.com/update.sh | sudo bash

The installer is a smart installer and will know if you need to upgrade or if you are doing a clean install.

Let me know how it goes. sb
mendark
Posts: 4
Joined: Tue Oct 14, 2025 8:27 am

Re: OpenEFA - unable to install on Ubuntu

Post by mendark »

Hello,
I try to install again,on Ubuntu Mininal, but also i get this error:
[INFO] Validating OpenEFA services...
✓ spacy-db-processor: Running
[ERROR] spacyweb: NOT RUNNING
✓ spacy-release-api: Running
✓ spacy-whitelist-api: Running
✓ spacy-block-api: Running
[ERROR] Failed services: spacyweb

I also put an screenshot to see error.
In /opt/spacyserver/logs/spacyweb.log i get this error:
2025-10-21 11:47:36,682 - __main__ - INFO - Testing database connection...
2025-10-21 11:47:36,685 - __main__ - ERROR - Failed to connect to database on startup

Thank you
Attachments
eroare_openefa.jpg
eroare_openefa.jpg (196.55 KiB) Viewed 29414 times
Last edited by mendark on Tue Oct 21, 2025 11:51 am, edited 1 time in total.
Carl Brunning
Posts: 27
Joined: Wed Oct 08, 2025 8:53 am
Been thanked: 3 times

Re: OpenEFA - unable to install on Ubuntu

Post by Carl Brunning »

try the clean install again
as it should be fixed
i have test just now and is working for me.
mendark
Posts: 4
Joined: Tue Oct 14, 2025 8:27 am

Re: OpenEFA - unable to install on Ubuntu

Post by mendark »

Hello,
I try again, i install Ubuntu server 24.04 minimized but without success.
Ubuntu is installed on vmware esxi with all update, without firewall, but i don't know why spicyweb service not start.
And, when i see MariaDB log, i see error that spapy user unable to connect.

Thank you
Carl Brunning
Posts: 27
Joined: Wed Oct 08, 2025 8:53 am
Been thanked: 3 times

Re: OpenEFA - unable to install on Ubuntu

Post by Carl Brunning »

when you install did you give the database user a password or left it blank

need to know so i can check
but i would not leave it blank
mendark
Posts: 4
Joined: Tue Oct 14, 2025 8:27 am

Re: OpenEFA - unable to install on Ubuntu

Post by mendark »

Hello,
I put user and password, i don't leave blank.
I will try again to install, and see if i miss something at password level

Thank you
Carl Brunning
Posts: 27
Joined: Wed Oct 08, 2025 8:53 am
Been thanked: 3 times

Re: OpenEFA - unable to install on Ubuntu

Post by Carl Brunning »

i did leave the user as default name and just add password on the DB part
sorry can not help much more as i install 4 time right now looking for diffrent bug
mendark
Posts: 4
Joined: Tue Oct 14, 2025 8:27 am

Re: OpenEFA - unable to install on Ubuntu

Post by mendark »

Hello,
After i reinstall OpenEFA with default username and database, everything work.
Thank you for your support and sugention
Post Reply