<div dir="ltr">Hi again, sorry for bothering with the same question.<div><br><div>Now I'm 100% sure that currently there's no way to keep "Finish Setup" screen (for entering admin login/pass) and at the same time preset other parameters from that screen (directory, dbtype, db host, dbname, dbuser, dbpass).</div>
<div><br></div><div>I would like to provide this possibility and contribute to ownCloud. Could someone give me some advises here:</div><div>1) Does what I want seem useless and even not worthy answering on the email group?</div>
<div>2) Will such a change be merged to ownCloud master repository if properly done?</div><div>3) There are few ways of making what I want, can anybody on the list volunteer to discuss ways for improving chances to be merged?</div>
<div><br></div><div>Just once again shortly what I want to achieve: I want my users to see "Finish Setup" screen on the first run, but I want to preset data folder and database parameters myself.</div><div><br></div>
<div>How I see this will be used: </div><div>1) Admin put some config file (let's say installation-config.php) to config folder.</div><div>2) The config/installation-config.php file might contain data folder setting or database connection settings or both.</div>
<div>2) The core/templates/installation.php generates controls based on the installation-config.php file, if there's no installation-config.php then current "Finish Setup" page will be generated.</div><div><br>
</div><div>Thanks,</div><div>Vladimir Sapronov</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 19, 2013 at 3:17 PM, Vladimir Sapronov <span dir="ltr"><<a href="mailto:vladimir.sapronov@gmail.com" target="_blank">vladimir.sapronov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi,</p>
<p dir="ltr">Here I meant the main settings controlled from "Finish Setup" page. I don't want the admin-user to select storage type (MySQL) and credentials (to MySQL). But I still want the first admin-user to provide OC credentials and click "Finish Setup" button on the screen. How I can achieve that?</p>
<p dir="ltr">I have checked the autoconfig.php way already. It's more "all or nothing" approach. Either I preset MySQL connection altogether with OC admin credentials and then there will be no "Finish Setup" screen, or if I omit adminlogin/adminpass the "Finish Setup" page appears without MySQL selected (as I provided in autoconfig.php).</p>
<p dir="ltr">I might just go into installation.php and hardcode parameters there with removing selection from "Finish Setup" page, but I would rather use some more elegant way, if there's any...</p>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div>Vladimir Sapronov
</div>