imbra - How to Fix Python Application Not Starting in iPanel

Troubleshoot a Python application that fails to start or crashes on your imbra hosting.

Steps

  1. In iPanel, navigate to your website management page and click the Log Viewer tab.

    [screenshot: log viewer tab]

  2. Check the Output Log and App Error Log tabs for error messages.

    [screenshot: output and error logs]

  3. Common issues: missing dependencies — install them from the Python tab or upload a requirements.txt.

    [screenshot: installing Python dependencies]

  4. Check that the correct Python version is selected in the website settings.

    [screenshot: checking Python version]

  5. Verify your WSGI entry point or application file is correctly configured.

    [screenshot: checking WSGI configuration]

  6. Check for syntax errors in your Python code by reviewing the error log messages.

    [screenshot: checking for syntax errors]

  7. Try restarting the application from the website management page.

    [screenshot: restarting application]

Tip: Use a virtual environment and freeze your dependencies with pip freeze > requirements.txt to ensure consistent deployments.

Related Articles