friendica.eskimo.com

Misskey

I am trying to build a misskey instance using manual installation.

I am to the point of building the software. When I type:

pmpn run init, I get:

> misskey@2024.10.1 init /space/www/misskey/misskey
> pnpm migrate


> misskey@2024.10.1 migrate /space/www/misskey/misskey
> cd packages/backend && pnpm migrate


> backend@ migrate /space/www/misskey/misskey/packages/backend
> pnpm typeorm migration:run -d ormconfig.js

Error during migration run:
Error: Unable to open file: "/space/www/misskey/misskey/packages/backend/ormconfig.js". Cannot find module '/space/www/misskey/misskey/packages/backend/built/config.js' imported from /space/www/misskey/misskey/packages/backend/ormconfig.js
at CommandUtils.loadDataSource (/space/www/misskey/misskey/node_modules/.pnpm/typeorm@0.3.20_ioredis@5.4.1_pg@8.13.0/node_modules/typeorm/commands/CommandUtils.js:22:19)
at async Object.handler (/space/www/misskey/misskey/node_modules/.pnpm/typeorm@0.3.20_ioredis@5.4.1_pg@8.13.0/node_modules/typeorm/commands/MigrationRunCommand.js:40:26)
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.
misskey@inuvik:~/misskey$ ls -ld /space/www/misskey/misskey/packages/backend/built/config.js
ls: cannot access '/space/www/misskey/misskey/packages/backend/built/config.js': No such file or directory
misskey@inuvik:~/misskey$ ls -ld /space/www/misskey/misskey/packages/backend/ormconfig.js
-rw-r--r-- 1 misskey nogroup 424 Nov 15 00:58 /space/www/misskey/misskey/packages/backend/ormconfig.js
misskey@inuvik:~/misskey$

Can anyone tell me what I am doing wrong?

Shoreline, WA, USA
Never mind, I figured it out. Needed a database, didn't tell me to create one, but once created and user for same everything was kosher.