Skip to content

The SQlite3 backend gives "create pin: database is locked" when attempting to create a pin #24

Description

@SuzanneSoy
./sips -dbdriver sqlite3 -db 'database.sqlite3?_fk=1' -addr ':8051' &
sleep 5
./sipsctl users add --dbdriver sqlite3 --db 'database.sqlite3?_fk=1' user-name
./sipsctl tokens add --dbdriver sqlite3 --db 'database.sqlite3?_fk=1' --user user-name

ipfs pin remote service add mysips http://my_domain:8051 TOKEN
echo 'Hi' > /tmp/hello
h=$(ipfs add --pin=false -Q /tmp/hello)
ipfs pin remote add --service=mysips --name=hi-example "$h"
2023/04/15 23:48:23 [INFO] (cmd/sips/sips.go:63) database opened at "database.sqlite3?_fk=1"
2023/04/15 23:48:23 [INFO] (cmd/sips/sips.go:66) running database migration
2023/04/15 23:48:23 [INFO] (cmd/sips/sips.go:105) starting server on ":8051"
2023/04/15 23:50:19 [ERROR] (cmd/sips/pinhandler.go:119) create pin: database is locked

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions