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,510 points
185 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

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,810 points
53 views
+1 vote
2 answers

Trying to make a PHP code work in bluemix

example to @Nilesh's explanation: $html = '<html> ...READ MORE

answered Oct 25, 2018 in DevOps Tools by akaash
30 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
152 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Error in process execution from Nolio

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

answered Jul 8, 2018 in DevOps Tools by Atul
• 10,240 points
62 views