pluginsGLPI / formcreator

GLPI Plugin Formcreator (DOWNLOAD : https://github.com/pluginsGLPI/formcreator/releases)
http://www.teclib-edition.com
GNU General Public License v3.0
174 stars 125 forks source link

Ao tentar instalar o formcreator na versão 10.0.15 apresentou erro : #3509

Closed gspgaby closed 6 months ago

gspgaby commented 6 months ago

Ao tentar instalar o formcreator na versão 10.0.15 apresentou erro :

O esquema do banco de dados não é consistente com a versão anterior do Formcreator 2.14.0-dev. Para ver os logs execute o comando bin/console glpi:plugin:install formcreator -f

image

Tentei rodar o comando solicitado porem não adiantou:

image

btry commented 6 months ago

Hi

Is it a fresh install or an upgrade of the plugin ?

Why did you use the skip-db-check argument ? The database sanity check is here to protect your database against such problems.

gspgaby commented 6 months ago

It's a fresh install, I used skip-dB-check because I hadn't done it without it, so I tested it this way but I still couldn't install it

btry commented 6 months ago

I think that the installation process found data from a previous installation of the plugin. For some reason it was not properly uninstalled.

Remove all tables with a name beginning with glpi_plugin_formcreator_

execute the following SQL queries. The first to view the rows to be deleted by the 2nd one. (I expect 2 rows)

select * from glpi_configs where context='formcreator';
delete from glpi_configs where context='formcreator';
gspgaby commented 6 months ago

It worked, thanks