<div dir="ltr"><span style="font-size:12.8px">I have done a fresh install of freedom box and </span><span class="" style="font-size:12.8px">own</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">cloud</span><span style="font-size:12.8px"> through the web interface.  I have a drive with </span><span class="" style="font-size:12.8px">data</span><span style="font-size:12.8px"> from a previous server.  Can I mount that drive to the </span><span class="" style="font-size:12.8px">data</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">folder</span><span style="font-size:12.8px"> that </span><span class="" style="font-size:12.8px">own</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">cloud</span><span style="font-size:12.8px"> points to so I do not have to </span><span class="" style="font-size:12.8px">change</span><span style="font-size:12.8px"> anything in </span><span class="" style="font-size:12.8px">own</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">cloud</span><span style="font-size:12.8px">configuration?  </span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have read about the bug in freedom box/<span class="">own</span> <span class="">cloud</span> install that does not let you configure the <span class="">data</span> <span class="">folder</span> at install were you having to delete the config.php file,  Then disabling <span class="">own</span> <span class="">cloud</span>, applying the <span class="">change</span>, then reenable to <span class="">change</span> configure the <span class="">data</span><span class="">folder</span> and the database login but I not know where to find the database login details.</div><div style="font-size:12.8px"><br></div><span style="font-size:12.8px">My goal is to</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">change</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">the</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">data</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">folder</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">to a different drive.  I have tried to</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">change</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">the datadirectory value in config.php but when I try to go the</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">own</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">cloud</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">link it asks me to recreate the admin username and password, enter is the</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">data</span><span style="font-size:12.8px"> </span><span class="" style="font-size:12.8px">folder</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">I would like to use, the name of the database, and database login details but I do not know where to find the username and password for the database.  </span><span style="font-size:12.8px">Can I mount that drive to the data folder that own cloud points to so I </span><span style="font-size:12.8px">do not have to </span><span style="font-size:12.8px">change anything in own cloud configuration?</span><br style="font-size:12.8px"><span style="font-size:12.8px"><br></span><div><span style="font-size:12.8px">The </span><span style="font-size:12.8px">external partition is mounted at /var/lib/owncloud/data.  I had to make </span><span style="font-size:12.8px">sure www-data was the owner and group for all the directories and </span><span style="font-size:12.8px">files.  I also copied hidden files (.htaccess and .ocdata) to the root </span><span style="font-size:12.8px">level of the external partition.  Lastly, the partition was added to </span><span style="font-size:12.8px">/etc/fstab, as follows:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">UUID=####       /var/lib/owncloud/data       ext4      </span><span style="font-size:12.8px">auto,rw,suid,dev,exec,nouser,</span><span style="font-size:12.8px">async      0       0</span><br style="font-size:12.8px"><br>I have also installed these two packages</div><div><br></div><div><span style="font-size:12.8px"> sudo apt-get install php-dropbox php-google-api-php-client</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">Tried a rescan and the files that are on the partition do not show up in owncloud web.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I rescanned using the following commands</span></div><div>







<p class=""><span class="">sudo -u www-data php occ files:scan --all -vv</span></p><p class=""><span class="">After doing all this I still cannot see all the files I have on the partition through the web interface or the webdav.  How can I see the files in the webdav and web interface?</span></p><p class=""><span class=""><br></span>--</p><div><div class="gmail_signature"><div dir="ltr"><div><br></div>Any question or comments you can email or call me at any time.<br>I will get back to you as fast as I can.<br><br>Thank you and have a nice day!!<br><br>Ken DeWitt<br>Your Fellow Tech. Guy<br><br><div>Phone # : 204-998-3218<br>Email: <a href="mailto:kendewitt@yourfellowtechguy.com" target="_blank" title="[GMCP] Compose a new mail to kendewitt@y" onclick="window.open('https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&to=kendewitt@yourfellowtechguy.com', null, 'left=240,top=83,width=800,height=680,');return false" rel="noreferrer">kendewitt@y</a><a href="http://ftg.ca/" target="_blank">ftg.ca</a></div></div></div></div>
</div><img src="http://t.sidekickopen36.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dpzgW4XHDFK7fRT2YW7dKSy43LvrVvW3xvTL71k1H6H0?si=5101534399430656&pi=eb466fd0-994e-44ea-933a-9ac1949c92e6" style="display:none!important" height="1" width="1"></div>