You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not running the installer.sh script (for the same reasons as others). I'm pretty good with Docker and my homelab is all containerized including several websites/applications behind nginx-proxy. I simply want to run the PDS image without the compose stack (because I don't use Caddy and already have Watchtower) but I'm having a heck of a time getting past this hurdle with sqlite.
I have:
reviewed the installer.sh script and don't see what I'm missing
searched this repo and checked others' published guidance on topic
DNS and nginx-proxy config tested and working for the desired domain
all the required system packages installed as defined in the installer.sh script
a pds.env file with HOST, DOMAIN, SECRET, PASSWORD, PDS_DATA_DIRECTORY=/data/pds and PDS_PORT=4000
tried adding PDS_DB_SQLITE_LOCATION=/data/pds/pds.sqlite and created the file manually
even tried rebuilding the Docker image locally which fails - ERROR [build 5/5] RUN pnpm install --production --frozen-lockfile > /dev/null
Running Docker fails with this sqlite error - are these dependencies not built into the published image? How do I move forward?
Node.js v20.11.1
/app/node_modules/.pnpm/better-sqlite3@10.1.0/node_modules/better-sqlite3/lib/database.js:65
throw new TypeError('Cannot open database because the directory does not exist');
^
TypeError: Cannot open database because the directory does not exist
at new Database (/app/node_modules/.pnpm/better-sqlite3@10.1.0/node_modules/better-sqlite3/lib/database.js:65:9)
at Function.sqlite (/app/node_modules/.pnpm/@atproto+pds@0.4.74/node_modules/@atproto/pds/src/db/db.ts:31:22)
at getDb (/app/node_modules/.pnpm/@atproto+pds@0.4.74/node_modules/@atproto/pds/src/did-cache/db/index.ts:16:19)
at DidSqliteCache (/app/node_modules/.pnpm/@atproto+pds@0.4.74/node_modules/@atproto/pds/src/did-cache/index.ts:17:20)
at Function.fromConfig (/app/node_modules/.pnpm/@atproto+pds@0.4.74/node_modules/@atproto/pds/src/context.ts:161:22)
at Function.create (/app/node_modules/.pnpm/@atproto+pds@0.4.74/node_modules/@atproto/pds/src/index.ts:57:34)
at main (/app/index.js:16:25)
at Object.<anonymous> (/app/index.js:72:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
The text was updated successfully, but these errors were encountered:
I am not running the installer.sh script (for the same reasons as others). I'm pretty good with Docker and my homelab is all containerized including several websites/applications behind nginx-proxy. I simply want to run the PDS image without the compose stack (because I don't use Caddy and already have Watchtower) but I'm having a heck of a time getting past this hurdle with sqlite.
I have:
Running Docker fails with this sqlite error - are these dependencies not built into the published image? How do I move forward?
The text was updated successfully, but these errors were encountered: