Skip to content

Throwing error when using SQLite with volume in Railway #454

@takshch

Description

@takshch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions