Giter VIP home page Giter VIP logo

Comments (7)

awanlin avatar awanlin commented on May 31, 2024 1

These items are worrisome for me:

@backstage/plugin-techdocs-node                                  1.11.1, 1.12.3
@backstage/plugin-techdocs-react                                 1.1.15, 1.2.3
@backstage/plugin-search-backend-module-techdocs                 0.1.13, 0.1.22
@backstage/backend-app-api                                       0.5.10, 0.7.1
@backstage/backend-common                                        0.19.9, 0.20.1, 0.21.7
@backstage/backend-plugin-api                                    0.6.9, 0.6.17
@backstage/core-compat-api                                       0.1.1, 0.2.4

Also, you say you are on 1.23.0 but you have this in your output backstage: N/A which means you don't have a backstage.json file which was added ages ago and should automatically get added when you do a version-bump using the CLI. This will make trying to sort out your issue pretty hard.

from backstage.

awanlin avatar awanlin commented on May 31, 2024

Hi @RaulGrosmam, can you share the details of yarn backstage-cli info, please? I'm wondering if you have maybe a newer package version as this issue has mostly shown up in newer versions of Backstage and should be fixed in 1.26.4. But without that information I'm just guessing.

from backstage.

RaulGrosmam avatar RaulGrosmam commented on May 31, 2024

Hi @awanlin, thanks for the answer!
I'm working on our Backstage upgrade, but I we need to make it working before.

An information that I just forgot to mention. We're using it on a docker container.

Here's my yarn backstage-cli info

yarn run v1.22.19
$ /app/node_modules/.bin/backstage-cli info
OS:   Linux 4.14.35-2047.508.3.2.el7uek.x86_64 - linux/x64
node: v20.12.2
yarn: 1.22.19
cli:  0.25.1 (installed)
backstage:  N/A

