--
You received this message because you are subscribed to the Google Groups "MunkiWebAdmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-web-adm...@googlegroups.com.
Visit this group at http://groups.google.com/group/munki-web-admin.
For more options, visit https://groups.google.com/d/optout.
git clone https://github.com/SteveKueng/munkiwebadmin.git
cd munkiwebadmin
cp settings_template.py settings.py
This sounds like a feature I could use, since I will manage Macs on several different regions/brands from one single repository.
Very nice!
RegardsSteve
--
You received this message because you are subscribed to the Google Groups "MunkiWebAdmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-web-adm...@googlegroups.com.
Visit this group at http://groups.google.com/group/munki-web-admin.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "MunkiWebAdmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-web-adm...@googlegroups.com.
Visit this group at http://groups.google.com/group/munki-web-admin.
For more options, visit https://groups.google.com/d/optout.
Finishing...
Performing postflight tasks...
postflight stderr: 2015-02-23 21:43:22.836 system_profiler[4549:48193] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
2015-02-23 21:43:22.837 system_profiler[4549:48193] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
Done.
--
You received this message because you are subscribed to a topic in the Google Groups "MunkiWebAdmin" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/munki-web-admin/4FS6U953rcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to munki-web-adm...@googlegroups.com.
Finishing...
Performing postflight tasks...
postflight stderr: 2015-02-23 21:43:22.836 system_profiler[4549:48193] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
2015-02-23 21:43:22.837 system_profiler[4549:48193] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
Done.
I should point out that the server is OS X 10.9.5, which might be the issue.
--
Yes, they are the same except for my mwa server address. The reportuser and password were already in the config file. Do I need to create this user somewhere?
--
You received this message because you are subscribed to a topic in the Google Groups "MunkiWebAdmin" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/munki-web-admin/4FS6U953rcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to munki-web-admin+unsubscribe@googlegroups.com.
Yes you have to create the user in the admin interface.
Login with the admin user in munkiwebadmin -> right upper corner klick on the user icon -> admin
There you can create a user.
Justin Phillips
wuwu...@gmail.com> schrieb am Zi., 24. Feb 2015 um 20:34:
Yes, they are the same except for my mwa server address. The reportuser and password were already in the config file. Do I need to create this user somewhere?--
You received this message because you are subscribed to a topic in the Google Groups "MunkiWebAdmin" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/munki-web-admin/4FS6U953rcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to munki-web-adm...@googlegroups.com.
<array>
<string>/Users/Shared/munkiwebadmin_env/bin/python</string>
<string>/Users/Shared/munkiwebadmin_env/munkiwebadmin/manage.py</string>
<string>runserver</string>
<string>0.0.0.0:8000</string>
</array>
To unsubscribe from this group and all its topics, send an email to munki-web-admin+unsubscribe@googlegroups.com.
__init__() got an unexpected keyword argument 'mimetype'
Request Method: | GET |
---|---|
Request URL: | http://<mwa server>:8000/licenses/available/ |
Django Version: | 1.7.2 |
Exception Type: | TypeError |
Exception Value: |
__init__() got an unexpected keyword argument 'mimetype' |
Exception Location: | /Users/Shared/munkiwebadmin_env/lib/python2.7/site-packages/django/http/response.py in __init__, line 318 |
---|---|
Python Executable: | /Users/Shared/munkiwebadmin_env/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/Users/Shared/munkiwebadmin_env/munkiwebadmin', '/Users/Shared/munkiwebadmin_env/lib/python2.7/site-packages/virtualenv-12.0.7-py2.7.egg', '/Users/Shared/munkiwebadmin_env/lib/python27.zip', '/Users/Shared/munkiwebadmin_env/lib/python2.7', '/Users/Shared/munkiwebadmin_env/lib/python2.7/plat-darwin', '/Users/Shared/munkiwebadmin_env/lib/python2.7/plat-mac', '/Users/Shared/munkiwebadmin_env/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/Shared/munkiwebadmin_env/Extras/lib/python', '/Users/Shared/munkiwebadmin_env/lib/python2.7/lib-tk', '/Users/Shared/munkiwebadmin_env/lib/python2.7/lib-old', '/Users/Shared/munkiwebadmin_env/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/Users/Shared/munkiwebadmin_env/lib/python2.7/site-packages'] |
Server time: | Fri, 27 Feb 2015 08:24:00 -0500 |
sys.path.append(os.path.join(MUNKIWEBADMIN_ENV_DIR, 'munkiwebadmin'))
sys.path.append(os.path.join(MUNKIWEBADMIN_ENV_DIR, 'munkiwebadmin/munkiwebadmin'))
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] self.load_middleware()
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] File "/usr/local/munkiwebadmin_env/lib/python2.6/site-packages/django/core/handlers/base.py", line 44, in load_middleware
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] for middleware_path in settings.MIDDLEWARE_CLASSES:
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] File "/usr/local/munkiwebadmin_env/lib/python2.6/site-packages/django/conf/__init__.py", line 54, in __getattr__
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] self._setup(name)
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] File "/usr/local/munkiwebadmin_env/lib/python2.6/site-packages/django/conf/__init__.py", line 49, in _setup
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] self._wrapped = Settings(settings_module)
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] File "/usr/local/munkiwebadmin_env/lib/python2.6/site-packages/django/conf/__init__.py", line 132, in __init__
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] % (self.SETTINGS_MODULE, e)
[Tue Apr 07 16:28:49 2015] [error] [client 2001:700:700:2:654a:ce6c:5321:bdcf] ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named settings
import os
import site
import sys
# Remember original sys.path.
prev_sys_path = list(sys.path)
# we add currently directory to path and change to it
pwd = os.path.dirname(os.path.abspath(__file__))
os.chdir(pwd)
sys.path = [pwd] + sys.path
sys.path = [os.path.join(pwd, 'munkiwebadmin,munkiwebadmin')] + sys.path
# find the site-packages within the local virtualenv
for python_dir in os.listdir('lib'):
site_packages_dir = os.path.join('lib', python_dir, 'site-packages')
if os.path.exists(site_packages_dir):
site.addsitedir(os.path.abspath(site_packages_dir))
# Reorder sys.path so new directories at the front.
new_sys_path = []
for item in list(sys.path):
if item not in prev_sys_path:
new_sys_path.append(item)
sys.path.remove(item)
sys.path[:0] = new_sys_path
# now start django
from django.core.handlers.wsgi import WSGIHandler
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
application = WSGIHandler()
# webadmin.munki.hioa.no HTTPS Virtual Host
<VirtualHost *:443>
# General
ServerAdmin bjornb@hioa.no
ServerName *.munki.hioa.no
ServerAlias webadmin.munki.hioa.no
# Logging
ErrorLog logs/webadmin_ssl_error_log
TransferLog logs/webadmin_ssl_access_log
CustomLog logs/webadmin_ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
LogLevel warn
# SSL Engine
SSLEngine on
# SSL Protocol
SSLProtocol All -SSLv2 -SSLv3
# SSL Cipher Suite
SSLHonorCipherOrder On
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA !RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS"
# Certificate Chain
SSLCertificateChainFile /etc/pki/tls/certs/chain-munki.hioa.no.pem
# Server Certificate
SSLCertificateFile /etc/pki/tls/certs/munki.hioa.no.pem
# Server Private Key
SSLCertificateKeyFile /etc/pki/tls/certs/munki.hioa.no.key
# SSL Engine Options
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
WSGIScriptAlias / /usr/local/munkiwebadmin_env/munkiwebadmin.wsgi
WSGIDaemonProcess munkiwebadmin user=munkiwebadmin group=munki
Alias /static/ /usr/local/munkiwebadmin_env/munkiwebadmin/munkiwebadmin/static/
<Directory /usr/local/munkiwebadmin_env>
WSGIProcessGroup munkiwebadmin
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown owngrade-1.0 force-response-1.0
</VirtualHost>
...
Internal Server Error: /update/detailpkg/C07J100NDJD3/machine-mmm11
Traceback (most recent call last):
File "/Users/Shared/munkiwebadmin_env/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/Shared/munkiwebadmin_env/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/Users/Shared/munkiwebadmin_env/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/Users/Shared/munkiwebadmin_env/munkiwebadmin/munkiwebadmin/reports/views.py", line 466, in detail_pkg
for index, item in enumerate(sorted_Manifests[manifests][installsType]):
KeyError: 'managed_installs'
Any idea what that is referring to? It does it for every manifest. I've even tried removing any empty keys (managed_installs) but the error is still there. Thanks.
--