Skip to content

'rockcraft init --profile' links to non-existent versioned docs (1.20.0 URLs return 404) #1312

Description

@Rinconjr

Check existing issues

  • I've verified that this bug isn't described by any existing issues.

Bug description

Whenever you run 'rockcraft init --profile' with any extension, either spring-boot-framework, flask-framework, django-framework, fastapi-framework. it redirects to version 1.20.0 of the stable docs.

Image

It seems those are not deployed yet (weird, as it seems that version was released last week).

You get the following:

Image

The docs only work if I downgrade version to '1.19' meaning the url is now like this:

https://documentation.ubuntu.com/rockcraft/1.19/reference/extensions/spring-boot-framework/

it now loads the extension docs successfully.

Or if you simply click here

Image

it will take you to the same url mentioned above.

IMPORTANT

rockcraft.yaml is successfully generated, so this is only an issue docs-wise.

Steps to reproduce

  1. Run rockcraft init --profile spring-boot-framework in an empty directory
  2. Open the URL printed in the output: https://documentation.ubuntu.com/rockcraft/1.20.0/reference/extensions/spring boot-framework
  3. Observe a 404 error page
  4. Change the version in the URL to 1.19: https://documentation.ubuntu.com/rockcraft/1.19/reference/extensions/spring-boot-framework/
  5. The extension docs load successfully
  6. Same behavior with other profiles: flask-framework, django-framework, fastapi-framework

Environment

  • Rockcraft version: 1.20.0 (installed via snap, latest/stable)
  • OS: Ubuntu 26.04 LTS
  • LXD and Multipass both available (not relevant, issue is in CLI output, not build)

rockcraft.yaml

Log output

$ rockcraft init --profile spring-boot-framework
Go to https://documentation.ubuntu.com/rockcraft/1.20.0/reference/extensions/spring-boot-framework to read more about the 'spring-boot-framework' profile.
Successfully initialised project.

$ curl -sI https://documentation.ubuntu.com/rockcraft/1.20.0/reference/extensions/spring-boot-framework | head -1
HTTP/2 404

$ curl -sI https://documentation.ubuntu.com/rockcraft/1.19/reference/extensions/spring-boot-framework/ | head -1
HTTP/2 200

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions