-
-
Notifications
You must be signed in to change notification settings - Fork 304
Server Error (500) #1018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
run: cd obico-server && docker compose run web ./manage.py site --add xxxx Add your server local IP where xxxx is. I had same issue, It took 2 days to just happen to come come across an article in the guide to find the fix. Not sure why it's not in the install/setup guide if you're required to do so instead of being briefly noted while looking into the more in depth server config settings. Its at the end of where it shows all the changes needed to be made through the DJango admin pages for setting up the server that you cant access until you run that command. Instead of being at the beginning since you cant access those pages to make suggested changes. Look where it shows 4.2 on https://www.obico.io/docs/server-guides/configure/ It should also be noted on the github page in the instructions instead of "4. There is no step 4. This is how easy it is to get Obico up and running (thanks to Docker and Docker-compose)." Since you cant move forward and access the http://localhost:3334/ page until to do this step. |
Cheers, that worked straight away. Obviously this step needs to be added for the unraid install. |
@WhiskeySheppard thank you for pointing out that the help doc may be misleading. Fixed it with d2ba7b9 |
Trying to install on unraid docker, following exact instructions on Obico how to and I get a Server Error (500) when navigating to the web server.
I'm not experienced with docker compose and I'm stuck on what to do next.
See below log.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/asgiref/sync.py", line 534, in thread_handler
raise exc_info[1]
File "/usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 43, in inner
response = await get_response(request)
File "/usr/local/lib/python3.10/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
File "/usr/local/lib/python3.10/site-packages/asgiref/sync.py", line 479, in call
ret: _R = await loop.run_in_executor(
File "/usr/local/lib/python3.10/site-packages/asgiref/current_thread_executor.py", line 40, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/asgiref/sync.py", line 538, in thread_handler
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/generic/base.py", line 84, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/decorators/debug.py", line 92, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/decorators/cache.py", line 62, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/allauth/account/views.py", line 84, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/allauth/account/mixins.py", line 40, in dispatch
response = super().dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/generic/base.py", line 119, in dispatch
return handler(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/allauth/account/mixins.py", line 59, in get
response = super().get(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/generic/edit.py", line 144, in get
return self.render_to_response(self.get_context_data())
File "/usr/local/lib/python3.10/site-packages/allauth/account/views.py", line 106, in get_context_data
site = get_current_site(self.request)
File "/usr/local/lib/python3.10/site-packages/django/contrib/sites/shortcuts.py", line 14, in get_current_site
return Site.objects.get_current(request)
File "/usr/local/lib/python3.10/site-packages/django/contrib/sites/models.py", line 61, in get_current
return self._get_site_by_request(request)
File "/usr/local/lib/python3.10/site-packages/django/contrib/sites/models.py", line 45, in _get_site_by_request
SITE_CACHE[domain] = self.get(domain__iexact=domain)
File "/usr/local/lib/python3.10/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 496, in get
raise self.model.DoesNotExist(
django.contrib.sites.models.Site.DoesNotExist: Site matching query does not exist.
The text was updated successfully, but these errors were encountered: