So yes you're right, I went back in and created a proper postgres database and user. I assigned the user full admin rights in the end as I was coming across the same permissions error (I know this might not be the best security wise, but I'm only going to host wger on this postgres container.
So I'm not at the stage where I can "access" the web gui, but it still errors.
The error I'm getting now on the web gui is,
"An error occurred
There was an error on the server while processing your request. Try refreshing your browser and if that doesn't help, please try again at a later time. If the problem persists, you can seek help in ways listed below:"
And from within the logfiles of the container I'm getting some errors (lol), such as,
[09/Jan/2024 07:37:17] "GET / HTTP/1.1" 302 0
[09/Jan/2024 07:37:17] "GET /en-gb/ HTTP/1.1" 302 0
ERROR 2024-01-09 07:37:18,073 log Internal Server Error: /en-gb/software/features
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
and,
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/wger/src/wger/software/views.py", line 48, in features
result_github_api = requests.get('https://api.github.com/repos/wger-project/wger').json()
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
They seem to be the related to each other, but I have no idea how or why it's throwing them