Issue in Local Setup(Database)

On running the npx nx database:reset twenty-server command i am getting this error, can someone help me.
No description
10 Replies
professor_snape
professor_snape2mo ago
Yes, you need to change the number of watchers. You need to increase the system’s limit for file watchers. Follow these steps: Check the current limit: To check how many file watchers your system currently allows, run the following command: cat /proc/sys/fs/inotify/max_user_watches Increase the limit: To increase the limit, run this command to set it to a higher value (e.g., 524288): sudo sysctl fs.inotify.max_user_watches=524288 Make the change permanent: To make sure the new limit persists after a reboot, add the following line to the /etc/sysctl.conf file: echo 'fs.inotify.max_user_watches=524288' | sudo tee -a /etc/sysctl.conf Apply the changes: Apply the changes without rebooting by running: sudo sysctl -p
Vatsal Kumar
Vatsal KumarOP2mo ago
Did all the steps, it fixed the above issue but now its showing another error
No description
professor_snape
professor_snape2mo ago
Is redis installed ? Make sure you have redis installed and then try again.
Vatsal Kumar
Vatsal KumarOP2mo ago
Thankyou so much for your help, it helped me setup the project successfully
professor_snape
professor_snape2mo ago
my pleasure
charles
charles2mo ago
Thanks a lot @professor_snape!
Vatsal Kumar
Vatsal KumarOP2mo ago
Sorry for disturbing you again but not it is showing this memory out error can you help me out @professor_snape
No description
Raphael
Raphael2mo ago
In twenty-front/src/.env, can you set these variables to true? Like this? It worked for me when I did that
No description
Vatsal Kumar
Vatsal KumarOP2mo ago
Yaa it worked, thanks
professor_snape
professor_snape2mo ago
I guess the changes were not made permanently Yes this should have worked
Want results from more Discord servers?
Add your server