Closed stefan-sesser closed 3 years ago
Hi, this problem occurs because you didn't put the config file from previous install back. I usually mount the config file, but you can also replace it by doing docker cp config.php my-itop:/var/www/html/conf/production/config-itop.php
.
Hi Hipska,
Many thanks to your comment. That really helped me out.
Just to clarify the problem - root cause of this issue is due to not persisting the state of my maria db. Creating a mount for this container solved it.
BTW: After installing itop via the browser ui, the /var/www/html/conf/production/config-itop.php
file is readonly! So copying the file from the old to the new container will not work out of the box ;)
Thanks again
Hi, At the moment I am facing some issues after recreating the docker image (vers. 2.7.4). What I have done so far:
Everything is working fine until I have stopped and removed the itop docker container.
After starting a new instance the web interface has some issues. I tried to reinstall itop with http://localhost/setup path. First attempt was to choose 'Upgrade an existing itop instance' to restore the data. Unfortunately this returned an error
Second attempt was to create a new instance. Also this one resulted in an error: Error: found iTop tables into the database 'itop'. Please, try selecting another database instance or specify a prefix to prevent conflicting table names.
The only way I can restore my data was to create a backup and restore it afterwards. To get itop running I had to remove the db and rerun maria db and itop containers
Is this the way to go? Thx