<div dir="ltr"><div>here you go...<br></div><div><br></div><div><br></div><div>+--------+----------------+---------------+-------------+</div><div>| userid | appid          | configkey     | configvalue |</div><div>+--------+----------------+---------------+-------------+</div>
<div>| admin  | files          | cache_version | 5           |</div><div>| admin  | firstrunwizard | show          | 0           |</div><div>+--------+----------------+---------------+-------------+</div><div>2 rows in set (0.00 sec)</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 30, 2013 at 10:17 AM, CJ Keist <span dir="ltr"><<a href="mailto:cj.keist@colostate.edu" target="_blank">cj.keist@colostate.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Could someone send me the the table structure for oc_preferneces? For some reason my database doesn't have it.<br>
<br>
On 9/27/13 4:18 PM, Stefan Vollmar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear CJ Keist,<br>
<br>
On 27.09.2013, at 22:28, CJ Keist <<a href="mailto:cj.keist@colostate.edu" target="_blank">cj.keist@colostate.edu</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The web interface doesn't look to have the ability to list thousands of users on my owncloud system. So there is no way for me to set custom disk quotas for users that are not displayed on the web interface.  I have tried the search function on the page but that doesn't work.<br>

So I tried to see where disk quota settings are stored on the mysql database but have not had any luck finding where that value is set per user account.  Could someone direct me on how I can set default disk quota for users on my system?<br>

</blockquote>
<br>
I am not sure that this is the "official" way of doing things but I would suggest a different approach: if you use the MySQL backend, it seems to be pretty straightforward to set all sorts of parameters with a few lines of SQL code. In fact, this is similar to our own automated method of creating a large number of users in OwnCloud and sending automatically generated E-mails with activation links (tokens).<br>

<br>
With OwnCloud 5, you can look up user data in the oc_user table (here: "aeinstein" is the "uid" of "Albert Einstein"), you can then set a quota of 10 GB like this:<br>
<br>
INSERT INTO `oc_preferences` VALUES<br>
  ('aeinstein','files','quota','<u></u>10 GB');<br>
<br>
If you have a list of uids it is very easy to repeat that line as often as required.<br>
<br>
Warm regards,<br>
  Stefan<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
--<br>
C. J. Keist                     Email: <a href="mailto:cj.keist@colostate.edu" target="_blank">cj.keist@colostate.edu</a><br>
Systems Group Manager           Solaris 10 OS (SAI)<br>
Engineering Network Services    Phone: 970-491-0630<br>
College of Engineering, CSU     Fax:   970-491-5569<br>
Ft. Collins, CO 80523-1301<br>
<br>
All I want is a chance to prove 'Money can't buy happiness'<br>
<br>
______________________________<u></u>_________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org" target="_blank">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/owncloud</a><br>
</blockquote>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
C. J. Keist                     Email: <a href="mailto:cj.keist@colostate.edu" target="_blank">cj.keist@colostate.edu</a><br>
Systems Group Manager           Solaris 10 OS (SAI)<br>
Engineering Network Services    Phone: 970-491-0630<br>
College of Engineering, CSU     Fax:   970-491-5569<br>
Ft. Collins, CO 80523-1301<br>
<br>
All I want is a chance to prove 'Money can't buy happiness'<br>
______________________________<u></u>_________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org" target="_blank">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/owncloud</a><br>
</font></span></blockquote></div><br></div>