authorizer icon indicating copy to clipboard operation
authorizer copied to clipboard

Throwing error when using SQLite with volume in Railway

Open takshch opened this issue 10 months ago • 3 comments

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 avatar May 01 '24 23:05 takshch

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

takshch avatar May 01 '24 23:05 takshch

@lakhansamani Can you please take a look into it?

takshch avatar May 02 '24 05:05 takshch

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

lakhansamani avatar Aug 03 '24 12:08 lakhansamani