Jump to content
linuxserver.io

[Support] Linuxserver.io - Ombi

524 posts in this topic Last Reply

Recommended Posts

If i want to change the Base URL to /requests, do i simply change every instance of ombi to requests or are there only certain ones?

 

In ombi GUI i have changed ombi in both locations (Application URL and Base URL)

	location /requests {		
     		return 301 $scheme://$host/requests/;		
	}
	
	location /requests/ {
    		proxy_pass http://192.168.0.3:3579;
    		proxy_set_header Host $host;
    		proxy_set_header X-Forwarded-Host $server_name;
    		proxy_set_header X-Real-IP $remote_addr;
    		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    		proxy_set_header X-Forwarded-Ssl on;
    		proxy_set_header X-Forwarded-Proto $scheme;
    		proxy_read_timeout  90;
    		proxy_redirect http://192.168.0.3:3579 https://$host;
	}

	if ($http_referer ~* /requests/) {
	        rewrite ^/dist/(.*) $scheme://$host/requests/dist/$1 permanent;
	}

VS. (5 changes)

location /ombi {		
     		return 301 $scheme://$host/ombi/;		
	}
	
	location /ombi/ {
    		proxy_pass http://192.168.0.3:3579;
    		proxy_set_header Host $host;
    		proxy_set_header X-Forwarded-Host $server_name;
    		proxy_set_header X-Real-IP $remote_addr;
    		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    		proxy_set_header X-Forwarded-Ssl on;
    		proxy_set_header X-Forwarded-Proto $scheme;
    		proxy_read_timeout  90;
    		proxy_redirect http://192.168.0.3:3579 https://$host;
	}

	if ($http_referer ~* /ombi/) {
	        rewrite ^/dist/(.*) $scheme://$host/ombi/dist/$1 permanent;
	}

 

Edited by Ockingshay

Share this post


Link to post

For some odd reason my Radarr docker became orphaned.  I recreated the Radarr docker. Question: Movie requests were made will Radarr was down (it was down three days), will Ombi automatically update Radarr with those missing movies now that both are up or do I need to manually add those movies that were add while Radatt was down?

Share this post


Link to post
4 hours ago, krh1009 said:

For some odd reason my Radarr docker became orphaned.  I recreated the Radarr docker. Question: Movie requests were made will Radarr was down (it was down three days), will Ombi automatically update Radarr with those missing movies now that both are up or do I need to manually add those movies that were add while Radatt was down?

 

In my experience, you will need to manually add them. They're in "limbo".

Share this post


Link to post
On 8/6/2018 at 4:24 PM, Ockingshay said:

If i want to change the Base URL to /requests, do i simply change every instance of ombi to requests or are there only certain ones?

 

In ombi GUI i have changed ombi in both locations (Application URL and Base URL)

 

All of them

Share this post


Link to post

@strike


 

docker exec -it ombi bash

apt update

apt install sqlite

Will install sqlite for you to debug.  If @tidusjar confirms we actually need to add it to the container then we can do so.

Share this post


Link to post
location /ombi {		
     		return 301 $scheme://$host/ombi/;		
	}
	
	location /ombi/ {
    		proxy_pass http://192.168.1.113:3579;
    		proxy_set_header Host $host;
    		proxy_set_header X-Forwarded-Host $server_name;
    		proxy_set_header X-Real-IP $remote_addr;
    		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    		proxy_set_header X-Forwarded-Ssl on;
    		proxy_set_header X-Forwarded-Proto $scheme;
    		proxy_read_timeout  90;
    		proxy_redirect http://192.168.1.113:3579 https://$host;
	}

	if ($http_referer ~* /ombi/) {
	        rewrite ^/dist/(.*) $scheme://$host/ombi/dist/$1 permanent;
	}

im sure im messing up something trying to reverse proxy ombi letsencrypt logs keep telling me

 

nginx: [emerg] unknown directive " return" in /config/nginx/site-confs/default:80
nginx: [emerg] unknown directive " return" in /config/nginx/site-confs/default:80

can someone tell me what it is im messing up ?

Edited by Sinister

Share this post


Link to post
48 minutes ago, Sinister said:

location /ombi {		
     		return 301 $scheme://$host/ombi/;		
	}
	
	location /ombi/ {
    		proxy_pass http://192.168.1.113:3579;
    		proxy_set_header Host $host;
    		proxy_set_header X-Forwarded-Host $server_name;
    		proxy_set_header X-Real-IP $remote_addr;
    		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    		proxy_set_header X-Forwarded-Ssl on;
    		proxy_set_header X-Forwarded-Proto $scheme;
    		proxy_read_timeout  90;
    		proxy_redirect http://192.168.1.113:3579 https://$host;
	}

	if ($http_referer ~* /ombi/) {
	        rewrite ^/dist/(.*) $scheme://$host/ombi/dist/$1 permanent;
	}

