Installing via binary under Mac, SQLite database connection failed

Viewed 122

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)
1 Answers

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

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