T
Twenty3d ago
oyiks

database reset error.

I get an error saying "Illegal instruction (core dumped)" after running the code npx nx database:reset twenty-server.
11 Replies
oyiks
oyiksOP3d ago
NX Successfully ran target database:migrate for project twenty-server and 2 tasks it depends on (3m) Nx read the output from the cache instead of running the command for 2 out of 3 tasks. NX Nx detected a flaky task twenty-server:database:migrate Flaky tasks can disrupt your CI pipeline. Automatically retry them with Nx Cloud. Learn more at https://nx.dev/ci/features/flaky-tasks
nx command-no-deps -- cache:flush
nx run twenty-server:command-no-deps cache:flush
node dist/src/command/command.js cache:flush
Illegal instruction (core dumped) gabi@DESKTOP-FI8PK14:~/twenty$
Nx
Identify and Re-run Flaky Tasks
Learn how Nx Cloud is able to automatically identify flaky tasks and re-run them for you.
thomast
thomast2d ago
I don't get from where the error is coming from can you try to run npx nx run twenty-server:command cache:flush
oyiks
oyiksOP19h ago
Okay then After running npx nx run twenty-server:command cache:flush, I got this error gabi@DESKTOP-FI8PK14:~/twenty$ npx nx run twenty-server:command cache:flush ✔ 1/1 dependent project tasks succeeded [1 read from cache] Hint: you can run the command with --verbose to see the full dependent project outputs ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
nx run twenty-server:build [local cache]
rimraf dist
nest build --path ./tsconfig.build.json
- TSC Initializing type checker... ✔ TSC Initializing type checker...
TSC Found 0 issues. SWC Running...
Successfully compiled: 1724 files with swc (362.23ms)
nx run twenty-server:command cache:flush
node dist/src/command/command.js cache:flush
Illegal instruction (core dumped) gabi@DESKTOP-FI8PK14:~/twenty$ I am using 8gb RAM on my computer. I hope it's not the reason why I'm having this issue.
Raph
Raph19h ago
I believe you're at a ram limitation. Look around within discord and you'll see others that are running locally running into the same issues.
oyiks
oyiksOP18h ago
Does still mean I won't be able to install the setup locally afterall?
Raph
Raph16h ago
I believe so. I haven't installed it locally in a while, but the minimum recommended for local installs is like 16GB.
Shawn_H
Shawn_H15h ago
How much RAM is recommended if it's hosted on a VPS such as AWS LightSail?
oyiks
oyiksOP15h ago
So, how did you install it?
Raph
Raph14h ago
https://discord.com/channels/1130383047699738754/1313503669785858088 <-- Take a look here. @Shawn_H Much less if you're not linting and compiling. Bare min is probably 8Gb, 2cpu 20gb. That would be bare minimum for me. @oyiks - I followed this guide.
Raph
Raph14h ago
Twenty - Local Setup
The guide for contributors (or curious developers) who want to run Twenty locally (on laptop, PC...)
oyiks
oyiksOP5h ago
This is the same I follow though,

Did you find this page helpful?