Welcome to Geeklog Wednesday, June 19 2019 @ 01:58 pm EDT

Geeklog Forums

install script: disable all plugins before upgrading.


Status: offline

ivy

Forum User
Full Member
Registered: 25/11/04
Posts: 309
Location:Tokyo Japan
Sometimes install error occurs because of plugins are not disabled.
So please disable all plugins before upgrading automatically by install script.

Geeklog Japan https://www.geeklog.jp

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1352
This is especially true for going from Geeklog 1.x.x to Geeklog 2.x.x
One of the Geeklog Core Developers.

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
Also, upgrading from 1.x.x to 2.x.x iinstalls all plugins not installed. Frown
Any idea to avoid this to happen ?

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

dengen

Site Admin
Admin
Registered: 03/05/07
Posts: 37
Location:Japan
The Geeklog plugins can be broadly classified into two types. One of them is the standard plugins that ship with Geeklog, and the other is the third-party plugins.
We should be handled with distinction the standard plugins and the third-party plugins.
Because the standard plugins are fully compatible with the current Geeklog system, we do not mind that they are installed automatically.
But for the third-party plugins, it will be necessary to check the compatibility with the current Geeklog system just before the system upgrade.
If not compatible, then the plugin should be automatically disabled before upgrading by install script.
To that end, we should probably add a new data to each plugin to check the compatibility.

dengen

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1352
Each plugin does have a script that is checked to see if it is compatible. The problem is it is hard to know what will change in the future which can make the current plugin incompatible (as what happened between Geeklog 1.8.x and 2.0.0).

Maybe between a major version change (ie going from 1.x to 2.x) we should have a message box come up asking the user if they would like all third party plugins disabled for the update.
One of the Geeklog Core Developers.

Status: offline

dengen

Site Admin
Admin
Registered: 03/05/07
Posts: 37
Location:Japan
The feature to check compatibility each plugin has is not sufficient.
Especially, about the version checking feature of the Geeklog system, it's only to check the lowest (earliest) version of the system that each plugin supports.
The feature we should add would be to check the highest (latest) version of the system that each plugin supports.
In the course of system upgrade, if the version of the system after the upgrade is later than the version the plugin supports, then it's reasonable to automatically disable the plugin. This way would prevent the trouble during the upgrade.

After the system upgrade is complete, it would be sufficient to report that some plugins have been disabled automatically by the system message (instead of the message box asking whether to disable).
After that, the site administrator will take the risk and enable some plugins step-by-step.

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
Since few years I run multi sites on one Geeklog code. On some sites plugins are enable and some are not, and I do not want to install all plugins on all sites. So, I need to control this action during upgrade and I would appreciate this feature in the next Geeklog version.

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1352
Good point about your situation Ben with multiple sites.

This is also where the plugin repository would help (that has been started but has yet to be finished). The install could check the repository for any new upgrades or incompatibilities.
One of the Geeklog Core Developers.

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
During an update, the installation of plugins (not installed) should simply not be permisse to leave full control to the administrator.

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

All times are EDT. The time is now 01:58 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content