Ombi-app / Ombi

Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
http://ombi.io
GNU General Public License v2.0
3.73k stars 397 forks source link

Requests not marked available V 3.0.3950 #2626

Closed pyto00 closed 5 years ago

pyto00 commented 6 years ago

Ombi build Version:

V 3.0.3950

Update Branch:

Develop

Media Sever:

Plex

Media Server Version:

Version 1.13.9.5439

Operating System:

Ubuntu 18.04.1 LTS

Ombi Applicable Logs (from /logs/ directory or the Admin page):

2018-10-30 01:28:17.138 +00:00 [Error] StatusCode: TooManyRequests, Reason: , RequestUri: http://api.themoviedb.org/3/movie/103218?api_key=*************************************&append_to_response=videos,release_dates
2018-10-30 01:28:17.162 +00:00 [Error] Retrying RequestUri: http://api.themoviedb.org/3/movie/437667?api_key=************************************* Because we got Status Code: TooManyRequests
2018-10-30 01:28:17.172 +00:00 [Error] Retrying RequestUri: http://api.themoviedb.org/3/movie/318342?api_key=*************************************&append_to_response=videos,release_dates Because we got Status Code: TooManyRequests
2018-10-30 01:28:17.210 +00:00 [Error] Retrying RequestUri: http://api.themoviedb.org/3/movie/174209?api_key=*************************************&append_to_response=videos,release_dates Because we got Status Code: TooManyRequests
2018-10-30 01:28:17.215 +00:00 [Error] Retrying RequestUri: http://api.themoviedb.org/3/movie/17707?api_key=*************************************&append_to_response=videos,release_dates Because we got Status Code: TooManyRequests
2018-10-30 01:28:17.215 +00:00 [Error] Retrying RequestUri: http://api.themoviedb.org/3/movie/370391?api_key=************************************* Because we got Status Code: TooManyRequests
2018-10-30 01:28:17.230 +00:00 [Error] Retrying RequestUri: http://api.themoviedb.org/3/movie/103218?api_key=*************************************&append_to_response=videos,release_dates Because we got Status Code: TooManyRequests

Problem Description:

The requests are not marked available. It also doesnt work when manually running the sync in settings. There is no info in the log folder, i've added the log info, its only showing too many requests error, I don't think that that is the culprit.

Also I checked the Ombi.db and Plexepisode, PlexSeasonContent,PlexServerContent is completely empty. I have no idea anymore what I can do to get it working.

tidusjar commented 5 years ago

@bott0r Thanks, after applying the fix above can you ensure the plex server is enabled in the ombi settings, run a scan and re-send it?

ma-karai commented 5 years ago

@bott0r Thanks, after applying the fix above can you ensure the plex server is enabled in the ombi settings, run a scan and re-send it?

I'll give it a try.. fix applied:

root@2f184c90199f:/# locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
root@2f184c90199f:/#

emby (not plex for me) restarted, ombi restarted, and run the manual cacher, no change, db sent

pyto00 commented 5 years ago

@bott0r
Before the fix when I ran locale it already said en_US.UTF-8 was set. It seems that you have to re-set it to get it all working.

lastb0isct commented 5 years ago

I swapped over to my docker instance and it now is working...so weird but glad it is fixed for me.

colfin22 commented 5 years ago

I'm running Ombi in a docker container, can someone explain to me how I apply this UTF-8 fix. Do I apply it in the container or on the host

ma-karai commented 5 years ago

open a shell, connect to your ombi container and check if the locals are already set. If not, change your container starting parameter and set them -e lang=whaterver etc.

AciDCooL commented 5 years ago

I have the same problem, but I'm running with Emby. Versions; Ombi 3.0.4036-master and Emby 3.6.0.79 beta Thought this might be because i'm on Emby beta and just maybe they changed the imdbid / tmdbid api urls, but this post changes things since it also happends on Plex.

Hosting environment: Production,
Content root path: /opt/ombi,
Now listening on: http://[::]:3579,
Application started. Press Ctrl+C to shut down.,
info: Ombi.Schedule.Jobs.Ombi.RefreshMetadata[0],
      Starting the Metadata refresh,
info: Ombi.Schedule.Jobs.Ombi.RefreshMetadata[0],
      The Media item '******' Unmasked does not have a TheMovieDbId, searching for TheMovieDbId,

I checked a few and they have both id's in place. Is this related, and can I help in any way?

tidusjar commented 5 years ago

@AciDCooL It's been fixed in develop for Emby

drag0n141 commented 5 years ago

Hello, i have still this issue, i can not set my locale. In LC_All is still nothing. Is there a way to set this?

pyto00 commented 5 years ago

Hello, i have still this issue, i can not set my locale. In LC_All is still nothing. Is there a way to set this?

Why can't you set your locale ? What is keeping it from executing it ?

drag0n141 commented 5 years ago

When i executing it nothing happend.

neyz commented 5 years ago

It seems I also have the problem on linux (using installed version in /opt)

My locale is defined and I'm using latest version of Plex :

LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=

what can I do to help ?

mizled commented 5 years ago

I'm also having this issue. I'm using Ubuntu 16.04.4

LANG=en_IN.UTF-8 LANGUAGE= LC_CTYPE="en_IN.UTF-8" LC_NUMERIC="en_IN.UTF-8" LC_TIME="en_IN.UTF-8" LC_COLLATE="en_IN.UTF-8" LC_MONETARY="en_IN.UTF-8" LC_MESSAGES="en_IN.UTF-8" LC_PAPER="en_IN.UTF-8" LC_NAME="en_IN.UTF-8" LC_ADDRESS="en_IN.UTF-8" LC_TELEPHONE="en_IN.UTF-8" LC_MEASUREMENT="en_IN.UTF-8" LC_IDENTIFICATION="en_IN.UTF-8" LC_ALL=

pyto00 commented 5 years ago

Already tried to redefine local and reboot ?

sudo localectl set-locale LANG=en_US.UTF-8

mizled commented 5 years ago

Yes, I have tried that multiple times now. Redfined locale, rebooted, still not working.

LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=

mizled commented 5 years ago

This is working now. On my server I set my locale with the command "sudo localectl set-locale LANG=en_US.UTF-8" and then rebooted like was suggested (I did this 3 times before). I also re-added my Plex connection and ran a manual full sync. Ombi is now marking requests as available again! I'm not sure which actually fixed it.

SturmB commented 5 years ago

I have my Ombi running in a Docker container. LC_ALL is still undefined for me, and I cannot seem to set it:

root@cc30e04c6f0e:~# locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
root@cc30e04c6f0e:~# localectl set-locale LANG=en_IN.UTF-8
bash: localectl: command not found

What now?

slawrensen commented 4 years ago

Running in docker with the hotio Ombi docker image, all settings are at en_US.UTF-8 and still doesn't work. Do you have any recommendations on next troubleshooting steps or potential resolution?

hacslarshome commented 4 years ago

Still an issue

Nammurg commented 3 years ago

I am experiencing the same issue on docker...

root@linuxserver-ombi1:/# locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=