Set the required permissions
If you are using the terminal you can do this by running:
find . -type d -not -perm 2755 -exec chmod 2755 {} \;
find . -type f -not -perm 0644 -exec chmod 0644 {} \;
find . ! -user www-data -exec chown www-data:www-data {} \;
chmod +x bin/console
try to talk to AI about this.
Especially for things like that (quickly learning about server setups / CLI / Linux / webhosting basics) AI will be able to support and elaborate in no time.
ls -lah
Is what I’m usually using to find out about the folder permissions.
On shared hosting environments it could be, that your FTP user is different from your webserver user.
And even then, your webserver user and group might differ.
Over all, SuiteCRM is much more complex than something like WordPress.
It’s not recommended to be installed on a shared environment (even though it might work).
Eventually, you’re working on the brain of your company that you want to stick to over the next 5 - 10 years. You’ll need some knowledge to take care of the environment for the CRM to support your business in a reliable way.
jailshell-4.2$ /mydomainfolder/crm/bin/console suitecrm:app:upgrade -t SuiteCRM-8.8.1
jailshell: /mydomandolder.com/crm/bin/console: No such file or directory
Actually I have wordpress in main folder and crm as a subsfolder to the install messed up my wordpress htaccess where I believe the problem is. I’ll figure out how to fix that
Best to create a subdomain for the CRM.
A sub folder isn’t very flexible - e.g. if you want to migrate to another server later on with only your CRM, the directory structure isn’t the same anymore.