-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While setup project on local - permissions error in Postgres provisioning script #7468
Comments
Hello @Bonapara , I have made changes to solve this issue Please let me know when I can push. |
@Weiko what do you think? |
@Karankhatik are you sure you're running newest version of Twenty? I've made changes to this file a month ago and I deleted this unnecessary |
@BOHEUS Thanks I noticed that my forked repository is not in sync with the main repository. now its sync. I deleted the database, remove everything and did a fresh installation, but I encountered a "permission denied" error because the command cp ./init.sql /tmp/init.sql didn't include sudo. After adding sudo, the error was resolved. Should I push this change, or is it likely that only I encountered this error? |
It's like that only you have encountered this error as there were no issues related to error while copying to |
Thanks @BOHEUS for letting me know. I m closing this issue. |
While running the make postgres-on-linux command, which executes the script at /twenty-postgres/linux/provision-postgres-linux.sh, I encountered a permissions error during the following line:
cp ./init.sql /tmp/init.sql
Also a minor code improvement on this file that we don't need su there, its unneccessary:
Machine description:
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
The text was updated successfully, but these errors were encountered: