Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4: Request path must not end in a slash. bootloop #3780

Closed
bruvv opened this issue Oct 2, 2020 · 1 comment
Closed

V4: Request path must not end in a slash. bootloop #3780

bruvv opened this issue Oct 2, 2020 · 1 comment

Comments

@bruvv
Copy link
Contributor

bruvv commented Oct 2, 2020

Describe the bug
Last night my v4 preview version got updated (have been running for about a month now with no issues). And without changing anything I got the error: Request path must not end in a slash
I checked and radarr has /movies/ as roothpath. Manually changing this in the sql from ombi to /movies fixes this issue. But in Radarr I made sure that the rootfolder is /movies but ombi still sees it as /movies/

To Reproduce
Steps to reproduce the behavior:

  1. Download the latest v4-preview from linuxserver docker hub
  2. Run it and add a roothpath in radarr or sonarr with a slash at the end
  3. reboot
  4. See error

Logs (Logs directory where Ombi is located)

2020-10-02 08:33:21 | stdout | at Ombi.Program.Main(String[] args) in /home/vsts/work/1/s/src/Ombi/Program.cs:line 131
2020-10-02 08:33:21 | stdout | at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
2020-10-02 08:33:21 | stdout | at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
2020-10-02 08:33:21 | stdout | at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
2020-10-02 08:33:21 | stdout | at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
2020-10-02 08:33:21 | stdout | at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2020-10-02 08:33:21 | stdout | at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app)
2020-10-02 08:33:21 | stdout | at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder\|0(IApplicationBuilder builder)
2020-10-02 08:33:21 | stdout | at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_0.<UseStartup>b__2(IApplicationBuilder app)
2020-10-02 08:33:21 | stdout | at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
2020-10-02 08:33:21 | stdout | at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
2020-10-02 08:33:21 | stdout | at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2020-10-02 08:33:21 | stdout | at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
2020-10-02 08:33:21 | stdout | at Ombi.Startup.Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IServiceProvider serviceProvider) in /home/vsts/work/1/s/src/Ombi/Startup.cs:line 139
2020-10-02 08:33:21 | stdout | at Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions.set_RequestPath(PathString value)
2020-10-02 08:33:21 | stdout | �[?1h�=Unhandled exception. System.ArgumentException: Request path must not end in a slash
2020-10-02 08:33:17 | stdout | /opt/ombi
2020-10-02 08:33:17 | stdout | We are running on
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout | --version    Display version information.
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout | --help       Display this help screen.
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout | company...
2020-10-02 08:33:15 | stdout | --demo       Demo mode, you will never need to use this, fuck that fruit
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout | --baseurl    The base URL for reverse proxy scenarios
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout | --storage    Storage path, where we save the logs and database
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout | servers.
2020-10-02 08:33:15 | stdout | be included with each URL. Supported formats vary between
2020-10-02 08:33:15 | stdout | http://localhost:5000). The protocol (http:// or https://) must
2020-10-02 08:33:15 | stdout | the specified port and protocol (for example,
2020-10-02 08:33:15 | stdout | should listen for requests on any IP address or hostname using
2020-10-02 08:33:15 | stdout | http://localhost:123. Use "localhost" to indicate that the server
2020-10-02 08:33:15 | stdout | URL prefixes to which the server should respond. For example,
2020-10-02 08:33:15 | stdout | --host       (Default: http://*:5000) Set to a semicolon-separated (;) list of
2020-10-02 08:33:15 | stdout |  
2020-10-02 08:33:15 | stdout | Copyright (C) 2020 Ombi
2020-10-02 08:33:15 | stdout | Ombi 4.0.489
2020-10-02 08:33:15 | stdout | Valid options are:
2020-10-02 08:33:15 | stdout | �]0;Ombi�Hello, welcome to Ombi
2020-10-02 08:33:12 | stdout | at Ombi.Program.Main(String[] args) in /home/vsts/work/1/s/src/Ombi/Program.cs:line 131
2020-10-02 08:33:12 | stdout | at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
2020-10-02 08:33:12 | stdout | at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
2020-10-02 08:33:12 | stdout | at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
2020-10-02 08:33:12 | stdout | at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
2020-10-02 08:33:12 | stdout | at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2020-10-02 08:33:12 | stdout | at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app)
2020-10-02 08:33:12 | stdout | at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder\|0(IApplicationBuilder builder)
2020-10-02 08:33:12 | stdout | at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_0.<UseStartup>b__2(IApplicationBuilder app)
2020-10-02 08:33:12 | stdout | at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
2020-10-02 08:33:12 | stdout | at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
2020-10-02 08:33:12 | stdout | at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2020-10-02 08:33:12 | stdout | at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
2020-10-02 08:33:12 | stdout | at Ombi.Startup.Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IServiceProvider serviceProvider) in /home/vsts/work/1/s/src/Ombi/Startup.cs:line 139
2020-10-02 08:33:12 | stdout | at Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions.set_RequestPath(PathString value)
2020-10-02 08:33:12 | stdout | �[?1h�=Unhandled exception. System.ArgumentException: Request path must not end in a slash
2020-10-02 08:33:07 | stdout | /opt/ombi
2020-10-02 08:33:07 | stdout | We are running on

Desktop (please complete the following information):

Ombi Version (please complete the following information):

  • Version: 4.0.489
  • Media Server: Plex
  • Database Type: SQLite

Additional context
Add any other context about the problem here.

@ombi-bot
Copy link
Contributor

ombi-bot commented Oct 2, 2020

Hi!
Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.
Have you looked at the wiki yet? https://github.com/tidusjar/ombi/wiki/
Before posting make sure you also read our FAQ.
Make the title describe your issue. Having 'not working' or 'I get this bug' for 100 issues, isn't really helpful.
If we need more information or there is some progress we tag the issue or update the tag and keep you updated.
Thanks!
Ombi Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants