Skip to content
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

Minds install error #184

Open
MohammedSalehAk opened this issue Jul 2, 2024 · 0 comments
Open

Minds install error #184

MohammedSalehAk opened this issue Jul 2, 2024 · 0 comments

Comments

@MohammedSalehAk
Copy link

I hope this message finds you well. I'm writing to inform you about the challenges I encountered while attempting to install Minds on my Debian 12 server. Here's a detailed account of the process and the issues faced:

Setup Process:

Installed necessary components: git, Docker, Node.js with npm and npx, and Docker Compose.
Initial Installation Attempt:

Ran the command mind install. Initially, I tried without the front-end (minds install --no-front), but encountered the same error.
Docker-Compose File Issue:

Discovered an issue in the docker-compose.yml file where the path to Dockerfile for sockets was incorrect (./containers/sockets/Dockerfile instead of ./Dockerfile).
Permission Adjustment:

Adjusted permissions for the MySQL provisioner to enable read and write access, which resolved that issue.
Current Error:

During the Minds installation process, encountered a fatal error:
minds install
✔ This will WIPE: [front build, local stack], if exists. Proceed? … No / Yes

✔ Stopping containers
✔ Cleaning up front
✔ Setting up front
✔ Cleaning up stack
✔ Provisioning ElasticSearch
✔ Provisioning MySQL
✔ Start Cassandra
✖ Installing Minds
→ thrown in /var/www/Minds/engine/Controllers/Cli/Install.php on line 44
Restarting containers
cli.js install

Installs and provisions the compose stack

Options:
--version Show version number [boolean]
--verbose Verbose output [boolean]
--silent Silent output [boolean]
--help Show help [boolean]
--front [default: true]
--stack [default: true]

Error: Command failed with exit code 255: docker-compose -f docker-compose.yml -f docker-compose.with-phpspec.yml run installer
time="2024-07-02T06:34:46-04:00" level=warning msg="/var/www/Minds/docker-compose.yml: version is obsolete"
time="2024-07-02T06:34:46-04:00" level=warning msg="/var/www/Minds/docker-compose.with-phpspec.yml: version is obsolete"
Container minds-cassandra-1 Running
Composer could not detect the root package (minds/minds) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package facebook/graph-sdk is abandoned, you should avoid using it. No replacement was suggested.
... (list of abandoned packages) ...
Generating autoload files
79 packages you are using are looking for funding.
Use the composer fund command to find out more!
[02-Jul-2024 10:35:14 UTC] PHP Warning: Trying to access array offset on value of type null in /var/www/Minds/engine/Core/Data/Call.php on line 44
[02-Jul-2024 10:35:14 UTC] PHP Warning: Trying to access array offset on value of type null in /var/www/Minds/engine/Core/Data/Call.php on line 45
[02-Jul-2024 10:35:14 UTC] PHP Warning: Undefined array key "scheme" in /var/www/Minds/engine/Core/Provisioner/Installer.php on line 198
[02-Jul-2024 10:35:14 UTC] PHP Warning: Undefined array key "email" in /var/www/Minds/engine/Core/Provisioner/Installer.php on line 206
[02-Jul-2024 10:35:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Minds\Core\Minds::loadConfigs() in /var/www/Minds/engine/Controllers/Cli/Install.php:44

I would appreciate any guidance or assistance you can provide to resolve these issues and successfully complete the installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant