Issue in Local Setup(Database)
On running the npx nx database:reset twenty-server command i am getting this error, can someone help me.
10 Replies
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
Did all the steps, it fixed the above issue but now its showing another error
Is redis installed ?
Make sure you have redis installed and then try again.
Thankyou so much for your help, it helped me setup the project successfully
my pleasure
Thanks a lot @professor_snape!
Sorry for disturbing you again but not it is showing this memory out error
can you help me out @professor_snape
In twenty-front/src/.env, can you set these variables to true? Like this?
It worked for me when I did that
Yaa it worked, thanks
I guess the changes were not made permanently
Yes this should have worked