im sure im messing up something trying to reverse proxy ombi letsencrypt logs keep telling me

 

nginx: [emerg] unknown directive " return" in /config/nginx/site-confs/default:80
nginx: [emerg] unknown directive " return" in /config/nginx/site-confs/default:80

can someone tell me what it is im messing up ?

 

It looks like there is an invisible/blank character before that return. Did you copy paste from somewhere? Try removing that and restart the container

Share this post


Link to post
17 minutes ago, aptalca said:

 

It looks like there is an invisible/blank character before that return. Did you copy paste from somewhere? Try removing that and restart the container

that seems to have fixed the issue its working thank you

Share this post


Link to post

Is there a way to for Ombi to reprocess existing requests? 

 

An issue that has now come up twice for me has been that my Couch Potato database became corrupt and had to be deleted.  I was thinking it would be super handy if there was a way to reprocess existing requests as a way to quickly rebuild your Couch Potato database.

Share this post


Link to post

Hello.. 

 

Anyone else having trouble connecting to plex? 

 

Below is my logs for when i test connection, which results in 'We could not connect to plex'

018-10-30 20:56:09.889 +01:00 [Error] Could not test Plex
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.IOException: The server returned an invalid or unrecognized response.
   at System.Net.Http.HttpConnection.FillAsync()
   at System.Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync(Boolean foldedHeadersAllowed)
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at Ombi.Api.OmbiHttpClient.SendAsync(HttpRequestMessage request) in C:\projects\requestplex\src\Ombi.Api\OmbiHttpClient.cs:line 61
   at Ombi.Api.Api.Request[T](Request request) in C:\projects\requestplex\src\Ombi.Api\Api.cs:line 38
   at Ombi.Api.Plex.PlexApi.GetStatus(String authToken, String uri) in C:\projects\requestplex\src\Ombi.Api.Plex\PlexApi.cs:line 97
   at Ombi.Controllers.External.TesterController.Plex(PlexServers settings) in C:\projects\requestplex\src\Ombi\Controllers\External\TesterController.cs:line 246

Both plex and ombi are running br0 on seperate IP's. not sure if that could cause a problem?

 

Thanks

Share this post


Link to post
8 minutes ago, Madhouse said:

Hello.. 

 

Anyone else having trouble connecting to plex? 

 

Below is my logs for when i test connection, which results in 'We could not connect to plex'


018-10-30 20:56:09.889 +01:00 [Error] Could not test Plex
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.IOException: The server returned an invalid or unrecognized response.
   at System.Net.Http.HttpConnection.FillAsync()
   at System.Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync(Boolean foldedHeadersAllowed)
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at Ombi.Api.OmbiHttpClient.SendAsync(HttpRequestMessage request) in C:\projects\requestplex\src\Ombi.Api\OmbiHttpClient.cs:line 61
   at Ombi.Api.Api.Request[T](Request request) in C:\projects\requestplex\src\Ombi.Api\Api.cs:line 38
   at Ombi.Api.Plex.PlexApi.GetStatus(String authToken, String uri) in C:\projects\requestplex\src\Ombi.Api.Plex\PlexApi.cs:line 97
   at Ombi.Controllers.External.TesterController.Plex(PlexServers settings) in C:\projects\requestplex\src\Ombi\Controllers\External\TesterController.cs:line 246

Both plex and ombi are running br0 on seperate IP's. not sure if that could cause a problem?

 

Thanks

 

 

This is the exact issue.   Unless you reverse proxy the containers and use those as the URLs for connecting br0'ds can not communicate with each other.  

Share this post


Link to post
1 minute ago, fmp4m said:

 

 

This is the exact issue.   Unless you reverse proxy the containers and use those as the URLs for connecting br0'ds can not communicate with each other.  

Thanks. I see, i have no problem connecting to Sonarr and Medusa though. and i have no idea what how to reverse proxy the dockes, although i should be able to use my google fu for that. :)

Share this post


Link to post
Just now, Madhouse said:

Thanks. I see, i have no problem connecting to Sonarr and Medusa though. and i have no idea what how to reverse proxy the dockes, although i should be able to use my google fu for that. :)

If you use reverse proxy right now,  http://IPorHOSTNAME/docker or http://docker.IPorHostname/ then use that as the connectivity IP address.

If not,  Then it wont see them as Br0 IPs can not cross communicate.   

 

My plex is setup as "host" with ombi and the rest as bridge. 

Share this post


Link to post
4 minutes ago, fmp4m said:

If you use reverse proxy right now,  http://IPorHOSTNAME/docker or http://docker.IPorHostname/ then use that as the connectivity IP address.

 If not,  Then it wont see them as Br0 IPs can not cross communicate.   

 

My plex is setup as "host" with ombi and the rest as bridge. 

Thanks a lot. I'll dig into it then :)

thanks for taking time to help me out. 

Share this post


Link to post
16 hours ago, fmp4m said:

