jnraine / munkiserver

Visit https://github.com/munkiserver/munkiserver for active development — this repository is no longer maintained
85 stars 27 forks source link

Removing WebIDs #161

Closed Ginja closed 10 years ago

Ginja commented 11 years ago

munki server 0.6 (92214ca) munki tools 0.8.3.1678

When uploading a package that gets the wrong WebID from macupdate.com, I'm unable to remove it. No error is presented when you click "Update". A strange thing I noticed is that when the WebID has been deleted it will appear to stay deleted until you switch from packages to another sub-group and then back to packages. This is noticeable especially when a package gets the wrong WebID and has an update. If it helps, below is what the production.log spits out when you delete the WebID of a package (munkitools in this case):

Started PUT "/default/packages/munkitools" for (ip-omitted) at 2012-12-14 14:04:43 -0800 Processing by PackageBranchesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"(omitted)", "package_branch"=>{"name"=>"munkitools", "display_name"=>"Munki - Managed software installation for OS X", "package_category_id"=>"3", "version_tracker_web_id"=>""}, "commit"=>"Update", "unit_shortname"=>"default", "name"=>"munkitools"} Redirected to https://(fqdn-omitted)/default/packages/munkitools Completed 302 Found in 35ms (ActiveRecord: 2.2ms)

Started GET "/default/packages/munkitools" for (ip-omitted) at 2012-12-14 14:04:43 -0800 Processing by PackageBranchesController#edit as HTML Parameters: {"unit_shortname"=>"default", "name"=>"munkitools"} Rendered package_branches/_record_header.html.erb (0.1ms) Rendered shared/_helpful_info.html.erb (0.3ms) Rendered package_branches/edit.html.erb within layouts/application (9.2ms) Rendered shared/_unit_menu.html.erb (0.1ms) Rendered shared/_sidebar.html.erb (0.0ms) Completed 200 OK in 27ms (Views: 19.8ms | ActiveRecord: 2.0ms) New Relic Agent not running. Command :: file -b --mime '/tmp/icon20121214-5741-4qjtro' Command :: identify -format %wx%h '/tmp/stream20121214-5741-cqwrwp[0]' Command :: convert '/tmp/stream20121214-5741-cqwrwp[0]' -resize "32x" -crop "32x32+0+0" +repage '/tmp/stream20121214-5741-cqwrwp20121214-5741-1ed51cj.png' Command :: identify -format %wx%h '/tmp/stream20121214-5741-cqwrwp[0]' Command :: convert '/tmp/stream20121214-5741-cqwrwp[0]' -resize "64x" -crop "64x64+0+0" +repage '/tmp/stream20121214-5741-cqwrwp20121214-5741-19mv6jn.png' Command :: identify -format %wx%h '/tmp/stream20121214-5741-cqwrwp[0]' Command :: convert '/tmp/stream20121214-5741-cqwrwp[0]' -resize "128x" -crop "128x128+0+0" +repage '/tmp/stream20121214-5741-cqwrwp20121214-5741-1falmsh.png' Command :: identify -format %wx%h '/tmp/stream20121214-5741-cqwrwp[0]' Command :: convert '/tmp/stream20121214-5741-cqwrwp[0]' -resize "256x" -crop "256x256+0+0" +repage '/tmp/stream20121214-5741-cqwrwp20121214-5741-1rwlfxs.png' [paperclip] Saving attachments. [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/64/original/icon20121214-5741-4qjtro [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/64/tiny/icon20121214-5741-4qjtro.png [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/64/small/icon20121214-5741-4qjtro.png [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/64/medium/icon20121214-5741-4qjtro.png [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/64/large/icon20121214-5741-4qjtro.png New Relic Agent not running. Command :: file -b --mime '/tmp/icon20121214-5758-j7uymh' Command :: identify -format %wx%h '/tmp/stream20121214-5758-m6c39u[0]' Command :: convert '/tmp/stream20121214-5758-m6c39u[0]' -resize "32x" -crop "32x32+0+0" +repage '/tmp/stream20121214-5758-m6c39u20121214-5758-ak5wuw.png' Command :: identify -format %wx%h '/tmp/stream20121214-5758-m6c39u[0]' Command :: convert '/tmp/stream20121214-5758-m6c39u[0]' -resize "64x" -crop "64x64+0+0" +repage '/tmp/stream20121214-5758-m6c39u20121214-5758-1k9g00y.png' Command :: identify -format %wx%h '/tmp/stream20121214-5758-m6c39u[0]' Command :: convert '/tmp/stream20121214-5758-m6c39u[0]' -resize "128x" -crop "128x128+0+0" +repage '/tmp/stream20121214-5758-m6c39u20121214-5758-dycymu.png' Command :: identify -format %wx%h '/tmp/stream20121214-5758-m6c39u[0]' Command :: convert '/tmp/stream20121214-5758-m6c39u[0]' -resize "256x" -crop "256x256+0+0" +repage '/tmp/stream20121214-5758-m6c39u20121214-5758-1cet8yx.png' [paperclip] Saving attachments. [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/65/original/icon20121214-5758-j7uymh [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/65/tiny/icon20121214-5758-j7uymh.png [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/65/small/icon20121214-5758-j7uymh.png [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/65/medium/icon20121214-5758-j7uymh.png [paperclip] saving /Volumes/Storage/munkiserver/public/system/photos/65/large/icon20121214-5758-j7uymh.png

Ginja commented 10 years ago

This is no longer an issue. Closing.