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 2015-11-28 17:26:08

ask2me007
Member
Registered: 2010-10-03
Posts: 46

Restoring GLPI in another machine with the old backup-reg

Hi all,

Iam using glpi 0.84 for the last 6 months. I want to change the glpi software to another server.  After restoring the database, i want to upgrade to glpi 0.90. How can i restore glpi to another machine. which is the best way to do this. Waiting for your reply.
Thanks in advance


Jack

Offline

#2 2015-11-28 23:37:52

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

Re: Restoring GLPI in another machine with the old backup-reg

hi,
first, check your plugins still exists in 0.90.
check your server meets requirement for 0.90.
then deactivate plugins ( don't uninstall)
dump your database.
tar your glpi directory.

then

untar your glpi directory to your new server
upload dump and restore your database (from dump)

check datas in glpi/config/config_db.php and change database server)

log into glpi, it should work .(don't activate plugins) =>you are still working with 0.84
log out

then download glpi0.90.1 archive, upload to your server and untar (this will overwrite glpi0.84)

log into glpi : it will request for update, accept.
follow glpi instructions.

when finished  :

log out, empty browsercache
delete glpi/install/install.php

then upload plugins new versions in glpi/plugins/  untar
install and activate plugins.

enjoy !


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

Offline

#3 2016-02-24 07:44:43

ask2me007
Member
Registered: 2010-10-03
Posts: 46

Re: Restoring GLPI in another machine with the old backup-reg

Sorry for the delay.
Every thing works fine up to installing new plugins in version 0.90.1.
I have already working with some data using the generic plug in in my glpi version 0.84.8.
After upgrading to .90.1, I downloaded and installed the generic object plugin 0.85 .Then I went to the plug module and the generic plugin showed an upgrade option.
When I clicked the upgrade option, it shows changing database layout and nothing happens.

Is there any bug? or Is there anything mistakes in  upgrading to 0.90.1?

Offline

#4 2016-02-25 15:55:28

narutobaka
Member
Registered: 2007-09-07
Posts: 304

Re: Restoring GLPI in another machine with the old backup-reg

Hi

After upgrading to .90.1, I downloaded and installed the generic object plugin 0.85.

Is this plugin compatible with 0.90.1 Glpi version?

cordialy


Prod : centos-release-7-2  | GLPI  9.4.3 | FusionInventory 9.4+1.1 | fusioninventory-agent_windows-x64_2.5.2
Test : centos-release-7-2 | GLPI  9.4.4 |
Rectorat de Caen

Offline

#5 2016-02-26 10:59:42

ask2me007
Member
Registered: 2010-10-03
Posts: 46

Re: Restoring GLPI in another machine with the old backup-reg

Sorry for the wrong information.
I tried to upgrade to glpi 0.90 version from 0.84.8 version. Copied the new generic plugin  0.85-1.0
After that went go the plugin option and clicked the upgrade button.Then it shows some database layout error.
Again I went to the plugin page and clicked the upgrade button. Then it showed
Work in progress...  and nothing happens.

The log file in the sql log is as follows


SQL: INSERT INTO `glpi_notificationtemplatetranslations` VALUES (\'23\',\'24\',\'en_US\',\'\',\'dEARÂ ##lang.author.id##

YOUR EMAIL HAS BEEEN REGISTERED SUCCESSFULLY\',\'<p>dEARÂ <span style=\\\"font-family: \\\'Bitstream Vera Sans\\\', arial, Tahoma, \\\'Sans serif\\\'; font-size: 11px; background-color: #f2f2f2;\\\">##lang.author.id##</span></p>

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''<p>dEARÂ <span style=\"font-family: \'Bitstream Vera Sans\', arial, Ta' at line 1
Backtrace :
/var/www/html/ksfe/front/backup.php :286           DBmysql->query()
/var/www/html/ksfe/front/backup.php :564           restoreMySqlDump()
/var/www/html/ksfe/front/backup.php

Offline

Board footer

Powered by FluxBB