Closed z1ggur4t closed 11 years ago
Hey Tristan, That's odd. A 200 status for a failed download? Can you copy the content from your Rails log as well? You'll find it in log/production.log or log/development.log (if you're running in development mode).
Thanks for the quick reply. Think i'm running in dev mode so here's the dev log. Disclaimer: i'm not the worlds most knowledgeable Ruby type so bare with me please :-) I had some assistance with my setup to get it this far.
as follows...
Started GET "/login" for 130.216.180.116 at 2013-04-10 11:29:30 +1200 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 1ms
ActiveRecord::StatementInvalid (Could not find table 'users'):
app/helpers/application_helper.rb:109:in current_user'</a> <a href='txmt://open?url=file:///Library/WebServer/Documents/munkiserver/app/controllers/sessions_controller.rb&line=39'>app/controllers/sessions_controller.rb:39:in
authorize_resource'
config/initializers/quiet_asset_logging.rb:7:in `call_with_quiet_assets'
Rendered /Users/admin/.rvm/gems/ruby-1.9.3-p0@munkiserver/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /Users/admin/.rvm/gems/ruby-1.9.3-p0@munkiserver/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/admin/.rvm/gems/ruby-1.9.3-p0@munkiserver/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.7ms)
Cheers
i can attach both logs if need be?
Hi Tristan,
Is it possible that xsendfile is not setup/configured correctly? Rails will return a 200 (HTTP Success), but then Apache won't actually send the file.
Ricky Chilcott ricky@rbsavvy.com
On Apr 10, 2013, at 7:38 PM, Jordan Raine notifications@github.com wrote:
Hey Tristan, That's odd. A 200 status for a failed download? Can you copy the content from your Rails log as well? You'll find it in log/production.log or log/development.log (if you're running in development mode).
— Reply to this email directly or view it on GitHub.
hmmm... nothing I can fix at present but i'll have some assistance tomorrow. I'll report back here when we have the the issue in hand and a fix in case others come have something similar.
tris
Did you ever get this fixed?
thanks for asking. not yet. ran out if time last week. I'll be looking at it again tomorrow (Monday NZ time) with a colleague who has a similar, known running system. I'll report back our findings and answers in case someone else encounters the same issue.
documentation for such a useful and feature rich addition to munki is light! I was running munki web admin late last year but I'm really keen on the additional functionality for fleet management/admin this tool offers.
Tristan
an expert is someone who has made every possible mistake in a narrow field of expertise...
On 13/04/2013, at 11:25 PM, "Ricky Chilcott" notifications@github.com<mailto:notifications@github.com> wrote:
Did you ever get this fixed?
— Reply to this email directly or view it on GitHubhttps://github.com/jnraine/munkiserver/issues/173#issuecomment-16331518.
Have a working system now. The issue wasn't resolved specifically however.
Awesome! Could your issue have been avoided by a change in the code base or the instructions?
i'm not sure about the code base. i had assistance with my setup. setup docs are kinda lacking though. a simple setup fyi would be handy for those of us who aren't that up to speed with Ruby.
There are several pieces of documentation here: https://github.com/jnraine/munkiserver/wiki
Did you have a look there while doing your setup?
On Apr 15, 2013, at 8:51 PM, z1ggur4t notifications@github.com wrote:
i'm not sure about the code base. i had assistance with my setup. setup docs are kinda lacking though. a simple setup fyi would be handy for those of us who aren't that up to speed with Ruby.
— Reply to this email directly or view it on GitHub.
i did indeed go hear first but most of the links in the "using munkiserver" section just point back to this page.
i used the setup on OS X as my guide/template and it mostly was heading in the right direction but didn't get me across the line. fortunately i have a colleague here who had a system up and running and could bridge the gap. so we have two faculties now running munkiserver to manage our OS X fleets.
Anyone know if "units" and "package sharing" is actually implemented? i can't make it work for love nor money. i'm going to use "Computer Units" instead which should do the trick anyway.
I can confirm that both "Units" and "Package Sharing" work. We use them at Ohio University all the time.
If you or your colleague has some details about where the documentation is lacking, we certainly can add details.
Ricky Chilcott ricky@rbsavvy.com
On Apr 15, 2013, at 9:08 PM, z1ggur4t notifications@github.com wrote:
i did indeed go hear first but most of the links in the "using munkiserver" section just point back to this page.
i used the setup on OS X as my guide/template and it mostly was heading in the right direction but didn't get me across the line. fortunately i have a colleague here who had a system up and running and could bridge the gap. so we have two faculties now running munkiserver to manage our OS X fleets.
Anyone know if "units" and "package sharing" is actually implemented? i can't make it work for love nor money. i'm going to use "Computer Units" instead which should do the trick anyway.
— Reply to this email directly or view it on GitHub.
Thanks Ricky for the confirmation. I guess it must be me then! No surprise there. I'll use Comp Groups for now while i tinker further and work out how to get everything functioning.
re Documentation we'll put our heads together when we have a moment. Maybe I can knock something up and forward it to you. There's two areas here, Setup (we both are running OS X server based back ends) and User Manual. Time permitting we can contribute something for both.
What's the size of your fleet?
Tristan
Hi Tristan,
We have about 400 machines in just our Unit, but I partially maintain the MunkiServer install for the entire university which is currently ~ 800 machines w/ about 500 unique checkins per day.
This is on a XServe w/ 12 GB of RAM.
Ricky
On Apr 15, 2013, at 9:23 PM, z1ggur4t notifications@github.com wrote:
Thanks Ricky for the confirmation. I guess it must be me then! No surprise there. I'll use Comp Groups for now while i tinker further and work out how to get everything functioning.
re Documentation we'll put our heads together when we have a moment. Maybe I can knock something up and forward it to you. There's two areas here, Setup (we both are running OS X server based back ends) and User Manual. Time permitting we can contribute something for both.
What's the size of your fleet?
Tristan
— Reply to this email directly or view it on GitHub.
Hi Ricky
Thanks for the info. Good to know what others are doing. I'm maintaining around 300 odd OS X machines but they are across a wide area as our central campus is spread across part of the city. I just decommissioned a couple of xserves in favor of 3 mac mini servers. They are holding up surprisingly well. i've not been a huge fan of the mini but this latest version is solid. I'll keep you posted on my Unit/Shared Package saga.
Regards
Tristan
Hi Tristan,
We have about 400 machines in just our Unit, but I partially maintain the MunkiServer install for the entire university which is currently ~ 800 machines w/ about 500 unique checkins per day.
This is on a XServe w/ 12 GB of RAM.
Ricky
On Apr 15, 2013, at 9:23 PM, z1ggur4t notifications@github.com<mailto:notifications@github.com> wrote:
Thanks Ricky for the confirmation. I guess it must be me then! No surprise there. I'll use Comp Groups for now while i tinker further and work out how to get everything functioning.
re Documentation we'll put our heads together when we have a moment. Maybe I can knock something up and forward it to you. There's two areas here, Setup (we both are running OS X server based back ends) and User Manual. Time permitting we can contribute something for both.
What's the size of your fleet?
Tristan
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/jnraine/munkiserver/issues/173#issuecomment-16422548.
Can't seem to get sharing working. I'm assuming you can just select a package, edit and tick the check box "share with other units"? This seems to have no effect however. Am i missing something? A step perhaps? Any thoughts?
Hey @z1ggur4t, after you share are you visiting the Shared Packages page in another unit?
Say you're in unit Foo and you'd like to share Firefox with unit Bar. You'll need to share Firefox from Foo, visit the Shared Packages page under the Bar unit, then import Firefox. Once that is done, you should see Firefox available in both Foo and Bar.
Hope this helps!
ah ha! ok. so you share it in Foo then it appears in "Shared Packages" in Bar and then you use the Import Selection button to import into Bar. got it. just tested it and presto!. thanks a bunch.
I am guilty as charged. I confess. I am the "colleague" z1ggur4t refers to.
If one gives me a few days, I will be happy to write up my method for producing a nice, working munkiserver setup on 10.8.3. I could write it up on the munkiserver wiki.
(I'm also a rails developer, so I'd be happy to contribute some code when I finally have time!)
@nzmacgeek docs and code would be awesome. Just saw the new feature issue you opened. Good chance to get your feet wet? ;)
Hi All I've got my munkiserver up and running and it is serving me ASUS updates fine but when attempting to get an App update such as Firefox i get the following error:
Download of Firefox failed: http result 200: OK
Here's the output from the terminal...
Starting... Performing preflight tasks... Checking for available updates... Getting manifest client_manifest... Retrieving list of software for this machine... 0..20..40..60..80..100 Using manifest: a8:20:66:21:93:90.plist Checking for installs Getting catalog 1-Production.plist... Need to install Firefox Downloading 3-Firefox-20.0.dmg from 3-Firefox-20.0.dmg Downloading 3-Firefox-20.0.dmg from 3-Firefox-20.0.dmg Downloading 3-Firefox-20.0.dmg... WARNING: Download of Firefox failed: HTTP result 200: OK Checking for removals Checking for managed updates Checking Apple Software Update catalog... Caching CatalogURL http://servernamehere:8088/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog Skipping Apple Software Update check because sucatalog is unchanged, installed Apple packages are unchanged and we recently did a full check. Finishing... Performing postflight tasks... postflight stderr: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17618 0 0 100 17618 0 16100 0:00:01 0:00:01 --:--:-- 16133 Done.
Any assistance would be greatly received.
Regards
Tristan