klas.wirholm
klas.wirholm

I try to find I way to fast develop a new October installation (for customers). I have a lot of "default" plugins for every customer, so I copied over directory of plugins from another October installation. Then I runed command: php artisan october:up

It function (some minor plugin config), but I get a lot of invalid security token, in backend, when inactive some time.

Is there a way to fix this?

What is the fastes way to install a lot of plugins, in one row, is there a bash command for it?

mjauvin
mjauvin

there's php artisan plugin:install

klas.wirholm
klas.wirholm

mjauvin said:

there's php artisan plugin:install

How do you use that command for multiple plugins, in one row?

LukeTowers
LukeTowers

@klas.wirholm The command to run is php artisan october:up, if you're having issues with invalid security token errors then your issue is elsewhere, probably in your session config or permissions on your session / cache storage folders.

mjauvin
mjauvin

klas.wirholm said:

mjauvin said:

there's php artisan plugin:install

How do you use that command for multiple plugins, in one row?

You would write a bash script that calls the plugin:install for each plugin.

klas.wirholm
klas.wirholm

I figured it out, there was links to images in the other October installation (copy of a theme from it). Every time such a file was open for edit, I got invalid security token.

The problem with invalid security tokens, is actually of this kind:

https://github.com/octobercms/october/issues/3640

The problem disappeared after changing links and also copy over of al images to new installation. Rewriterule in htaccess also need to bee to right directory. Guess I need better development environment than Mamp free, though. I will check out laragon.

Thanks every one who tried to help me out!

1-6 of 6