# |
Jan 8th 2020, 00:32 |
MrEm |
blasted folder and did install |
# |
Jan 8th 2020, 00:32 |
MrEm |
still getting error |
# |
Jan 8th 2020, 00:32 |
MrEm |
k. |
# |
Jan 8th 2020, 00:31 |
savant |
that should make sure everything is properly installed :) |
# |
Jan 8th 2020, 00:31 |
savant |
composer install |
# |
Jan 8th 2020, 00:31 |
savant |
and then |
# |
Jan 8th 2020, 00:31 |
savant |
rm -rf vendor |
# |
Jan 8th 2020, 00:31 |
savant |
okay can you try |
# |
Jan 8th 2020, 00:31 |
savant |
hmmm |
# |
Jan 8th 2020, 00:26 |
MrEm |
under cakephp/migrations |
# |
Jan 8th 2020, 00:25 |
MrEm |
it's there |
# |
Jan 8th 2020, 00:25 |
MrEm |
nope |
# |
Jan 8th 2020, 00:25 |
savant |
did you move the plugin out of the vendor directory? |
# |
Jan 8th 2020, 00:25 |
savant |
hmmm that looks like it should be fine |
# |
Jan 8th 2020, 00:21 |
MrEm |
no worries - I appreciate the help |
# |
Jan 8th 2020, 00:17 |
savant |
im on a call |
# |
Jan 8th 2020, 00:17 |
savant |
sorry one moment |
# |
Jan 8th 2020, 00:13 |
MrEm |
Or am I too early on jumping onto Cake 4? |
# |
Jan 8th 2020, 00:13 |
MrEm |
I did some outputting inside the method where the exception is being thrown, and it's only looking in the plugins directory. Is there some kind of configuration I need to set up? |
# |
Jan 8th 2020, 00:08 |
MrEm |
(didn't mean to double post - was trying to edit) |
# |
Jan 8th 2020, 00:07 |
MrEm |
Pastebin ok? https://pastebin.com/tWhziAaB |
# |
Jan 8th 2020, 00:07 |
MrEm |
Pastbin ok? https://pastebin.com/tWhziAaB |
# |
Jan 8th 2020, 00:05 |
MrEm |
Sure 1s |
# |
Jan 8th 2020, 00:05 |
savant |
can you post your composer.json in github? |
# |
Jan 8th 2020, 00:04 |
savant |
it should be in the `vendor` folder |
# |
Jan 8th 2020, 00:04 |
MrEm |
Any help would be awesome! |
# |
Jan 7th 2020, 23:58 |
MrEm |
Same error for both |
# |
Jan 7th 2020, 23:58 |
MrEm |
The command I'm trying to execute is one of two: "php bin/cake.php plugin load migrations" or "php bin/cake.php bake migration_snapshot Initial" |
# |
Jan 7th 2020, 23:57 |
MrEm |
Exception: Plugin migrations could not be found.In [/home/ubuntu/git/vendor/cakephp/cakephp/src/Core/PluginCollection.php, line 143] |
# |
Jan 7th 2020, 23:57 |
MrEm |
I'm trying to load the migrations plugin in CakePHP 4. I've used the following command: "php composer.phar require cakephp/migrations:3.0.0-beta2" - this loads the package into the vendor directory but not into the plugins directory, so when I try to use it, I get an error: |
# |
Jan 7th 2020, 22:34 |
jtraulle |
php must be installed into your container (and not the host machine) |
# |
Jan 7th 2020, 22:34 |
jtraulle |
the ec (elastic compute) mention in the return of which command suggest that you're connected on ssh on the vm host machine that runs your container |
# |
Jan 7th 2020, 22:32 |
jtraulle |
hey, what returns a `docker ps` ? |
# |
Jan 7th 2020, 22:29 |
kailas |
the weird thing is i can’t find a php executable at all |
# |
Jan 7th 2020, 22:28 |
kailas |
well, that’s what it seems to suggest, but this environment is definitely NOT the same as the environment when i run docker on my development machine |
# |
Jan 7th 2020, 22:28 |
savant |
maybe you had to specify a path to php to run your app |
# |
Jan 7th 2020, 22:28 |
savant |
oh does elastic beanstalk run a docker container? |
# |
Jan 7th 2020, 22:27 |
kailas |
yeah, i think this is a beanstalk thing |
# |
Jan 7th 2020, 22:27 |
kailas |
my app runs, so clearly php is installed somewhere |
# |
Jan 7th 2020, 22:27 |
savant |
ive never used elastic beanstalk |
# |
Jan 7th 2020, 22:27 |
kailas |
```$ which php /usr/bin/which: no php in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin)``` |