cant add new sets #34
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
like on Issue #33... i cant add new sets.
I've used the unraid docker app. Created an .env and app.db. Gave all the folders... but every time i want to add an new set i cot these logs:
File "/usr/local/lib/python3.13/threading.py", line 1041, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/usr/local/lib/python3.13/threading.py", line 992, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/app.py", line 197, in new_set response = json.loads(rebrick.lego.get_set(set_num).read()) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/rebrick/api_lego.py", line 675, in get_set return request(path, parameters) File "/usr/local/lib/python3.13/site-packages/rebrick/request.py", line 68, in request handle = urllib.request.urlopen(url, context=_SSL_CONTEXT) File "/usr/local/lib/python3.13/urllib/request.py", line 189, in urlopen return opener.open(url, data, timeout) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/urllib/request.py", line 495, in open response = meth(req, response) File "/usr/local/lib/python3.13/urllib/request.py", line 604, in http_response response = self.parent.error( 'http', request, response, code, msg, hdrs) File "/usr/local/lib/python3.13/urllib/request.py", line 533, in error return self._call_chain(*args) ~~~~~~~~~~~~~~~~^^^^^^^ File "/usr/local/lib/python3.13/urllib/request.py", line 466, in _call_chain result = func(*args) File "/usr/local/lib/python3.13/urllib/request.py", line 613, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 401: Unauthorized
Your issue is likely wrong environment variables in the docker compose file. Look at https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker#setup-using-pre-build-docker-image.
If using the pre-build image, you need to have use docker environment variables and not an
.env
file.I don't use unraid and i did not create the unraid template.
You have to add variables like this
@csuno Try using @bckthms setup. I am sorry, but I can't help with unraid.
Thanks alot. Than the UNRAID Template was not prepared, good enough. ;)
I've added this manualy... and now everything works!
THANKS!