You are here
tl5k5 - Sat, 2025/04/26 - 00:30
Hello all,
I'm running turnkey-espocrm-17.1-bullseye-amd64.
I've installed the espocrm export-import tools but it does not seem to work. -bash: export-import: command not found
https://github.com/espocrm/ext-export-import/releases
Is there anything about the Turnkey Linux OS that would keep this from exporting?
Thanks!
Forum:
Tags:
Are you running it in the EspoCRM directory?
There is nothing in TurnKey that should stop that from working. And as you haven't shared the exact command you ran I'm really only guessing. Regardless, I suspect that either you aren't running the command correctly or are trying to run it from the wrong location.
The readme in the repo you linked too doesn't note anything about how to install it, but assuming that you have it installed and it's working as expected, then it looks like you either need to run it from the root of the EspoCRM directory (i.e. /var/www/espocrm) or use the full path to the EspoCRM "command" executable. E.g.:
Or:
Also you probably shouldn't run it as root (the default user when logged into TurnKey). If you do, you may need to fix the permissions afterwards - especially after an "import". It's best to run it as the webserver user (www-data). There are a number of ways to do that. Probably the easiest is to install sudo and use that:
Then:
Or use su (nothing to install but a longer command):
If you do run it as root and things don't work properly, try giving ownership to the full public directory:
Or you may need to grant ownership to the full EspoCRM directory:
If that still doesn't work, then please share the install method, the full exact commands you are running and the full error message and I'll have a closer look.
Add new comment