OctopusDeploy / Issues

| Public | Bug reports and known issues for Octopus Deploy and all related tools
https://octopus.com
162 stars 20 forks source link

When Octopus Server is hosted on a subpath steps and deployment targets in step packages cannot be used #8041

Open geofflamrock opened 1 year ago

geofflamrock commented 1 year ago

Team

Severity

Blocking at least one customer

Version

Earliest reported is 2022.1.2232

Latest Version

I could reproduce the problem in the latest build

What happened?

Hosting Octopus on a subpath e.g. http://example.com/myoctopusserver causes steps and deployment targets created from step packages to become unusable. You can't add/edit steps in deployment processes or add/edit targets in Portal. The UI fails with a 404 error (or potentially a 502 behind a proxy) when attempting to show the logo and when configuring step or target settings.

Deployment targets affected:

Steps affected:

Reproduction

Configure Octopus Server to be hosted on a subpath e.g. http://example.com/myoctopusserver. This could be using a virtual directory in IIS or other similar means in other web servers.

Deployment targets:

Steps:

Error and Stacktrace

No response

More Information

If configuring the setting Octopus.WebPortal.ListenPrefixes to listen directly on a subpath as opposed to doing this in a web server then the logo can be shown correctly, however configuring a step or target (either editing or creating new) will still fail with a similar 404 error when loading a .js file.

Workaround

No known workaround

zentron commented 1 year ago

sc-40596