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

Unable to run healthcheck due to "Symfony\Component\Process\Exception\RuntimeException] Unable to launch a new process." #531

Closed
bulava92 opened this issue Jan 20, 2025 · 3 comments
Assignees
Labels

Comments

@bulava92
Copy link

Hello
I get an error in the web interface The health check API endpoint has been disabled in the server configuration.
Here's the conclusion healthcheck:

markkats@aciszlyssn:~$ sudo -H -u www-data bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck"

     ____                  __          ____  
    / __ \____  _____ ____/ /_  ____  / / /_ 
   / /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/ 
  / ____/ /_/ (__  |__  ) /_/ / /_/ / / /    
 /_/    \__,_/____/____/_.___/\____/_/\__/   

 Open source password manager for teams
-------------------------------------------------------------------------------
 Healthcheck shell.2025-01-20 18:29:40 error: [Symfony\Component\Process\Exception\RuntimeException] Unable to launch a new process. in /usr/share/php/passbolt/vendor/symfony/process/Process.php on line 356
<!DOCTYPE html>
<html class="passbolt no-js no-passboltplugin version" lang="en">
<head>
    <meta charset="utf-8">
    <title>Passbolt | Error</title>
    <!--

        ____                  __          ____
       / __ \____  _____ ____/ /_  ____  / / /_
      / /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
     / ____/ /_/ (__  )__  ) /_/ / /_/ / / /_
    /_/    \__,_/____/____/_.___/\____/_/\__/

    Open source password manager for teams
    Copyright (c) Passbolt SA (https://www.passbolt.com)


    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program. If not, see http://www.gnu.org/licenses/.


    -->
    <meta name="description" content="Open source password manager for teams">
    <meta name="keywords" content="Passbolt, password manager, online password manager, open source password manager">
    <meta name="robots" content="noindex, nofollow">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" type="image/x-icon" href="https://acs.xyz.su/favicon.ico" />
    <link rel="icon" href="https://acs.xyz.su/favicon_32.png" sizes="32x32" />
    <link rel="icon" href="https://acs.xyz.su/favicon_57.png" sizes="57x57" />
    <link rel="icon" href="https://acs.xyz.su/favicon_76.png" sizes="76x76" />
    <link rel="icon" href="https://acs.xyz.su/favicon_96.png" sizes="96x96" />
    <link rel="icon" href="https://acs.xyz.su/favicon_128.png" sizes="128x128" />
    <link rel="icon" href="https://acs.xyz.su/favicon_192.png" sizes="192x192" />
    <link rel="icon" href="https://acs.xyz.su/favicon_228.png" sizes="228x228" />
    <base href="https://acs.xyz.su/">
    <link rel="stylesheet" href="https://acs.xyz.su/css/themes/default/api_main.min.css?v=4.10.1"></head>
<body spellcheck="false">
<div id="container" class="error page error-500">
<!-- header navigation -->
<header>
    <div class="header first ">
        <nav>
            <div class="top navigation primary">
                <ul>
                    <li class="left"><a href="https://acs.xyz.su/"><span>home</span></a></li>
                    <li class="right"><a href="https://acs.xyz.su/auth/login"><span>login</span></a></li>
                </ul>
            </div>
        </nav>
    </div>
</header>
<div id="content">
<div class="grid">
    <div class="row">
        <h2>An Internal Error Has Occurred</h2>
        <p class="error">
            An Internal Error Has Occurred.        </p>
    </div>
    </div>
</div>
</div>
<footer>
    <div class="footer">
        <ul class="footer-links">
            <li><a href="https://www.passbolt.com/terms">Terms</a></li>
            <li><a href="https://www.passbolt.com/credits">Credits</a></li>
            <li id="version">
                <a href="https://www.passbolt.com/credits" class="tooltip-left" data-tooltip="4.10.1">
                    <i class="fa fa-heart-o"></I>
                    <span class="visuallyhidden">Versions</span>
                </a>
            </li>
        </ul>
    </div>
</footer>
</div>
</body>
</html>

Version:

markkats@aciszlyssn:~$ sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt version" www-data

     ____                  __          ____  
    / __ \____  _____ ____/ /_  ____  / / /_ 
   / /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/ 
  / ____/ /_/ (__  |__  ) /_/ / /_/ / / /    
 /_/    \__,_/____/____/_.___/\____/_/\__/   

 Open source password manager for teams
-------------------------------------------------------------------------------
Passbolt CE 4.10.1
Cakephp 4.5.7

Installation on Ubuntu 24. Can you tell me what might be the matter? The system was reinstalled from scratch several times, but the error persists.

@stripthis
Copy link
Member

Hello, I think your hosting provider doesn't allow calling shells and it's making some process from healthcheck fails. We'll see it to it that it fails gracefully in v4.11.

@stripthis stripthis added the bug label Jan 21, 2025
@stripthis stripthis changed the title Passbolt API Status Unable to run healthcheck due to "Symfony\Component\Process\Exception\RuntimeException] Unable to launch a new process." Jan 21, 2025
@ishanvyas22
Copy link
Member

This issue (PB-37096 for internal reference) has been fixed and will be released with v4.11.0.

@ishanvyas22 ishanvyas22 self-assigned this Jan 21, 2025
@ishanvyas22
Copy link
Member

Hey @bulava92, this issue has been released with v4.11.0. Feel free to check & let us know if issue persist. Thank you for you patience.

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

No branches or pull requests

3 participants