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

Xray 3.111.9 Fails to Start After Installation #436

Open
megha1906 opened this issue Feb 5, 2025 · 1 comment
Open

Xray 3.111.9 Fails to Start After Installation #436

megha1906 opened this issue Feb 5, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@megha1906
Copy link
Collaborator

megha1906 commented Feb 5, 2025

Issue
While installing Xray version 3.111.9, there is a known issue that may prevent Xray from starting successfully. If you encounter this issue, you may see the following stack trace in the logs:

TASK [xray : Restart xray] ***********************************************************************************************************************************************
task path: /Users/ubuntu/platform/platform/products/ansible/ansible_collections/jfrog/platform/roles/xray/tasks/install.yml:181
NOTIFIED HANDLER xray : Restart xray for xray-1
META: triggered running handlers for xray-1

RUNNING HANDLER [xray : Restart xray] ************************************************************************************************************************************
task path: /Users/ubuntu/platform/platform/products/ansible/ansible_collections/jfrog/platform/roles/xray/handlers/main.yml:3
fatal: [xray-1]: FAILED! => {
    "changed": false
}

MSG:

Unable to start service xray: Job for xray.service failed because the control process exited with error code.
See "systemctl status xray.service" and "journalctl -xeu xray.service" for details.


PLAY RECAP ***************************************************************************************************************************************************************
artifactory-1              : ok=39   changed=22   unreachable=0    failed=0    skipped=9    rescued=0    ignored=0
postgres-1                 : ok=23   changed=12   unreachable=0    failed=0    skipped=0    rescued=0    ignored=1
xray-1                     : ok=37   changed=16   unreachable=0    failed=1    skipped=19   rescued=0    ignored=0

Solution
To resolve this issue, please follow these steps:

  1. Navigate to /opt/jfrog/xray/var/etc and create a new file named installerState.yaml with the following content:

installation_method: all

  1. Re-run the Ansible playbook to complete the installation.
@megha1906
Copy link
Collaborator Author

megha1906 commented Feb 5, 2025

We at JFrog are actively working on a fix for this issue. Meanwhile, you can apply the above workaround to resolve it.

@megha1906 megha1906 added the bug Something isn't working label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant