Apache Answer Meta
Questions Tags Users Badges

Installing via binary under Mac, SQLite database connection failed

Asked Dec 4, 2023 Modified Jan 1, 0001
Viewed 182
support macos sqlite installation

Installing via binary under macOS, using SQLite to install package error:

Shell message:

2023-12-04 15:27:03.887	ERROR	data/data.go:65	create database dir failed: mkdir /data: read-only file system
connection database failed: unable to open database file: out of memory (14)
edited Jan 1, 0001
Fen580
asked Dec 4, 2023
1 Answers

This is because on macOS, the /data directory is read-only. You can change the path to /<your_name>/data/answer.db.

edited Dec 4, 2023
Fen580
answered Dec 4, 2023
Related
Could you please provide information about the default search functionality's search rules?
1 answers
Unable to log in and recover data after reinstalling via docker
1 answers
How to allow the question content to be empty? Some questions are simple enough with just a title
1 answers
Building a Custom Docker Image with Plugins for Apache Answer Suggest Best Practices?
1 answers
I want to run Apache Answers on a Kubernetes Cluster with our in house OIDC
1 answers
How to install plugins on 1Panel?
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Answer Meta.