Resolution

ARTIFACTORY: How to resolve an issue when the Nginx pod fails to start after upgrading Artifactory to 7.77.x version using Helm Chart

AuthorFullName__c
Ino Choi
articleNumber
000006066
FirstPublishedDate
2024-04-02T11:46:10Z
lastModifiedDate
2025-05-21
VersionNumber
1
To resolve this issue, we need to modify the following lines in the Nginx Artifactory configuration file.

From
listen 80;
listen 443;
proxy_set_header X-JFrog-Override-Base-Url $http_x_forwarded_proto://$host:$server_port;
To
listen 8080;
listen 8443;
proxy_set_header X-JFrog-Override-Base-Url $http_x_forwarded_proto://$host;
After making this adjustment:
  • Restart the Nginx pod, if the change was made on the ConfigMap.
  • Redeploy Artifactory, if the change was made directly on the values.yaml’s “artifactoryConf” block.
You should observe that the Nginx pod starts up successfully.
NAME                                             READY   STATUS    RESTARTS        AGE
artifactory-0                                    7/7     Running   1 (5m45s ago)   9m14s
artifactory-artifactory-nginx-6c4499c6cc-sx9cx   1/1     Running   0               10s

Defaulted container "nginx" out of: nginx, setup (init)
Using deprecated password for user _internal.
2024-03-25 23:57:07  [169 entrypoint-nginx.sh] Preparing to run Nginx in Docker
2024-03-25 23:57:07   [14 entrypoint-nginx.sh] Dockerfile for this image can found inside the container.
2024-03-25 23:57:07   [15 entrypoint-nginx.sh] To view the Dockerfile: 'cat /docker/nginx-artifactory-pro/Dockerfile.nginx'.
2024-03-25 23:57:07   [19 entrypoint-nginx.sh] Setting up directories if missing
2024-03-25 23:57:07  [160 entrypoint-nginx.sh] Generating ssl example.key and example.crt
2024-03-25 23:57:07   [83 entrypoint-nginx.sh] Artifactory configuration already in /var/opt/jfrog/nginx/conf.d/artifactory.conf
2024-03-25 23:57:07  [177 entrypoint-nginx.sh] Adding logrotate configuration
2024-03-25 23:57:07   [92 entrypoint-nginx.sh] Adding logrotate to crontab
2024-03-25 23:57:07  [187 entrypoint-nginx.sh] Starting updateConf.sh in the background
Using deprecated password for user _internal.
2024-03-25 23:57:07  [192 entrypoint-nginx.sh] Starting nginx daemon...