'push-apps-manager' Errand fails after manually upgrading staticfile buildpack.
search cancel

'push-apps-manager' Errand fails after manually upgrading staticfile buildpack.

book

Article ID: 298470

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction


Manually upgrading Staticfile buildpack v1.6.1 breaks the TAS 3.0.8 on "push-apps-manager" Errand.



install_log.txt shows the following:

 
2023-03-31T19:57:44.19+0000 [APP/PROC/WEB/4] ERR + /home/vcap/app/start_logging.sh  
2023-03-31T19:57:44.19+0000 [APP/PROC/WEB/4] ERR + nginx -p /home/vcap/app/nginx -c /home/vcap/app/nginx/conf/nginx.conf  
2023-03-31T19:57:44.21+0000 [APP/PROC/WEB/4] ERR 2023/03/31 19:57:44 [emerg] 95#0: unknown directive "<%" in /home/vcap/app/nginx/conf/nginx.conf:23

Apps Manager deployment FAILED!

Stderr     Error: failed to run job-process: exit status 1 (exit status 1)

1 errand(s)

Errand 'push-apps-manager' completed with error (exit code 1)

Exit code 1




Environment

Product Version: 3.0
OS: v1.6.1

Resolution


The latest version of TAS only ships with StaticFile 1.6.0, therefore downgrading the buildpack to v1.6.0 fixes the issue.

This is not considered a breaking change, per se, because is not expected for people to overwrite this default staticfile buildpack. A warning was earlier created. See this GitHub for reference.