You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-03-30 16:50:16

dibbo
Member
Registered: 2018-03-30
Posts: 7

Upgrade Formcreator from 2.4.2 to 2.6.2 version

Hi,
I need to upgrade Formcreator from 2.4.2 to 2.6.2 version. How Can I Do without lossing my customized forms?

Offline

#2 2018-03-30 16:57:13

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

Hi

I'm the main maintainer of the plugin.

The upgrade process shall keep all your data. However this plugin becomes quite complex, and since I maintain it I refactored (and still doing) a lot of code. I strongly advice you to use a testing instance of GLPI with with a copy of your production database, then test the upgrade with this testing instance.

Next test some complex and critical  forms, to ensure nothing broke in the upgrade. IF you find any issue, open one ticket per issue on the repository of the plugin: https://github.com/pluginsGLPI/formcreator/issues

Last edited by btry (2018-03-30 16:57:49)


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

#3 2018-03-30 17:04:27

dibbo
Member
Registered: 2018-03-30
Posts: 7

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

Hy btry,
thank you for the answer.
Are these the steps to Upgrade?

1. Deactiving plugin 2.4.2 ver;
2. Disinstalling it;
3. Uploading new version;
4. Installing new version;
5. Activing new version.

is it the right way?

Thanks

dibbo

Offline

#4 2018-03-30 17:11:19

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

No

If you uninstall the plugin all your forms will be lost !

- Disable the plugin
- move the folder glpi/plugins/formcreator in a safe place, out of glpi subtree
- upload the new version of the plugins in glpi/plugin (subfolder formcreator is in the release archive)
- open the plugins list, then click upgrade button
- click enable button
- test

Last edited by btry (2018-03-30 17:11:50)


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

#5 2018-03-30 17:14:07

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,167

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

first of all :
make sure plugin version is compatible with glpi version.
dump your database and make sure you know how to restore.


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Online

#6 2018-03-30 17:20:04

dibbo
Member
Registered: 2018-03-30
Posts: 7

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

btry wrote:

No

If you uninstall the plugin all your forms will be lost !

- Disable the plugin
- move the folder glpi/plugins/formcreator in a safe place, out of glpi subtree
- upload the new version of the plugins in glpi/plugin (subfolder formcreator is in the release archive)
- open the plugins list, then click upgrade button
- click enable button
- test

Ok!

Thanks

Offline

#7 2018-03-30 17:20:22

dibbo
Member
Registered: 2018-03-30
Posts: 7

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

LaDenrée wrote:

first of all :
make sure plugin version is compatible with glpi version.
dump your database and make sure you know how to restore.

Thanks

Offline

#8 2018-03-30 17:23:14

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

Updated my signature big_smile


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

#9 2018-04-04 14:03:59

dibbo
Member
Registered: 2018-03-30
Posts: 7

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

Hi,
I had to upgrade to 2.5.2. version of FormCreator because the instance of GLPI is 9.1.2. .

Both 2.4.2 and 2.5.2 version of FormCreator have the same bug (?): Validation doesn't run with the right validator. I have seen in the list of pending form that the validator is another user (id problem?). is There a fix for this problem?

Thanks

Offline

#10 2018-04-04 14:10:14

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

Hi

There was a design problem in the validation feature in old versions of  the plugin, quite complex to resolve. If I remember correctly this was fixed starting 2.6.0 because a database schema change was required.


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

#11 2018-04-04 14:36:28

dibbo
Member
Registered: 2018-03-30
Posts: 7

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

btry wrote:

Hi

There was a design problem in the validation feature in old versions of  the plugin, quite complex to resolve. If I remember correctly this was fixed starting 2.6.0 because a database schema change was required.

Thank you!

Offline

#12 2018-04-06 12:43:21

dibbo
Member
Registered: 2018-03-30
Posts: 7

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

btry wrote:

Hi

There was a design problem in the validation feature in old versions of  the plugin, quite complex to resolve. If I remember correctly this was fixed starting 2.6.0 because a database schema change was required.

Hi,
I did upgrade both GLPI (9.2.2) and FormCreartor (2.6.2), but I still have problem with validation. User click on "Accept" or "Refuse" button without effetcs.
Any suggestion?

Offline

#13 2018-04-06 13:47:15

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Upgrade Formcreator from 2.4.2 to 2.6.2 version

Hi

If you found a bug please open an issue on github. Repeat your version of GLPI and  the plugin. Try to build a very simple form able to reproduce your issue, and give the steps to use the form and reproduce. You may also share a form with the export feature and put the export in the issue.

With precise information I can usually easily reproduce and fix. It would be nice for you if I can find the fix for the version 2.6.3. This release is planned this month.


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

Board footer

Powered by FluxBB