Download feature on plex for linux doesn't work correctly

Player Version#: plex for linux 1.45.0.3017-e5c724f3

I’m trying the new plex for linux and it works fine but download features has a problem.
If I try to download movies : no problems
if I try to download series : I can download 1 episode and then cannot download another one from the same serie. If I try to download another serie, same problem … I can only download 1 episode …
If I go in downloads category in the right side menu, I get this message : “There was an unexpected error”
and If I check the log file, I can find this error message :

 "message": "Request failed with status code 404",
  "name": "Error",
  "stack": "Error: Request failed with status code 404\n    at e.exports (file:///snap/plex-desktop/8/resources/web-client/js/697-697-126aed3800553cc20b0c-plex-4.82.0.23922-a56097c.js:2:521992)\n    at e.exports (file:///snap/plex-desktop/8/resources/web-client/js/697-697-126aed3800553cc20b0c-plex-4.82.0.23922-a56097c.js:2:524415)\n    at XMLHttpRequest.y (file:///snap/plex-desktop/8/resources/web-client/js/697-697-126aed3800553cc20b0c-plex-4.82.0.23922-a56097c.js:2:517314)",
  "status": 404,
  "data": {
    "Error": {
      "error": "Not Found",
      "message": "Not Found",
      "statusCode": 404
    }
  }
}
Jun 06, 2022 21:04:01.191 [0x7f9416a178c0] ERROR - [Web] {
  "message": "Request failed with status code 500",
  "name": "Error",
  "stack": "Error: Request failed with status code 500\n    at e.exports (file:///snap/plex-desktop/8/resources/web-client/js/697-697-126aed3800553cc20b0c-plex-4.82.0.23922-a56097c.js:2:521992)\n    at e.exports (file:///snap/plex-desktop/8/resources/web-client/js/697-697-126aed3800553cc20b0c-plex-4.82.0.23922-a56097c.js:2:524415)\n    at XMLHttpRequest.y (file:///snap/plex-desktop/8/resources/web-client/js/697-697-126aed3800553cc20b0c-plex-4.82.0.23922-a56097c.js:2:517314)",
  "status": 500,
  "data": "<html><head><title>Internal Server Error</title></head><body><h1>500 Internal Server Error</h1></body></html>"
}

If I try with Windows version of plex desktop, no problem … everything works fine.

1 Like

Same here. Was eager to download a movie in my laptop for a flight I have tomorrow and apparently this feature doesn’t work at all :frowning:

Please post full debug server logs, as well as logs from the player, and the embedded “nano” Plex server.
I’m told you should find those app and nano logs around here: /home/USER/snap

I found this Log :

Plex Media Server.log (71.7 KB)
Plex.log (145.8 KB)

I don’t have server plex access, it’s not mine.

You currently don’t have any other Plex server shared with your Plex account. No server, no downloads.

These logs don’t contain an attempt to download anything. You are going to have to launch the app, attempt to download something, and then post the logs.

OK, I just downloaded another serie, just 2 episodes are downloaded ( I find just the first episode in sync folder … no episode 2) and nothing after :
Capture d’écran du 2022-06-08 17-04-56

and log file :
Plex.log (235.2 KB)
Plex Media Server.log (189.0 KB)

In your logs are entries such as Jun 08, 2022 17:02:11.806 [0x7f820f7fe700] ERROR - [MediaRecorderDecision/26d9c70df05ea3a2f153e63596aba85df49fbe46] safe_fopen: fopen for '"/home/tigermick/snap/plex-desktop/common/Plex Media Server/Sync/1/2/.grab/26d9c70df05ea3a2f153e63596aba85df49fbe46-r1v81umrfrhlwpc4ibosndg4/Les Aventures de Tom Sawyer (1980) - S01E01 - Le cochon sauvage.mkv"' failed: 2 (No such file or directory)

What is the last directory on this path that exists?

I can find exactly this directory : “/home/tigermick/snap/plex-desktop/common/Plex Media Server/Sync/1/2/.grab/26d9c70df05ea3a2f153e63596aba85df49fbe46-r1v81umrfrhlwpc4ibosndg4/”
but I find just this file inside : “Les Aventures de Tom Sawyer (1980) - S01E04 - Sortilege.mkv”

The file : “Les Aventures de Tom Sawyer (1980) - S01E01 - Le cochon sauvage.mkv” is in this directory : /home/tigermick/snap/plex-desktop/common/Plex Media Server/Sync/1/2/Les Aventures de Tom Sawyer (1980)/Season 01/

I had forgotten that the above error occurs when it can’t open the file for resume which means it’s normal for cases when a file isn’t resumed. Your problem is something else which unfortunately isn’t captured in the logs. I have a theory but I may need to see a copy of the database. You can find it in ~/snap/plex-desktop/common/Plex Media Server/Plug-in Support/Databases and I need all the files that start with com.plexapp.plugins.library.sync. Please send this to me in a DM as it contains sensitive info.

Hi,

I can’t send you a DM … I have this message :
“Sorry, gbooker02 is not accepting messages at the moment.”

Ah yes, I disabled it because too many on the forums were sending unsolicited DMs. Oh well, I don’t need the database anymore because I tracked down where the issue was. It should make it into a future release.

super! thank you very much !

Hello!
Does that include the error opening the Downloads tab after something has been downloaded?

Yes it does.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.