No master found for 'mymaster'
Request Method: | GET |
---|---|
Request URL: | https://sam.oribium.net/support/kontrollpanel/ |
Django Version: | 1.11.26 |
Exception Type: | MasterNotFoundError |
Exception Value: | No master found for 'mymaster' |
Exception Location: | /usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/redis/sentinel.py in discover_master, line 212 |
Python Executable: | /usr/local/bin/uwsgi |
Python Version: | 3.6.8 |
Python Path: | ['.', '', '/var/www/oribium_net_36/${PYTHONPATH}', '/var/www', '/var/www/oribium_net_36', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages', '/usr/local/venv/oribium_net_3.6/lib/python3.6/site-packages'] |
Server time: | tors, 18 Apr 2024 18:14:13 +0200 |
/usr/lib64/python3.6/random.py
in choice
return int(r*maxsize) % n
## -------------------- sequence methods -------------------
def choice(self, seq):
"""Choose a random element from a non-empty sequence."""
try:
i = self._randbelow(len(seq))...
except ValueError:
raise IndexError('Cannot choose from an empty sequence') from None
return seq[i]
def shuffle(self, x, random=None):
"""Shuffle list x in place, and return None.
Variable | Value |
---|---|
self | <random.Random object at 0x12208f8> |
seq | [] |
/usr/lib64/python3.6/random.py
in _randbelow
random = self.random
getrandbits = self.getrandbits
# Only call self.getrandbits if the original random() builtin method
# has not been overridden or if a new getrandbits() was supplied.
if type(random) is BuiltinMethod or type(getrandbits) is Method:
k = n.bit_length() # don't use (n-1) here because n can be 1
r = getrandbits(k) # 0 <= r < 2**k...
while r >= n:
r = getrandbits(k)
return r
# There's an overridden random() method but no new getrandbits() method,
# so we can only use random() from here.
if n >= maxsize:
Variable | Value |
---|---|
BuiltinMethod | <class 'builtin_function_or_method'> |
Method | <class 'method'> |
getrandbits | <built-in method getrandbits of Random object at 0x12208f8> |
int | <class 'int'> |
k | 0 |
maxsize | 9007199254740992 |
n | 0 |
random | <built-in method random of Random object at 0x12208f8> |
self | <random.Random object at 0x12208f8> |
type | <class 'type'> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django_sentinel/sentinel.py
in connect
socket_timeout=sentinel_timeout,
password=password)
if write:
host, port = sentinel.discover_master(master_name)
else:
try:
host, port = random.choice(sentinel.discover_slaves(master_name))...
except IndexError:
self.log.debug("no slaves are available. using master for read.")
host, port = sentinel.discover_master(master_name)
if password:
connection_url = "redis://:%s@%s:%s/%s" % (password, host, port, db)
Variable | Value |
---|---|
SentinelClass | <class 'redis.sentinel.Sentinel'> |
db | '0' |
master_name | 'mymaster' |
password | 'f6dHCXM9rQYXvfDS' |
self | <django_sentinel.sentinel.SentinelClient object at 0x7f96f8732390> |
sentinel | Sentinel<sentinels=[sam.oribium.net:26379, tom.oribium.net:26379, sebastian.oribium.net:26379, johanna.oribium.net:26379]> |
sentinel_hosts | [('sam.oribium.net', 26379), (' tom.oribium.net', 26379), (' sebastian.oribium.net', 26379), (' johanna.oribium.net', 26379)] |
sentinel_timeout | 1 |
write | False |
/usr/lib64/python3.6/random.py
in choice
## -------------------- sequence methods -------------------
def choice(self, seq):
"""Choose a random element from a non-empty sequence."""
try:
i = self._randbelow(len(seq))
except ValueError:
raise IndexError('Cannot choose from an empty sequence') from None...
return seq[i]
def shuffle(self, x, random=None):
"""Shuffle list x in place, and return None.
Optional argument random is a 0-argument function returning a
Variable | Value |
---|---|
self | <random.Random object at 0x12208f8> |
seq | [] |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | MasterNotFoundError("No master found for 'mymaster'",) |
get_response | <bound method BaseHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f96fbd54f28>> |
request | <WSGIRequest: GET '/support/kontrollpanel/'> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/core/handlers/base.py
in _legacy_get_response
"""
Apply process_request() middleware and call the main _get_response(),
if needed. Used only for legacy MIDDLEWARE_CLASSES.
"""
response = None
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)...
if response:
break
if response is None:
response = self._get_response(request)
return response
Variable | Value |
---|---|
middleware_method | <bound method FetchFromCacheMiddleware.process_request of <mezzanine.core.middleware.FetchFromCacheMiddleware object at 0x7f96f997df28>> |
request | <WSGIRequest: GET '/support/kontrollpanel/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f96fbd54f28> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/core/middleware.py
in process_request
from cache if found, othwerwise mark the request for updating
the cache in ``UpdateCacheMiddleware``.
"""
def process_request(self, request):
if (cache_installed() and request.method == "GET" and
not is_authenticated(request.user)):
cache_key = cache_key_prefix(request) + request.get_full_path()...
response = cache_get(cache_key)
# We need to force a csrf token here, as new sessions
# won't receieve one on their first request, with cache
# middleware running.
if csrf_middleware_installed():
csrf_mw = CsrfViewMiddleware()
Variable | Value |
---|---|
request | <WSGIRequest: GET '/support/kontrollpanel/'> |
self | <mezzanine.core.middleware.FetchFromCacheMiddleware object at 0x7f96f997df28> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/utils/cache.py
in cache_key_prefix
def cache_key_prefix(request):
"""
Cache key for Mezzanine's cache middleware. Adds the current
site ID.
"""
cache_key = "%s.%s.%s" % (
settings.CACHE_MIDDLEWARE_KEY_PREFIX,
current_site_id(),...
# This last part used to indicate the device type for the request,
# but device detection was removed in Mezzanine 4.3.
# The "default" value was kept to maintain existing cache keys.
# See: https://github.com/stephenmcd/mezzanine/pull/1783
"default",
)
Variable | Value |
---|---|
request | <WSGIRequest: GET '/support/kontrollpanel/'> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/utils/sites.py
in current_site_id
domain = request.get_host().lower()
if cache_installed():
# Don't use Mezzanine's cache_key_prefix here, since it
# uses this very function we're in right now to create a
# per-site cache key.
bits = (settings.CACHE_MIDDLEWARE_KEY_PREFIX, domain)
cache_key = "%s.site_id.%s" % bits
site_id = cache_get(cache_key)...
if not site_id:
try:
site = Site.objects.get(domain__iexact=domain)
except Site.DoesNotExist:
pass
else:
Variable | Value |
---|---|
bits | ('oribium_net_36', 'sam.oribium.net') |
cache_get | <function cache_get at 0x7f96f9b2e400> |
cache_installed | <functools._lru_cache_wrapper object at 0x7f96f9b2cf60> |
cache_key | 'oribium_net_36.site_id.sam.oribium.net' |
cache_set | <function cache_set at 0x7f96f9b2e378> |
domain | 'sam.oribium.net' |
request | <WSGIRequest: GET '/support/kontrollpanel/'> |
site_id | None |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/utils/cache.py
in cache_get
def cache_get(key):
"""
Wrapper for ``cache.get``. The expiry time for the cache entry
is stored with the entry. If the expiry time has past, put the
stale entry back into cache, and don't return it to trigger a
fake cache miss.
"""
packed = cache.get(_hashed_key(key))...
if packed is None:
return None
value, refresh_time, refreshed = packed
if (time() > refresh_time) and not refreshed:
cache_set(key, value, settings.CACHE_SET_DELAY_SECONDS, True)
return None
Variable | Value |
---|---|
key | 'oribium_net_36.site_id.sam.oribium.net' |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django_redis/cache.py
in _decorator
if method is None:
return functools.partial(omit_exception, return_value=return_value)
@functools.wraps(method)
def _decorator(self, *args, **kwargs):
try:
return method(self, *args, **kwargs)...
except ConnectionInterrupted as e:
if self._ignore_exceptions:
if DJANGO_REDIS_LOG_IGNORED_EXCEPTIONS:
logger.error(str(e))
return return_value
Variable | Value |
---|---|
args | ('a213d8226b0a4ba6bdef7bd464e77112',) |
kwargs | {} |
method | <function RedisCache.get at 0x7f96f9943048> |
return_value | None |
self | <django_redis.cache.RedisCache object at 0x7f96f9931b00> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django_redis/cache.py
in get
def add(self, *args, **kwargs):
return self.client.add(*args, **kwargs)
@omit_exception
def get(self, key, default=None, version=None, client=None):
try:
return self.client.get(key, default=default, version=version,
client=client)...
except ConnectionInterrupted as e:
if self._ignore_exceptions:
if DJANGO_REDIS_LOG_IGNORED_EXCEPTIONS:
logger.error(str(e))
return default
raise
Variable | Value |
---|---|
client | None |
default | None |
key | 'a213d8226b0a4ba6bdef7bd464e77112' |
self | <django_redis.cache.RedisCache object at 0x7f96f9931b00> |
version | None |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django_redis/client/default.py
in get
def get(self, key, default=None, version=None, client=None):
"""
Retrieve a value from the cache.
Returns decoded value if key is found, the default if not.
"""
if client is None:
client = self.get_client(write=False)...
key = self.make_key(key, version=version)
try:
value = client.get(key)
except _main_exceptions as e:
Variable | Value |
---|---|
client | None |
default | None |
key | 'a213d8226b0a4ba6bdef7bd464e77112' |
self | <django_sentinel.sentinel.SentinelClient object at 0x7f96f8732390> |
version | None |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django_sentinel/sentinel.py
in get_client
if show_index:
return self._client_write, 0
else:
return self._client_write
if self._client_read is None:
self._client_read = self.connect(write)...
if show_index:
return self._client_read, 0
else:
return self._client_read
Variable | Value |
---|---|
self | <django_sentinel.sentinel.SentinelClient object at 0x7f96f8732390> |
show_index | False |
tried | () |
write | False |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django_sentinel/sentinel.py
in connect
if write:
host, port = sentinel.discover_master(master_name)
else:
try:
host, port = random.choice(sentinel.discover_slaves(master_name))
except IndexError:
self.log.debug("no slaves are available. using master for read.")
host, port = sentinel.discover_master(master_name)...
if password:
connection_url = "redis://:%s@%s:%s/%s" % (password, host, port, db)
else:
connection_url = "redis://%s:%s/%s" % (host, port, db)
self.log.debug("Connecting to: %s", connection_url)
Variable | Value |
---|---|
SentinelClass | <class 'redis.sentinel.Sentinel'> |
db | '0' |
master_name | 'mymaster' |
password | 'f6dHCXM9rQYXvfDS' |
self | <django_sentinel.sentinel.SentinelClient object at 0x7f96f8732390> |
sentinel | Sentinel<sentinels=[sam.oribium.net:26379, tom.oribium.net:26379, sebastian.oribium.net:26379, johanna.oribium.net:26379]> |
sentinel_hosts | [('sam.oribium.net', 26379), (' tom.oribium.net', 26379), (' sebastian.oribium.net', 26379), (' johanna.oribium.net', 26379)] |
sentinel_timeout | 1 |
write | False |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/redis/sentinel.py
in discover_master
continue
state = masters.get(service_name)
if state and self.check_master_state(state, service_name):
# Put this sentinel at the top of the list
self.sentinels[0], self.sentinels[sentinel_no] = (
sentinel, self.sentinels[0])
return state['ip'], state['port']
raise MasterNotFoundError("No master found for %r" % (service_name,))...
def filter_slaves(self, slaves):
"Remove slaves that are in an ODOWN or SDOWN state"
slaves_alive = []
for slave in slaves:
if slave['is_odown'] or slave['is_sdown']:
Variable | Value |
---|---|
masters | {'mymaster': {'config-epoch': 24714, 'down-after-milliseconds': 2000, 'failover-timeout': 5000, 'flags': 's_down,o_down,master', 'info-refresh': 7650, 'ip': '192.168.122.84', 'is_disconnected': False, 'is_master': True, 'is_master_down': False, 'is_odown': True, 'is_sdown': True, 'is_sentinel': False, 'is_slave': False, 'last-ok-ping-reply': 104872923, 'last-ping-reply': 209, 'last-ping-sent': 104871872, 'link-pending-commands': '0', 'link-refcount': '1', 'name': 'mymaster', 'num-other-sentinels': 3, 'num-slaves': 1, 'o-down-time': 95741788, 'parallel-syncs': 1, 'port': 6379, 'quorum': 2, 'role-reported': 'master', 'role-reported-time': 3224118287, 'runid': '0c0d2eb3aa38242face27aae73be2af56240fc00', 's-down-time': 104869814}} |
self | Sentinel<sentinels=[sam.oribium.net:26379, tom.oribium.net:26379, sebastian.oribium.net:26379, johanna.oribium.net:26379]> |
sentinel | Redis<ConnectionPool<Connection<host= johanna.oribium.net,port=26379,db=0>>> |
sentinel_no | 3 |
service_name | 'mymaster' |
state | {'config-epoch': 24714, 'down-after-milliseconds': 2000, 'failover-timeout': 5000, 'flags': 's_down,o_down,master', 'info-refresh': 7650, 'ip': '192.168.122.84', 'is_disconnected': False, 'is_master': True, 'is_master_down': False, 'is_odown': True, 'is_sdown': True, 'is_sentinel': False, 'is_slave': False, 'last-ok-ping-reply': 104872923, 'last-ping-reply': 209, 'last-ping-sent': 104871872, 'link-pending-commands': '0', 'link-refcount': '1', 'name': 'mymaster', 'num-other-sentinels': 3, 'num-slaves': 1, 'o-down-time': 95741788, 'parallel-syncs': 1, 'port': 6379, 'quorum': 2, 'role-reported': 'master', 'role-reported-time': 3224118287, 'runid': '0c0d2eb3aa38242face27aae73be2af56240fc00', 's-down-time': 104869814} |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/var/www/vhosts/oribnet/oribium_net_36' |
HTTPS | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'sam.oribium.net' |
HTTP_USER_AGENT | 'claudebot' |
Host | 'sam.oribium.net' |
PATH_INFO | '/support/kontrollpanel/' |
QUERY_STRING | '' |
REMOTE_ADDR | '3.142.199.138' |
REMOTE_PORT | '61402' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/support/kontrollpanel/' |
SCRIPT_NAME | '' |
SERVER_NAME | 'sam.oribium.net' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/2.0' |
UWSGI_FASTROUTER_KEY | 'oribnet.sam.oribium.net' |
UWSGI_SCHEME | 'https' |
X-Forwarded-For | '3.142.199.138' |
X-Forwarded-Proto | 'https' |
X-Real-IP | '3.142.199.138' |
X-Remote-User | '' |
X-Scheme | 'https' |
uwsgi.node | b'oribnet.sam.oribium.net' |
uwsgi.version | b'2.0.18' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='ANSI_X3.4-1968'> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7f96f949fd20> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
oribium_net_36.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNTS_PROFILE_FORM_EXCLUDE_FIELDS | ('uid', 'gid', 'role', 'username', 'password1', 'password2', 'token_matomo') |
ACCOUNTS_PROFILE_MODEL | 'user_oribium.Profile' |
ACCOUNTS_VERIFICATION_REQUIRED | True |
ADMINS | [] |
ALLOWED_HOSTS | ['oribium.net', 'development.oribium.net', 'www.oribium.net', '127.0.0.1', '192.168.122.84', 'sam.oribium.net', 'tom.oribium.net', 'freeweb.world', 'www.freeweb.world'] |
API_CLIENT | '********************' |
APPEND_SLASH | False |
AUTHENTICATION_BACKENDS | ('mezzanine.core.auth_backends.MezzanineBackend', 'user_oribium.auth.OribiumOIDCAuthenticationBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/var/www/oribium_net_36' |
CACHES | {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'mymaster/sam.oribium.net:26379, ' 'tom.oribium.net:26379, ' 'sebastian.oribium.net:26379, ' 'johanna.oribium.net:26379/0', 'OPTIONS': {'CLIENT_CLASS': 'django_sentinel.SentinelClient', 'PASSWORD': '********************'}}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CACHE_TTL | 7200 |
CELERY_ACCEPT_CONTENT | ['json'] |
CELERY_BEAT_SCHEDULER | 'django_celery_beat.schedulers:DatabaseScheduler' |
CELERY_BROKER_URL | 'amqp://oribnet:tretusen3000@localhost:5672/oribnet' |
CELERY_CACHE_BACKEND | 'django-cache' |
CELERY_RESULT_BACKEND | 'django-db' |
CELERY_RESULT_SERIALIZER | 'json' |
CELERY_TASK_SERIALIZER | 'json' |
CELERY_TIMEZONE | 'Europe/Stockholm' |
COMMENTS_APP | 'mezzanine.generic' |
COMPRESSORS | {'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'} |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | 'default' |
COMPRESS_CACHE_KEY_FUNCTION | '********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | '' |
COMPRESS_CLEAN_CSS_BINARY | 'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | '' |
COMPRESS_CLOSURE_COMPILER_BINARY | 'java -jar compiler.jar' |
COMPRESS_CSS_HASHING_METHOD | 'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | False |
COMPRESS_FILTERS | {'css': ['compressor.filters.css_default.CssAbsoluteFilter'], 'js': ['compressor.filters.jsmin.JSMinFilter']} |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f96f9e1a488> |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {'MEDIA_URL': '/static/media/', 'STATIC_URL': '/static/', 'settings': <function set_dynamic_settings.<locals>.mezzanine_settings at 0x7f96fc7c5048>} |
COMPRESS_OFFLINE_MANIFEST | 'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | 'CACHE' |
COMPRESS_PARSER | 'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/var/www/oribium_net_36/static' |
COMPRESS_STORAGE | 'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_URL | '/static/' |
COMPRESS_URL_PLACEHOLDER | '/__compressor_url_placeholder__/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | 'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | '--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | '--terminal' |
COMPRESS_YUI_BINARY | 'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | '' |
COMPRESS_YUI_JS_ARGUMENTS | '' |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'mariadb.oribium.net', 'NAME': 'oribium_net', 'OPTIONS': {'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': 'utf8_general_ci', 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'oribium_net'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'noreply@oribium.net' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DEV_SERVER | False |
DISALLOWED_USER_AGENTS | [] |
DJANGO_VERSION | (1, 11, 26, 'final', 0) |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.selinuxcomputing.net' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'reino@oribium.eu' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
FREEIPA_URL | 'https://ipa.oribium.net' |
FREEWEB_API_KEY | '********************' |
FREEWEB_API_URL | '********************' |
FREEWEB_FTP_PASSWD | '********************' |
FREEWEB_FTP_USERNAME | 'freewebphp' |
GRAPPELLI_INSTALLED | True |
HOST_THEMES | [('www.freeweb.world', 'freeweb_world')] |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('mezzanine.boot', 'django.contrib.auth', 'mozilla_django_oidc', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.redirects', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.humanize', 'mezzanine.conf', 'mezzanine.core', 'mezzanine.generic', 'mezzanine.pages', 'mezzanine.blog', 'mezzanine.forms', 'mezzanine.galleries', 'mezzanine.twitter', 'rest_framework', 'pages_oribium', 'rest_oribium', 'sepanel_oribium', 'login_oribium', 'user_oribium', 'sitepro_oribium', 'mezzanine.accounts', 'crispy_forms', 'rspamd_oribium', 'django_extensions', 'compressor', 'filebrowser_safe', 'grappelli_safe', 'django.contrib.admin', 'django.contrib.staticfiles', 'django_comments') |
INTERNAL_IPS | [] |
LANGUAGES | [('sv', 'Svenska'), ('en', 'Engelska')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'sv' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOAD_USER_ROLES | 'login_oribium.oidc.load_user_roles' |
LOCALE_PATHS | ['/var/www/oribium_net_36/sepanel_oribium/locale', '/var/www/oribium_net_36/shop_oribium/locale', '/var/www/oribium_net_36/stripe_oribium/locale', '/var/www/oribium_net_36/user_oribium/locale', '/var/www/oribium_net_36/sitepro_oribium/locale', '/var/www/oribium_net_36/login_oribium/locale', '/var/www/oribium_net_36/freeweb_world/locale', '/var/www/oribium_net_36/rspamd_oribium/locale', '/var/www/oribium_net_36/locale'] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/sepanel/dashboard/' |
LOGIN_URL | '/oidc/authenticate/' |
LOGOUT_REDIRECT_URL | '/' |
MAILBOX_GID | 517 |
MAILBOX_HOMEDIR | '/var/spool/mail/virtual/' |
MAILBOX_POSTFIX_TRANSPORT | 'dovecot' |
MAILBOX_UID | 517 |
MANAGERS | [] |
MATOMO_API_KEY | '********************' |
MATOMO_API_URL | '********************' |
MATOMO_SU_API_KEY | '********************' |
MEDIA_ROOT | '/var/www/oribium_net_36/static/custom/media/' |
MEDIA_URL | '/static/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.cookie.CookieStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('mezzanine.core.middleware.UpdateCacheMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'mezzanine.core.request.CurrentRequestMiddleware', 'mezzanine.core.middleware.RedirectFallbackMiddleware', 'mezzanine.core.middleware.TemplateForDeviceMiddleware', 'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', 'mezzanine.core.middleware.SitePermissionMiddleware', 'mezzanine.pages.middleware.PageMiddleware', 'mezzanine.core.middleware.FetchFromCacheMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NEVERCACHE_KEY | '********************' |
NUMBER_GROUPING | 0 |
OIDC_DEFAULT_GROUPS | ['SEPanel'] |
OIDC_EDITOR_GROUPS | ['Editor'] |
OIDC_OP_AUTHORIZATION_ENDPOINT | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/auth' |
OIDC_OP_JWKS_ENDPOINT | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/certs' |
OIDC_OP_LOGOUT_ENDPOINT | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/logout' |
OIDC_OP_LOGOUT_URL | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Fwww.oribium.net' |
OIDC_OP_LOGOUT_URLMETHOD | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Fwww.oribium.net%2Faccounts%2Flogout%3Fnext%3D%2F' |
OIDC_OP_TOKEN_ENDPOINT | '********************' |
OIDC_OP_USER_ENDPOINT | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/userinfo' |
OIDC_RP_CLIENT_ID | 'oribnet' |
OIDC_RP_CLIENT_SECRET | '********************' |
OIDC_RP_SIGN_ALGO | 'RS256' |
OIDC_WEBMASTER_GROUPS | ['Editors', 'Moderators'] |
OPTIONAL_APPS | ('debug_toolbar', 'django_extensions', 'compressor', 'filebrowser_safe', 'grappelli_safe') |
ORIBNET_API_KEY | '********************' |
ORIBNET_API_URL | '********************' |
PACKAGE_NAME_FILEBROWSER | 'filebrowser_safe' |
PACKAGE_NAME_GRAPPELLI | 'grappelli_safe' |
PAGE_MENU_TEMPLATES | ((1, 'Huvudmeny', 'pages/menus/dropdown.html'), (2, 'Meny vänster', 'pages/menus/tree.html'), (3, 'Sidfot', 'pages/menus/footer.html'), (4, 'SEPanel huvudmeny', 'menus/sepanel_dropdown.html'), (5, 'SEPanel sidfot', 'menus/sepanel_footer.html'), (6, 'SEPanel admin', 'menus/sepanel_admin.html'), (7, 'Support', 'pages/menus/support.html'), (8, 'SEPanel footer oidc', 'menus/sepanel_footer_oidc.html'), (9, 'SEPanel user', 'menus/sepanel_user.html')) |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_APP | 'oribium_net_36' |
PROJECT_APP_PATH | '/var/www/oribium_net_36/oribium_net_36' |
PROJECT_ROOT | '/var/www/oribium_net_36' |
REST_FRAMEWORK | {'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly']} |
RICHTEXT_WIDGET_CLASS | 'django.forms.Textarea' |
ROOT_URLCONF | 'oribium_net_36.urls' |
RSPAMD_API_KEY | '********************' |
RSPAMD_API_URL | '********************' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTO', 'https') |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | '.oribium.net' |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.cache' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'oribium_net_36.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITEPRO_API_PASSWD | '********************' |
SITEPRO_API_URL | '********************' |
SITEPRO_API_USERNAME | '********************' |
SITEPRO_CUSTOM_LOGO | 'http://www.development.oribium.net/static/media/uploads/sitepro/oribium_sitepro_logo.png' |
SITEPRO_FTP_IP | '151.80.55.68' |
SITEPRO_FTP_PASSWD | '********************' |
SITEPRO_FTP_USERNAME | 'vhostphp' |
SITE_ID | 1 |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/oribium_net_36/static/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/oribium_net_36/templates', '/var/www/oribium_net_36/pages_oribium/templates', '/var/www/oribium_net_36/sepanel_oribium/templates', '/var/www/oribium_net_36/stripe_oribium/templates', '/var/www/oribium_net_36/user_oribium/templates', '/var/www/oribium_net_36/login_oribium/templates', '/var/www/oribium_net_36/rspamd_oribium/templates', '/var/www/oribium_net_36/freeweb_world/templates'], 'OPTIONS': {'builtins': ['mezzanine.template.loader_tags'], 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.static', 'django.template.context_processors.media', 'django.template.context_processors.request', 'django.template.context_processors.tz', 'mezzanine.conf.context_processors.settings', 'mezzanine.pages.context_processors.page'], 'loaders': ['mezzanine.template.loaders.host_themes.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TESTING | False |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/Stockholm' |
UPDATE_USER_DATA | 'login_oribium.oidc.update_user_data' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_MODELTRANSLATION | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VHOST_API_KEY | '********************' |
VHOST_API_URL | '********************' |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | 'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.