Dependencies:
  @backstage/app-defaults                                          1.4.7
  @backstage/backend-app-api                                       0.5.10, 0.7.1
  @backstage/backend-common                                        0.19.9, 0.20.1, 0.21.7
  @backstage/backend-dev-utils                                     0.1.4
  @backstage/backend-dynamic-feature-service                       0.2.9
  @backstage/backend-openapi-utils                                 0.1.10
  @backstage/backend-plugin-api                                    0.6.9, 0.6.17
  @backstage/backend-tasks                                         0.5.22
  @backstage/backend-test-utils                                    0.3.7
  @backstage/catalog-client                                        1.6.4
  @backstage/catalog-model                                         1.4.5
  @backstage/cli-common                                            0.1.13
  @backstage/cli-node                                              0.2.5
  @backstage/cli                                                   0.25.1
  @backstage/config-loader                                         1.8.0
  @backstage/config                                                1.2.0
  @backstage/core-app-api                                          1.12.4
  @backstage/core-compat-api                                       0.1.1, 0.2.4
  @backstage/core-components                                       0.11.2, 0.12.5, 0.13.10, 0.14.5
  @backstage/core-plugin-api                                       1.9.2
  @backstage/e2e-test-utils                                        0.1.0
  @backstage/errors                                                1.2.4
  @backstage/eslint-plugin                                         0.1.4
  @backstage/frontend-plugin-api                                   0.5.0, 0.6.4
  @backstage/integration-aws-node                                  0.1.12
  @backstage/integration-react                                     1.1.26
  @backstage/integration                                           1.10.0
  @backstage/plugin-api-docs                                       0.10.3
  @backstage/plugin-app-backend                                    0.3.57
  @backstage/plugin-app-node                                       0.1.17
  @backstage/plugin-auth-backend-module-atlassian-provider         0.1.1
  @backstage/plugin-auth-backend-module-gcp-iap-provider           0.2.3
  @backstage/plugin-auth-backend-module-github-provider            0.1.6
  @backstage/plugin-auth-backend-module-gitlab-provider            0.1.6
  @backstage/plugin-auth-backend-module-google-provider            0.1.6
  @backstage/plugin-auth-backend-module-oauth2-provider            0.1.6
  @backstage/plugin-auth-backend-module-oauth2-proxy-provider      0.1.1
  @backstage/plugin-auth-backend-module-okta-provider              0.0.2
  @backstage/plugin-auth-backend                                   0.20.3
  @backstage/plugin-auth-node                                      0.4.12
  @backstage/plugin-auth-react                                     0.1.1
  @backstage/plugin-catalog-backend-module-gitlab                  0.3.15
  @backstage/plugin-catalog-backend-module-scaffolder-entity-model 0.1.15
  @backstage/plugin-catalog-backend                                1.21.1
  @backstage/plugin-catalog-common                                 1.0.22
  @backstage/plugin-catalog-graph                                  0.3.3
  @backstage/plugin-catalog-import                                 0.10.5
  @backstage/plugin-catalog-node                                   1.6.1, 1.11.1
  @backstage/plugin-catalog-react                                  1.11.3
  @backstage/plugin-catalog                                        1.19.0
  @backstage/plugin-events-backend                                 0.3.4
  @backstage/plugin-events-node                                    0.3.3
  @backstage/plugin-github-actions                                 0.6.10
  @backstage/plugin-home-react                                     0.1.12
  @backstage/plugin-home                                           0.7.3
  @backstage/plugin-kubernetes-backend                             0.14.1
  @backstage/plugin-kubernetes-common                              0.7.3
  @backstage/plugin-kubernetes-node                                0.1.3
  @backstage/plugin-kubernetes-react                               0.2.1
  @backstage/plugin-kubernetes                                     0.11.4
  @backstage/plugin-org                                            0.6.19
  @backstage/plugin-permission-backend                             0.5.41
  @backstage/plugin-permission-common                              0.7.13
  @backstage/plugin-permission-node                                0.7.28
  @backstage/plugin-permission-react                               0.4.22
  @backstage/plugin-proxy-backend                                  0.4.7
  @backstage/plugin-scaffolder-backend-module-azure                0.1.9
  @backstage/plugin-scaffolder-backend-module-bitbucket-cloud      0.1.7
  @backstage/plugin-scaffolder-backend-module-bitbucket-server     0.1.7
  @backstage/plugin-scaffolder-backend-module-bitbucket            0.2.7
  @backstage/plugin-scaffolder-backend-module-gerrit               0.1.9
  @backstage/plugin-scaffolder-backend-module-gitea                0.1.7
  @backstage/plugin-scaffolder-backend-module-github               0.2.7
  @backstage/plugin-scaffolder-backend-module-gitlab               0.3.3
  @backstage/plugin-scaffolder-backend                             1.22.4
  @backstage/plugin-scaffolder-common                              1.5.1
  @backstage/plugin-scaffolder-node                                0.4.3
  @backstage/plugin-scaffolder-react                               1.7.1
  @backstage/plugin-scaffolder                                     1.17.1
  @backstage/plugin-search-backend-module-catalog                  0.1.23
  @backstage/plugin-search-backend-module-pg                       0.5.18
  @backstage/plugin-search-backend-module-techdocs                 0.1.13, 0.1.22
  @backstage/plugin-search-backend-node                            1.2.21
  @backstage/plugin-search-backend                                 1.4.9
  @backstage/plugin-search-common                                  1.2.11
  @backstage/plugin-search-react                                   1.7.10
  @backstage/plugin-search                                         1.4.5
  @backstage/plugin-sentry                                         0.5.14
  @backstage/plugin-sonarqube-backend                              0.2.11
  @backstage/plugin-sonarqube-react                                0.1.12
  @backstage/plugin-sonarqube                                      0.7.11
  @backstage/plugin-tech-radar                                     0.6.12
  @backstage/plugin-techdocs-backend                               1.10.4
  @backstage/plugin-techdocs-module-addons-contrib                 1.1.9
  @backstage/plugin-techdocs-node                                  1.11.1, 1.12.3
  @backstage/plugin-techdocs-react                                 1.1.15, 1.2.3
  @backstage/plugin-techdocs                                       1.10.4
  @backstage/plugin-user-settings-backend                          0.2.8
  @backstage/plugin-user-settings                                  0.8.0
  @backstage/release-manifests                                     0.0.11
  @backstage/test-utils                                            1.4.7
  @backstage/theme                                                 0.2.19, 0.4.4, 0.5.3
  @backstage/types                                                 1.1.1
  @backstage/version-bridge                                        1.0.8
Done in 1.79s.

from backstage.

PeaWarrior avatar PeaWarrior commented on May 31, 2024

From the error message, it seems like somewhere along the line that the css asset generation failed at some point. If you were to rebuild/republish that techdoc does that fix the issue?

from backstage.

RaulGrosmam avatar RaulGrosmam commented on May 31, 2024

@PeaWarrior every doc we put on our Backstage, shows the same problem. :(

from backstage.

RaulGrosmam avatar RaulGrosmam commented on May 31, 2024

Just made it by myself haha
authMiddleware on index.ts was wrong
Just remade it and it's working now.
Many thanks!

from backstage.

awanlin avatar awanlin commented on May 31, 2024

OK, but if you are upgrading 1.24.x introduces a new auth system that makes Backstage "secure by default" and that middle ware will cause you nothing but issues going forward. Release note: https://backstage.io/docs/releases/v1.24.0#breaking-auth-improvements

from backstage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.