This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
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 said:
there's
php artisan plugin:install
How do you use that command for multiple plugins, in one row?
@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.
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.
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