-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Module sqlite is missing #6
Comments
So, as far as I'm aware this was because of the following bits of code in the Dockerfile that you can see on the backstage docs: # install sqlite3 dependencies, you can skip this if you don't use sqlite3 in the image
RUN apt-get update && \
apt-get install -y --no-install-recommends libsqlite3-dev python3 build-essential && \
rm -rf /var/lib/apt/lists/* && \
yarn config set python /usr/bin/python3 I had the same error until I remove that part from the Dockerfile and also made sure to change the database engine to postgres and not sqlite. |
Previously the process to create an application was asking which DB the user wanted to use and the package was installed by the BuildAppTask but this option is gone since versions >= 1.2. As the WDYT ? @ChrisJBurns @vinzscam |
To be honest, I don't even think it's worth mentioning. The backstage docs themselves say that |
So it is time that we include the helm postgresql sub-chart or dependency of this backstage helm chart to have a backstage application working on k8s ;-) |
I agree! I've pushed up the newest changes on the weekend, let me know if all looks well 👍 |
Issue
When we deploy the helm chart
from a project created using
npx @backstage/create-app
then we got the following error as by default the module
better-sqlite3
is not packaged within the node application when we build itLog of the backend pod
The documentation page should include a warning message to explain how the image should be created and which packages should be packaged
The text was updated successfully, but these errors were encountered: