Open luisfelipe3d opened 3 years ago
I can confirm that. config.inc.php
is not populated correctly.
Are you upgrading?
Sorry for the long silence.
About this specific issue: OJS lacks of a good client and the command-line installation is done via "curl" with some parameters. I really don't trust much in this way of doing and I was never used in real life.
As far as this feature was never tested, this is considered an enhancement. No time right now to work on this so PR are really welcome.
I can confirm that.
config.inc.php
is not populated correctly.Are you upgrading?
No, I used for development.
Same here.
In logs :
[OJS CLI Install] First time running this container, preparing... [OJS CLI Install] Calling the install using pre-defined variables... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to localhost port 80 after 0 ms: Connection refused
I tried to force it with docker exec https://github.com/pkp/docker-ojs/blob/main/templates/common/ojs/usr/local/bin/ojs-cli-install
it worked ...
Installation of OJS has completed successfully.
As far as it can be accomplished with the frontend or the workaround posted by @matgn, is not a priority right now, but would be nice to adress this in the new version.
The real problem is the one posted at #179.
Expected Behavior
When the environment variable OJS_CLI_INSTALL is changed to 1 on .env file, it is expected that the installation takes place automatically without the need of human interaction.
Current Behavior
After setting up the environment and running docker-compose, I verified that the configuration doesn't work. The following image illustrates the fact:
Steps to Reproduce
Context (Environment)
More information about the host
Cheers, Luis Leal.