Skip to content
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

Throwing error when using SQLite with volume in Railway #454

Open
takshch opened this issue May 1, 2024 · 3 comments
Open

Throwing error when using SQLite with volume in Railway #454

takshch opened this issue May 1, 2024 · 3 comments

Comments

@takshch
Copy link

takshch commented May 1, 2024

In Railway, it is throwing an error when using SQLite with volume(mount path /data)
Error: Failed to initialize SQL driver: unable to open database file: out of memory (14)

Screenshot from 2024-05-02 04-48-28

Steps To Reproduce
Create authorizer service using Docker file or this repository (https://github.com/takshch/authorizer-sqlite)

Docker file:

FROM lakhansamani/authorizer:1.4.0

ENV DATABASE_TYPE sqlite
ENV DATABASE_URL /data/data.db

CMD ./build/server

Create a volume with mount path /data and attach it to the authorizer service.

Check the deployment logs of the authorizer service.

@takshch
Copy link
Author

takshch commented May 1, 2024

Volume is required for data persistence.
I want to use the authorizer with SQLite and the volume of the Railway.

@takshch
Copy link
Author

takshch commented May 2, 2024

@lakhansamani Can you please take a look into it?

@lakhansamani
Copy link
Contributor

@takshch sorry for the delay I will look into it this weekend

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants