Getting an Error while trying to push changes to cloud foundry

0 votes

From my local host, I connected to bluemix with

 cf api https://api.ng.bluemix.net

I logged in and then I pushed the changes with

 cf push

However, in the console,

 Uploading MY_PROJECT...
 Uploading app files from: /Users/MyName/Documents/MY_PROJECT
 Uploading 437.7K, 386 files
 Done uploading               
 FAILED
 Error processing app files: Error uploading application.
 The resource file mode is invalid: File mode '0444' is invalid.
 (venv) My-iMac:MY_PROJECT MyName$ 

How do I troubleshoot this?

Can anyone help me with this?

Jul 19, 2018 in DevOps Tools by Damon Salvatore
• 5,980 points
2,083 views

1 answer to this question.

0 votes

Here is an approach which you can follow. According to this link: https://github.com/cloudfoundry/cli/issues/685 the file mode must be at least 600 so I guess you should "raise" the permissions for your resources folder, even if 444 would be technically ok.

Concerning troubleshooting: the error message is right there in your output. If you need more log output, you can use the command

cf logs APP-NAME

See https://docs.cloudfoundry.org/devguide/deploy-apps/streaming-logs.html for further details.

I hope the above information will be helpful for you.

answered Jul 19, 2018 by Atul
• 10,240 points

Related Questions In DevOps Tools

0 votes
1 answer
0 votes
1 answer

Getting 500 error code while Bitbucket-Jenkins integration.

Use generic webhook instead of bitbucket webhook. It ...READ MORE

answered Sep 21, 2020 in DevOps Tools by Krishnom
1,320 views
0 votes
1 answer

How to deploy kafka cluster on cloud?

You can run kafka in both ways ...READ MORE

answered Jun 14, 2018 in DevOps Tools by DareDev
• 6,890 points
682 views
+1 vote
2 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 votes
1 answer
0 votes
1 answer

How to Replicate the Artifacts between two Jfrog Artifactories by using CURL or jfrog rt (Rest API)

Yes and no, It's a bit complex ...READ MORE

answered Mar 27, 2018 in DevOps Tools by Atul
• 10,240 points
1,706 views
0 votes
1 answer

Error in process execution from Nolio

Here is an approach which you can ...READ MORE

answered Jul 9, 2018 in DevOps Tools by Atul
• 10,240 points
1,112 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP