Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

timyboy12345's avatar

The scout namespace is not found using SSH

I have Laravel running on a Synology server, using php73 artisan scout:import I can import all my models to Algolia/Scout using Laravel, this works great on one of my other projects, running on the same server with the same packages. I've now created a new Laravel project and uploaded it to my server. I'm now getting the error There are no commands defined in the "scout" namespace. when I try to use scout:import. I've already removed and re-installed the algolia/scout-extended package, but this didn't to anything.

Can anyone think of a reason why scout can't be found?

PS: To install composer packages, I have to use --ignore-platform-reqs so composer doesn't check packages against my default PHP version, which for Synology is 5.x I believe. Could this be a reason, and if so, does anyone know if it's possible to change your Synology's PHP version to 7.3. It's already installed, but I can only use it with php73 [command] instead of php [command]

0 likes
0 replies

Please or to participate in this conversation.