backstage icon indicating copy to clipboard operation
backstage copied to clipboard

Index for techdocs was not created

Open alejandroestarlichmartinez opened this issue 1 year ago • 2 comments

🔖 Need

The problem is when im trying to access to documents int aws, kubernetes deploy pod sends this warn: {"documentType":"techdocs","level":"warn","message":"Index for techdocs was not created: indexer received 0 documents","plugin":"search","service":"backstage","type":"plugin"}

🎉 Proposal

I have a backstage instance with version 1.19.0, I am using the front and back plugin from techdocs according to the documentation connected to documentation repositories with a separate lifecycle.

These documentation repositories deploy to an AWS bucket where we have a techdocs directory, inside this directory we have several subdirectories with each of the builds of the different documentation repos.

When we deploy backstage, the logs show that it is well connected to the bucket: {"level":"info","message":"Successfully connected to the AWS S3 bucket {bucket_name}","plugin":"techdocs","service":"backstage","type":"plugin"} and we have the index in each of the documentation repositories. However we have this warn and it shows the page empty, as if we have no docs. {"documentType":"techdocs","level":"warn","message":"Index for techdocs was not created: indexer received 0 documents","plugin":"search","service":"backstage","type":"plugin"}:

Here is the techdocs config in app-config: techdocs: builder: 'external' # Alternatives - 'external' generator: runIn: 'local' # Alternatives - 'local' publisher: type: 'awsS3' awsS3: bucketName: {bucket_name} bucketRootPath: 'techdocs' region: {region} credentials: roleArn: {role_arn}

publisher:

type: 'awsS3' # Alternatives - 'googleGcs' or 'awsS3'. Read documentation for using alternatives.

〽️ Alternatives

No response

❌ Risks

No response

👀 Have you spent some time to check if this RFC has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Friendly pinging @backstage/techdocs-maintainers 🙂

camilaibs avatar Feb 15 '24 10:02 camilaibs

Hey @alejandroestarlichmartinez - Could you provide which search engine your backstage instance is using?

PeaWarrior avatar Feb 15 '24 22:02 PeaWarrior

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 15 '24 22:04 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 17 '24 09:06 github-actions[bot]