Closed vp-lab closed 3 years ago
You can deploy only Glpi container without databse container.
Either you make a new installation and you inform your remote database server.
Or you deploy only the GLPI container and you copy the data of your existing installation in the volume. In this way, you should keep the information of your remote database.
I'm connected to the database (a dump from the original one) but I can't see any computers or anything. I need to do something more?
And if i want to use fusioninvetory plugin, it'll work?
Thank you.
I would have copied all the data (folder and files) from your old installation to the Docker installation. Then I would have adapted the _config/configdb.php file to connect to your correct database.
Of course you want to use the fsiononventory plugin. I use it in my Docker installation. You just have to follow the installation instructions:
Thank you for your response. Everything works but I have only one problem: How can I enable the GLPI cron for the fusioninventory plugin? I really need the cron or not?
Can you check this issue https://github.com/DiouxX/docker-glpi/issues/6#issuecomment-380374086 ? The problem was the same and it resolved.
tail -f glpi/files/_log/cron.log
Do you mean to change GLPI to CLI for the taskcheduler for fusioninventory? But the notification will stay there or need to disappear?
Nevermind. I just changed to CLI to GLPI => save. changed again from GLPI to CLI => save, error it's gone. I'll check tomorrow for crons on logs.
Is that your issue is resolved with changed the run mode from GLPI to CLI ?
It was already on CLI and get the information for the cron. I just change to GLPI , saved, changed again in CLI and saved, now it's working.
You can close the ticket. Thank you for the support.
We can use an external database?
We already have GLPI installed (not in docker) but we want to migrate to docker and use the same database.