Open louiseuk opened 10 months ago
Also running into the same issue using Docker on AlmaLinux 9.x with privileged mode enabled.
Same issue with docker-compose on ubuntu 20 server.
Looks like this is an issue with how you guys have your user mapping variables set. Can you guys post what you guys have in either unraid or in your docker compose
Thanks, luigi. I'm running off an UNRAID template - Container Variable: USER_MAPPING louise.uk:louise (first is plex username, second is jellyfin username, but it doesn't matter which order, I get the same error)
Can you try {"louise.uk":"louise"}
No luck, similar (but slightly different) error...
[ERROR]: Extra data: line 1 column 12 (char 11) [ERROR]: Traceback (most recent call last): File "/app/src/main.py", line 385, in main main_loop() File "/app/src/main.py", line 261, in main_loop user_mapping = json.loads(user_mapping.lower()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 340, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 12 (char 11)
unfortunately this isnt something i can replicate when i put in what i told you. If i put it in without the curly braces i get the same error but it works perfectly fine when i copy and paste in {"louise.uk":"louise"}
Does it run without any errors if you try with the user mapping being empty?
I am using portainer and can't get the docker-compose. I didn't make it a stack.
I was receiving the same error in Unraid that started this issue and successful fixed my issue utilizing {"user1":"user11"}
Describe the bug Bug/error happens when launching application via Docker UI in unraid.
To Reproduce Steps to reproduce the behavior: Run app Open log file
Expected behavior Application should run
Logs [ERROR]: Expecting value: line 1 column 1 (char 0) [ERROR]: Traceback (most recent call last): File "/app/src/main.py", line 385, in main main_loop() File "/app/src/main.py", line 261, in main_loop user_mapping = json.loads(user_mapping.lower()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/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)
Retrying in 3600.0
Type:
Additional context Add any other context about the problem here.