If you use reverse proxy right now,  http://IPorHOSTNAME/docker or http://docker.IPorHostname/ then use that as the connectivity IP address.

If not,  Then it wont see them as Br0 IPs can not cross communicate.   

 

My plex is setup as "host" with ombi and the rest as bridge. 

Strangest thing. after messing around a bit, moving ombi to host and then back to br0, it suddenly connected.

both plex and ombi is running on br0. 

 

Share this post


Link to post
On 7/28/2018 at 3:50 PM, MandalorePatriot said:

Any chance the appsettings.json can be included in appdata? I have little understanding if this is possible, but it would solve configuration issues for many of us. For example, you are unable to customize the landing/login pages because the file re-pulls each update. I hope this is something that can be modified without reverting back each time. Thanks!

 

Customize Landing/Login Pages: https://github.com/tidusjar/Ombi/wiki/Customize-the-Landing-and-Login-background

Any update on this? Also interested.

Share this post


Link to post
3 hours ago, antindragonslayer said:

Any update on this? Also interested.

You can map that file in your container settings, similar to mapping a folder

Share this post


Link to post

I just started getting this error:

 

Something bad happened, ErrorMiddleware caught this
System.OperationCanceledException: The operation was canceled.
at System.Net.Http.HttpClient.HandleFinishSendAsyncError(Exception e, CancellationTokenSource cts)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Ombi.Api.OmbiHttpClient.SendAsync(HttpRequestMessage request) in C:\projects\requestplex\src\Ombi.Api\OmbiHttpClient.cs:line 61
at Ombi.Api.Api.Request[T](Request request) in C:\projects\requestplex\src\Ombi.Api\Api.cs:line 38
at Ombi.Api.FanartTv.FanartTvApi.GetMovieImages(String movieOrImdbId, String token) in C:\projects\requestplex\src\Ombi.Api.FanartTv\FanartTvApi.cs:line 42
at Ombi.Controllers.ImagesController.GetBackgroundImage() in C:\projects\requestplex\src\Ombi\Controllers\ImagesController.cs:line 197
at lambda_method(Closure , Object )
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)

at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)
at Ombi.ApiKeyMiddlewear.Invoke(HttpContext context) in C:\projects\requestplex\src\Ombi\ApiKeyMiddlewear.cs:line 50
at Ombi.ErrorHandlingMiddleware.Invoke(HttpContext context) in C:\projects\requestplex\src\Ombi\ErrorHandlingMiddlewear.cs:line 24

 

Share this post


Link to post
41 minutes ago, krh1009 said:

I just started getting this error:

 


Something bad happened, ErrorMiddleware caught this
System.OperationCanceledException: The operation was canceled.
at System.Net.Http.HttpClient.HandleFinishSendAsyncError(Exception e, CancellationTokenSource cts)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Ombi.Api.OmbiHttpClient.SendAsync(HttpRequestMessage request) in C:\projects\requestplex\src\Ombi.Api\OmbiHttpClient.cs:line 61
at Ombi.Api.Api.Request[T](Request request) in C:\projects\requestplex\src\Ombi.Api\Api.cs:line 38
at Ombi.Api.FanartTv.FanartTvApi.GetMovieImages(String movieOrImdbId, String token) in C:\projects\requestplex\src\Ombi.Api.FanartTv\FanartTvApi.cs:line 42
at Ombi.Controllers.ImagesController.GetBackgroundImage() in C:\projects\requestplex\src\Ombi\Controllers\ImagesController.cs:line 197
at lambda_method(Closure , Object )
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)

at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)
at Ombi.ApiKeyMiddlewear.Invoke(HttpContext context) in C:\projects\requestplex\src\Ombi\ApiKeyMiddlewear.cs:line 50
at Ombi.ErrorHandlingMiddleware.Invoke(HttpContext context) in C:\projects\requestplex\src\Ombi\ErrorHandlingMiddlewear.cs:line 24

 

Looks like an ombi error. You should contact them

Share this post


Link to post
On 9/18/2018 at 11:12 PM, aptalca said:

 

It looks like there is an invisible/blank character before that return. Did you copy paste from somewhere? Try removing that and restart the container

Geez!  You're a f*cking ninja! Nice catch!

Share this post


Link to post
On 11/18/2018 at 1:33 PM, aptalca said:
On 11/18/2018 at 12:51 PM, krh1009 said:

 

Looks like an ombi error. You should contact them

Thanks...It appears to be a know issue logged on github. 

 

Question: is there a docker variable I can sent to pull an earlier (working) version  until the issue is fixed?

 

 

Share this post


Link to post
6 hours ago, krh1009 said:

Thanks...It appears to be a know issue logged on github. 

 

Question: is there a docker variable I can sent to pull an earlier (working) version  until the issue is fixed?

 

 

The error you have posted shouldn't cause any issues. It's just failing to load a tv show banner.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.