You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Which installer:
Ansible
Which product and version (eg: ansible & collection version - 7.24.2):
Ansible core 2.12.10
JFrog Platform 10.17.0 release
Which operating system and version(eg: ubuntu & version - 20.4):
RHEL8
Which product license (Enterprise/Pro):
Enterprise
JFrog support reference (if already raised with support team):
What happened:
In the update from 7.71.11 to 7.77.3 the playbook runs a task Copy new app to artifactory app.
Later it tries a task Install Service which fails.
TASK [jfrog.platform.artifactory : Create artifactory service] *****************
task path: /root/.ansible/collections/ansible_collections/jfrog/platform/roles/artifactory/shared/install_service.yml:2
fatal: [artifactory]: FAILED! => {"changed": true, "cmd": ["/opt/jfrog/artifactory/app/bin/installService.sh"], "delta": "0:00:20.293135", "end": "2024-01-24 15:57:44.961119", "msg": "non-zero return code", "rc": 1, "start": "2024-01-24 15:57:24.667984", "stderr": "chown: cannot dereference '/opt/jfrog/artifactory/app/frontend/bin/server/dist/node_modules/@contrast/fn-inspect/build/node_gyp_bins/python3': No such file or directory", "stderr_lines": ["chown: cannot dereference '/opt/jfrog/artifactory/app/frontend/bin/server/dist/node_modules/@contrast/fn-inspect/build/node_gyp_bins/python3': No such file or directory"], "stdout": "\nInstalling artifactory as a Unix service that will run as user artifactory and group artifactory\nInstalling artifactory with home /opt/jfrog/artifactory/app\nCreating Group artifactory...already exists... DONE\nCreating user artifactory...already exists... DONE\nModifying environment file /opt/jfrog/artifactory/app/bin/artifactory.default... DONE\n\u001b[33m** INFO: Please create/edit system.yaml file in /opt/jfrog/artifactory/var/etc to set the correct environment\u001b[0m\n\u001b[33m Templates with information can be found in the same directory\u001b[0m\nStopping the artifactory service...\nInitializing artifactory.service service with systemctl... DONE\nRemoving old custom drivers : /opt/jfrog/artifactory/app/artifactory/tomcat/lib/jf_README.md\nCopying /opt/jfrog/artifactory/var/bootstrap/artifactory/tomcat/lib/README.md to /opt/jfrog/artifactory/app/artifactory/tomcat/lib/jf_README.md\nResolved .mc.enabled (false) from /opt/jfrog/artifactory/var/etc/system.yaml\n\nSetting file permissions...\n\n\u001b[31m** ERROR: Could not set permissions\u001b[0m", "stdout_lines": ["", "Installing artifactory as a Unix service that will run as user artifactory and group artifactory", "Installing artifactory with home /opt/jfrog/artifactory/app", "Creating Group artifactory...already exists... DONE", "Creating user artifactory...already exists... DONE", "Modifying environment file /opt/jfrog/artifactory/app/bin/artifactory.default... DONE", "\u001b[33m** INFO: Please create/edit system.yaml file in /opt/jfrog/artifactory/var/etc to set the correct environment\u001b[0m", "\u001b[33m Templates with information can be found in the same directory\u001b[0m", "Stopping the artifactory service...", "Initializing artifactory.service service with systemctl... DONE", "Removing old custom drivers : /opt/jfrog/artifactory/app/artifactory/tomcat/lib/jf_README.md", "Copying /opt/jfrog/artifactory/var/bootstrap/artifactory/tomcat/lib/README.md to /opt/jfrog/artifactory/app/artifactory/tomcat/lib/jf_README.md", "Resolved .mc.enabled (false) from /opt/jfrog/artifactory/var/etc/system.yaml", "", "Setting file permissions...", "", "\u001b[31m** ERROR: Could not set permissions\u001b[0m"]}
Artifactory is not starting
What you expected to happen:
Smooth upgrade.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Workaround
Changing line 213 of jfrog/artifactory/app/bin/installService.sh
root cause cannot dereference '/opt/jfrog/artifactory/app/frontend/bin/server/dist/node_modules/@contrast/fn-inspect/build/node_gyp_bins/python3 because /usr/bin/python3 was not present on our system.
Is this a request for help?:
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Which installer:
Ansible
Which product and version (eg: ansible & collection version - 7.24.2):
Ansible core 2.12.10
JFrog Platform 10.17.0 release
Which operating system and version(eg: ubuntu & version - 20.4):
RHEL8
Which product license (Enterprise/Pro):
Enterprise
JFrog support reference (if already raised with support team):
What happened:
Copy new app to artifactory app
.Install Service
which fails.What you expected to happen:
Smooth upgrade.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
Workaround
Changing line 213 of
jfrog/artifactory/app/bin/installService.sh
The text was updated successfully, but these errors were encountered: