I hope someone can shed some light on my issue...I am trying to connect a client to my report server using sudo /bin/bash -c "$(curl -s http://myserver.domain.com/..." (being discreet with server name and domain) but all i get is "no matches found: http://myserver.domain.com/report/index.php/install
I know curl works and my connection is good since i am able to get the plist file onto my desktop as described here "curl -s https://yourserver.example.com/report/index.php?/install/plist -o \
~/Desktop/MunkiReport.plist"
I just can't get a client to register with my report server.
Any idea on what I may be missing in my configuration on my server or even client?
Thanks!
--
You received this message because you are subscribed to the Google Groups "munkireport" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munkireport...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Are you missing a question mark after the index.php?
I hope someone can shed some light on my issue...I am trying to connect a client to my report server using sudo /bin/bash -c "$(curl -s http://myserver.domain.com/..." (being discreet with server name and domain) but all i get is "no matches found: http://myserver.domain.com/report/index.php?/install
I know curl works and my connection is good since i am able to get the plist file onto my desktop as described here "curl -s https://yourserver.example.com/report/index.php?/install/plist -o \
~/Desktop/MunkiReport.plist"
I just can't get a client to register with my report server.
Any idea on what I may be missing in my configuration on my server or even client?
Thanks!
#!/bin/bash BASEURL="http://myserver.domain.com/report/" TPL_BASE="${BASEURL}/assets/client_installer/" MUNKIPATH="/usr/local/munki/" # TODO read munkipath from munki config CACHEPATH="${MUNKIPATH}preflight.d/cache/" POSTFLIGHT_CACHEPATH="${MUNKIPATH}postflight.d/cache/" PREFPATH="/Library/Preferences/MunkiReport" PREFLIGHT=1 PREF_CMDS=( ) # Pref commands array TARGET_VOLUME='' CURL=("/usr/bin/curl" "--fail" "--silent" "--show-error") # Exit status ERR=0 # Packaging BUILDPKG=0 IDENTIFIER="com.github.munkireport" RESULT="" VERSION="2.14.3" VERSIONLONG="2.14.3.2785"
On 8 Jun 2017, at 22:33, Mike Reid <mrei...@gmail.com> wrote:
WARNING: Munkireport: service_check return code: 1Munkireport: Running warrantyMunkireport: warranty Error: stat: cannot read file system information for '%Sm': No such file or directorystat: cannot read file system information for '%s': No such file or directory/usr/local/munki/preflight.d/warranty: line 22: 1496953519 - /usr/local/munki/preflight.d/cache/warranty.txt 100000300000011 * ? 4096 4096 121928231 41553737 41489737 121928229 41489737 : syntax error: operand expected (error token is "/usr/local/munki/preflight.d/cache/warranty.txt 100000300000011 * ? 4096 4096 121928231 41553737 41489737 121928229 41489737 ")WARNING: Munkireport: warranty return code: 1Munkireport: Running wifiMunkireport: Running submit.preflightmymac:~ admin$
can't really tell if it actually completed though…