-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Production config not exists in container #43
Comments
If you want to get any help, you should provide additional information. This error indicates an incorrect configuration of the docker environment or an unfinished iTop setup procedure. |
I just started it as you wrote in readme: At least a sample config should appear in container I think, than I can setup as my needs. And I do not found information in readme how to change my environment to work with this - how to place this configuriation file into container and about the content. First I used with compose, but I try out the image itself. Remove the old one from my server, and start it raw as mentioned before. It seems like a mistake in the image or description. |
I try demo and production as well. With base image and image with sql also, all of that produce this error: config file not found. |
The config-itop.php file appears after the installation procedure is completed, and not after the container is started. The container is just a php+apache+mysql environment, it does not do anything additional with the iTop application. You must install and configure iTop yourself by following its documentation and the wizard http://localhost:8000/setup/wizard.php. |
Okay, i see you think I am a noob. But this error occur after the wizard, when press "install". |
Maybe need to run one of your script, which make configs writable? |
docker exec my-itop conf-w |
I just checked the procedure from the README:
|
No you don't need because you have no configs (according to you error message). |
Sorry, but I still don't understand at which step you get the error. And still nothing info about the docker environment config (mounts, volumes, another images if any). |
Yes, I try this. With compose and my own database, with database in your container. Just one difference: the setup does not completed, but the error I asked shown. So what is the solution? |
I wrote you the command I run, which strongly show the environment: no mounts, volumes, just your container and the port forward rule. |
Have you tried to force the wizard to run? |
Do not worry about compose, I look for your documentation and follow your steps - without compose and volumes, because when I can get a working solution I can change it to my needs. But following yor steps does not help. One more thing: I do not know if the source changed or how your container built. So I try it raw, with docker run, without compose and volumes, but still not working. This point I create this issue. |
Are the container and the browser on the same host? |
My problem is not about starting the wizard. I can press "next" and setup things in wizard, but at the end there is a summarize page and "install" button, and when I press "install" then the error message shown. |
No. I try to install it on a VPS. With nginx reverse proxy. |
The image was last updated 4 months ago.
Try to repeat the installation on the local host. |
Ya, thats help. Https make something strange. :) |
Yes, it works on the server too. Just need to configure it without encryption. Thank you! |
Version: vbkunin/itop:latest-base (and other versions too)
Uncaught ConfigException: Could not find configuration file: file = /var/www/html/conf/production/config-itop.php in /var/www/html/core/config.class.inc.php:1973 Stack trace: #0 /var/www/html/core/config.class.inc.php(1990): Config->CheckFile() #1 /var/www/html/core/config.class.inc.php(1943): Config->Load() #2 /var/www/html/setup/wizardsteps.class.inc.php(2582): Config->__construct() #3 /var/www/html/setup/wizardcontroller.class.inc.php(224): WizStepDone->Display() #4 /var/www/html/setup/wizardcontroller.class.inc.php(156): WizardController->DisplayStep() #5 /var/www/html/setup/wizardcontroller.class.inc.php(294): WizardController->Next() #6 /var/www/html/setup/wizard.php(69): WizardController->Run() #7 {main} thrown in /var/www/html/core/config.class.inc.php on line 1973
The text was updated successfully, but these errors were encountered: