[chef] custom cookbook


Chronological Thread 
  • From: Nikhil Shah < >
  • Cc: Chef < >
  • Subject: [chef] custom cookbook
  • Date: Tue, 21 Jul 2015 10:27:30 -0400

Hello, 

I am having a hard time uploading a cookbook larger than typical cookbooks. This is a POC cookbook and the vendor was able to upload to chef hosted; however, I cannot upload to my chef server. 

Note: I've updated the /var/opt/opscode/nginx/etc/nginx.conf file and edited the line for client_max_body_size 2048M; 

Also restarted nginx service via chef-server-ctl restart.

Everytime I try to upload the cookbook, I get the following error:


knife cookbook upload dcos
Uploading dcos           [0.1.0]
ERROR: Failed to upload /root/chef/cookbooks/dcos/files/default/bootstrap.tar.xz (dd69f42f36246af0bfc3dfad0f5d1195) to https://chef04.theorchard.local:443/bookshelf/organization-436175e59363fc55b3620eecfe443b82/checksum-dd69f42f36246af0bfc3dfad0f5d1195?AWSAccessKeyId=23c9de96b156f0c1a59234ed809e60cafb7a3e5e764&Expires=1437423489325&Signature=toghY/CTHQUHWFbd5TJcOPaIJBE%3D : 413 "Request Entity Too Large"
<html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>openresty/1.7.10.1</center>
</body>
</html>
ERROR: Request Entity Too Large

Any insight would be greatly appreciated.

Thanks,

--
Nikhil Shah  System Administrator

THE ORCHARD Distribution Done Right
23 E 4th St Fl 3, New York, NY 10003

Follow us: The Daily Rind  Facebook  Twitter  YouTube  LinkedIn

Privileged And Confidential Communication. This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.



Archive powered by MHonArc 2.6.16.

§