Closed bobbarkers closed 2 weeks ago
might be the same for me, seeing the following in the log:
[ERROR]: Traceback (most recent call last): File "/app/src/plex.py", line 360, in update_user_watched log_marked( File "/app/src/functions.py", line 53, in log_marked with open(f"{mark_file}", "a", encoding="utf-8") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '
[ERROR]: Jellyfin: Error updating watched for in library TV Shows, [Errno 2] No such file or directory: '' [ERROR]: Traceback (most recent call last): File "/app/src/jellyfin_emby.py", line 728, in update_user_watched log_marked( File "/app/src/functions.py", line 53, in log_marked with open(f"{mark_file}", "a", encoding="utf-8") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: ''
[ERROR]: Jellyfin: Error updating watched, [Errno 2] No such file or directory: '' [ERROR]: [Errno 2] No such file or directory: '' [ERROR]: Traceback (most recent call last): File "/app/src/jellyfin_emby.py", line 728, in update_user_watched log_marked( File "/app/src/functions.py", line 53, in log_marked with open(f"{mark_file}", "a", encoding="utf-8") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/app/src/jellyfin_emby.py", line 838, in update_watched self.update_user_watched( File "/app/src/jellyfin_emby.py", line 752, in update_user_watched raise Exception(e) Exception: [Errno 2] No such file or directory: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/app/src/main.py", line 225, in main main_loop() File "/app/src/main.py", line 210, in main_loop server_2[1].update_watched( File "/app/src/jellyfin_emby.py", line 850, in update_watched raise Exception(e) Exception: [Errno 2] No such file or directory: ''
Type:
Docker Compose Docker X Unraid Native
I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works!
I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works!
Thank you VERY much for the follow up! i just did similar and its resolved it for me as well.
I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works!
I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did?
I just defined the location of the Mark File.
Mark file variable: /mnt/cache/appdata/jellyplex watched
Thanks, Shane Belanger
On Mon, Sep 23, 2024 at 9:12 AM paulmorabito @.***> wrote:
I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works!
I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did?
— Reply to this email directly, view it on GitHub https://github.com/luigi311/JellyPlex-Watched/issues/200#issuecomment-2368197384, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ . You are receiving this because you authored the thread.Message ID: @.***>
I just defined the location of the Mark File. Mark file variable: /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger … On Mon, Sep 23, 2024 at 9:12 AM paulmorabito @.> wrote: I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works! I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did? — Reply to this email directly, view it on GitHub <#200 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ . You are receiving this because you authored the thread.Message ID: @.>
Are you running via docker?
Yes, on unraid
Thanks, Shane Belanger
On Mon, Sep 23, 2024 at 9:18 AM paulmorabito @.***> wrote:
I just defined the location of the Mark File. Mark file variable: /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger … <#m3965104841890713168> On Mon, Sep 23, 2024 at 9:12 AM paulmorabito @.> wrote: I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works! I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did? — Reply to this email directly, view it on GitHub <#200 (comment) https://github.com/luigi311/JellyPlex-Watched/issues/200#issuecomment-2368197384>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ . You are receiving this because you authored the thread.Message ID: @.>
Are you running via docker?
— Reply to this email directly, view it on GitHub https://github.com/luigi311/JellyPlex-Watched/issues/200#issuecomment-2368215973, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR3JO632LNSDRJIJF6LZYAIJTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIYTKOJXGM . You are receiving this because you authored the thread.Message ID: @.***>
Yes, on unraid Thanks, Shane Belanger On Mon, Sep 23, 2024 at 9:18 AM paulmorabito @.> wrote: … I just defined the location of the Mark File. Mark file variable: /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger … <#m3965104841890713168> On Mon, Sep 23, 2024 at 9:12 AM paulmorabito @.> wrote: I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works! I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did? — Reply to this email directly, view it on GitHub <#200 (comment) <#200 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ . You are receiving this because you authored the thread.Message ID: @.> Are you running via docker? — Reply to this email directly, view it on GitHub <#200 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR3JO632LNSDRJIJF6LZYAIJTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIYTKOJXGM . You are receiving this because you authored the thread.Message ID: @.>
hmm same here. And you created MARK_FILE as an environment variable?
So if you go into edit the container and click on "show more settings" if you scroll down you get to the variable named: Mark_File and I just put the path below into the value for that setting. I also created the folder called jellyplex watched in my appdata folder.
/mnt/cache/appdata/jellyplex watched
Thanks, Shane Belanger
On Mon, Sep 23, 2024 at 9:21 AM paulmorabito @.***> wrote:
Yes, on unraid Thanks, Shane Belanger On Mon, Sep 23, 2024 at 9:18 AM paulmorabito @.
> wrote: … <#m2905006600525082417> I just defined the location of the Mark File. Mark file variable: /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger … <#m3965104841890713168> On Mon, Sep 23, 2024 at 9:12 AM paulmorabito @.> wrote: I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works! I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did? — Reply to this email directly, view it on GitHub <#200 https://github.com/luigi311/JellyPlex-Watched/issues/200 (comment) <#200 (comment) https://github.com/luigi311/JellyPlex-Watched/issues/200#issuecomment-2368197384>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ . You are receiving this because you authored the thread.Message ID: @.> Are you running via docker? — Reply to this email directly, view it on GitHub <#200 (comment) https://github.com/luigi311/JellyPlex-Watched/issues/200#issuecomment-2368215973>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR3JO632LNSDRJIJF6LZYAIJTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIYTKOJXGM https://github.com/notifications/unsubscribe-auth/BCDVOR3JO632LNSDRJIJF6LZYAIJTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIYTKOJXGM . You are receiving this because you authored the thread.Message ID: @. **>
hmm same here. And you created MARK_FILE as an environment variable?
— Reply to this email directly, view it on GitHub https://github.com/luigi311/JellyPlex-Watched/issues/200#issuecomment-2368230194, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR6W7V54LIK3LSC4CVLZYAIXLAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIZTAMJZGQ . You are receiving this because you authored the thread.Message ID: @.***>
So if you go into edit the container and click on "show more settings" if you scroll down you get to the variable named: Mark_File and I just put the path below into the value for that setting. I also created the folder called jellyplex watched in my appdata folder. /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger On Mon, Sep 23, 2024 at 9:21 AM paulmorabito @.> wrote: … Yes, on unraid Thanks, Shane Belanger On Mon, Sep 23, 2024 at 9:18 AM paulmorabito @. > wrote: … <#m2905006600525082417> I just defined the location of the Mark File. Mark file variable: /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger … <#m3965104841890713168> On Mon, Sep 23, 2024 at 9:12 AM paulmorabito @.> wrote: I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works! I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did? — Reply to this email directly, view it on GitHub <#200 <#200> (comment) <#200 (comment) <#200 (comment)>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ . You are receiving this because you authored the thread.Message ID: @.> Are you running via docker? — Reply to this email directly, view it on GitHub <#200 (comment) <#200 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR3JO632LNSDRJIJF6LZYAIJTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIYTKOJXGM https://github.com/notifications/unsubscribe-auth/BCDVOR3JO632LNSDRJIJF6LZYAIJTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIYTKOJXGM . You are receiving this because you authored the thread.Message ID: @.* *> hmm same here. And you created MARK_FILE as an environment variable? — Reply to this email directly, view it on GitHub <#200 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR6W7V54LIK3LSC4CVLZYAIXLAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIZTAMJZGQ . You are receiving this because you authored the thread.Message ID: @.>
Hmm OK I think I have gotten to the bottom of this. Firstly, I was using an older version of the Unraid template so was missing the extra variables added. I don't know why manually adding MARK_FILE variable didn't work. I could have tried deleting the docker image again and manually rebuilding but ended up just removing it all and start again from the new template.
Regarding the path in MARK_FILE. I was confused as to why it worked for you as that path is not accessible in the container unless you have specifically added a mount point to access it (and if you are using the template, I assume not?). I set MARK_FILE initially to be in /tmp and it worked and then mounted /config and pointed it to an appdata folder. The previous file I had there didn't get updated so I don't think its using the MARK_FILE at all and just errors out because the code is expecting a path. If it does start relying on that file then @bobbarkers you may have an issue. If so, you'll need to update the path to a valid one in the container or create a mountpoint to your appdata location.
Thanks for pointing me in the right direction!
So if you go into edit the container and click on "show more settings" if you scroll down you get to the variable named: Mark_File and I just put the path below into the value for that setting. I also created the folder called jellyplex watched in my appdata folder. /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger On Mon, Sep 23, 2024 at 9:21 AM paulmorabito @.> wrote: … Yes, on unraid Thanks, Shane Belanger On Mon, Sep 23, 2024 at 9:18 AM paulmorabito @. > wrote: … <#m2905006600525082417> I just defined the location of the Mark File. Mark file variable: /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger … <#m3965104841890713168> On Mon, Sep 23, 2024 at 9:12 AM paulmorabito @.> wrote: I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works! I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did? — Reply to this email directly, view it on GitHub <#200 <#200> (comment) <#200 (comment) <#200 (comment)>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ . You are receiving this because you authored the thread.Message ID: @.> Are you running via docker? — Reply to this email directly, view it on GitHub <#200 (comment) <#200 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR3JO632LNSDRJIJF6LZYAIJTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIYTKOJXGM https://github.com/notifications/unsubscribe-auth/BCDVOR3JO632LNSDRJIJF6LZYAIJTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIYTKOJXGM . You are receiving this because you authored the thread.Message ID: @.* *> hmm same here. And you created MARK_FILE as an environment variable? — Reply to this email directly, view it on GitHub <#200 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR6W7V54LIK3LSC4CVLZYAIXLAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGIZTAMJZGQ . You are receiving this because you authored the thread.Message ID: @.>
That worked for me thank you for the step by step
I just defined the location of the Mark File. Mark file variable: /mnt/cache/appdata/jellyplex watched Thanks, Shane Belanger … On Mon, Sep 23, 2024 at 9:12 AM paulmorabito @.> wrote: I figured out the issue. I needed to go into the settings of the container and give the MARK_FILE a designated folder. I just added a folder called "Jellyplex watched" to my appdata and it works! I created a /config for the container and an environment variable (MARK_FILE=/config) and I'm still getting the error. Is this the same as what you did? — Reply to this email directly, view it on GitHub <#200 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCDVOR7RRG3PLHR42NWMZBDZYAHUTAVCNFSM6AAAAABOLQDBWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGE4TOMZYGQ . You are receiving this because you authored the thread.Message ID: @.>
This worked for me as well! thank you!
looks like this is mostly an unraid issue. Can you guys update the unraid template for new people? Its located here https://github.com/luigi311/unraid-templates
I recently moved away from unraid so i have no way to test any changes there.
I think it might just be as simple as setting the default value for MARK_FILE in the unraid template to /tmp/mark.log. This should be fixed for new unraid users. If they do want to keep track of it then setting it to a mounted path similar to how was mentioned above that should work too.
Describe the bug Plex watched status isn't syncing with Jellyfin. Both Plex and Jellyfin are on the same server.
To Reproduce Steps to reproduce the behavior: JellyPlex Watched won't sync watch state
Expected behavior Watch state syncs
Logs If applicable, add logs to help explain your problem ideally with DEBUG set to true, be sure to remove sensitive information
[ERROR]: Jellyfin: Error updating watched for ###REMOVED### in library Movies Remote, [Errno 2] No such file or directory: '' [ERROR]: Traceback (most recent call last): File "/app/src/jellyfin_emby.py", line 594, in update_user_watched log_marked( File "/app/src/functions.py", line 53, in log_marked with open(f"{mark_file}", "a", encoding="utf-8") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: ''
[ERROR]: Jellyfin: Error updating watched, [Errno 2] No such file or directory: '' [ERROR]: [Errno 2] No such file or directory: '' [ERROR]: Traceback (most recent call last): File "/app/src/jellyfin_emby.py", line 594, in update_user_watched log_marked( File "/app/src/functions.py", line 53, in log_marked with open(f"{mark_file}", "a", encoding="utf-8") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/app/src/jellyfin_emby.py", line 838, in update_watched self.update_user_watched( File "/app/src/jellyfin_emby.py", line 752, in update_user_watched raise Exception(e) Exception: [Errno 2] No such file or directory: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/app/src/main.py", line 225, in main main_loop() File "/app/src/main.py", line 210, in main_loop server_2[1].update_watched( File "/app/src/jellyfin_emby.py", line 850, in update_watched raise Exception(e) Exception: [Errno 2] No such file or directory: ''
Retrying in 3600.0
Type:
Additional context Add any other context about the problem here.