T
Twenty14mo ago
Vatsal

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
Anwar
Anwar14mo 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
VatsalOP14mo ago
Did all the steps, it fixed the above issue but now its showing another error
No description
Anwar
Anwar14mo ago
Is redis installed ? Make sure you have redis installed and then try again.
Vatsal
VatsalOP14mo ago
Thankyou so much for your help, it helped me setup the project successfully
Anwar
Anwar14mo ago
my pleasure
charles
charles14mo ago
Thanks a lot @professor_snape!
Vatsal
VatsalOP14mo 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
Raphael14mo 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
VatsalOP14mo ago
Yaa it worked, thanks
Anwar
Anwar14mo ago
I guess the changes were not made permanently Yes this should have worked

Did you find this page helpful?