# All changes on cookbook could not upload to chef server

**URL:** <https://discourse.chef.io/t/all-changes-on-cookbook-could-not-upload-to-chef-server/10919>\
**Category:** Chef Infra (archive)\
**Created:** [May 18, 2017, 7:06am UTC](https://discourse.chef.io/t/all-changes-on-cookbook-could-not-upload-to-chef-server/10919 "2017-05-18T07:06:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuehua](https://avatars.discourse-cdn.com/v4/letter/y/b5ac83/32.png) [@Yuehua](https://discourse.chef.io/u/Yuehua)\
**Post date:** [May 18, 2017, 7:06am UTC](https://discourse.chef.io/t/all-changes-on-cookbook-could-not-upload-to-chef-server/10919/1 "2017-05-18T07:06:47Z")

</div>

Hi, All

I am a newbie on chef, I got blocked on cookbook, please help me with this, thanks in advance.

I create a new cookbook and modify default.rb, add followings  
package “vsftpd” do  
action :install  
end  
Then I upload it to chef server  
knife cookbook upload cookbook01  
But, I find all changes are lost on chef-server  
knife cookbook show cookbook01 0.1.0 recipes default.rb  
#  
# Cookbook Name:: cookbook01  
# Recipe:: default  
#  
# Copyright 2017, YOUR\_COMPANY\_NAME  
#  
# All rights reserved - Do Not Redistribute  
#

Am I missing something?

My ENV:  
chef-server-core-12.15.6-1  
chef-manage-2.5.3-1  
chefdk-1.3.43-1  
chef-13.0.118-1

```
Chef server and Chef workstation are on the same machine.

```

Thanks.
