Manual owncloud V4.0.6 Install on Amahi

User avatar
bigfoot65
Project Manager
Posts: 11419
Joined: Mon May 25, 2009 4:31 pm

Re: Manual owncloud V4.0.6 Install on Amahi

Postby bigfoot65 » Tue Aug 14, 2012 10:31 am

Awesome. Would you mind adding this to the wiki? We would greatly appreciate it.
ßîgƒσστ65
Applications Manager

northridgegrp
Posts: 134
Joined: Sun Mar 07, 2010 9:54 am

Re: Manual owncloud V4.0.6 Install on Amahi

Postby northridgegrp » Tue Aug 14, 2012 10:36 am

When creating MySQL databases for Amahi applications do you guys still use the hda command line utility? If so I would include that in my wiki article.

User avatar
bigfoot65
Project Manager
Posts: 11419
Joined: Mon May 25, 2009 4:31 pm

Re: Manual owncloud V4.0.6 Install on Amahi

Postby bigfoot65 » Tue Aug 14, 2012 11:54 am

We use it for manual installs, but not in the actual one-click apps. There is a built in database generator for it.
ßîgƒσστ65
Applications Manager

User avatar
bigfoot65
Project Manager
Posts: 11419
Joined: Mon May 25, 2009 4:31 pm

Re: Manual owncloud V4.0.6 Install on Amahi

Postby bigfoot65 » Fri Aug 17, 2012 2:44 pm

ownCloud has been updated to the latest version. Some additional dependencies added and the data directory is now a share called owncloud.

This is designed more for Ubuntu it appears as the install instructions on the web site address it specifically for dependencies.
ßîgƒσστ65
Applications Manager

northridgegrp
Posts: 134
Joined: Sun Mar 07, 2010 9:54 am

Re: Manual owncloud V4.0.6 Install on Amahi

Postby northridgegrp » Sat Aug 18, 2012 7:53 am

Regarding the .htaccess warning message (data directory still included with owncloud binary directories) I confirmed the following using the v4.0.6 install:

1. I removed "All" from the /etc/httpd/conf.d/1003-owncloud.conf file. Rebooted the server and logged in to the owncloud admin account. Went to settings => admin no warning message.

2. Next I renamed the ".htaccess" file to ".htaccess.old". Rebooted and again went in to owncloud settings => admin. Warning message was there. So we now have confirmation that as you indicated that the .htaccess file feature has been enabled on the F14 Amahi platform.

northridgegrp
Posts: 134
Joined: Sun Mar 07, 2010 9:54 am

Re: Manual owncloud V4.0.6 Install on Amahi

Postby northridgegrp » Wed Aug 22, 2012 6:10 pm

What is the correct syntax for the "hda-create-db-and-user" command to change the MySQL password on a database?

For example:

Database Name = owncloud

User ID = owncloud
Current Password = admin_owncloud

Want to change password to "xyz12345".

User avatar
bigfoot65
Project Manager
Posts: 11419
Joined: Mon May 25, 2009 4:31 pm

Re: Manual owncloud V4.0.6 Install on Amahi

Postby bigfoot65 » Wed Aug 22, 2012 6:50 pm

That script is not used for changing passwords, only creating the database, user, and password all of which are the same name.

If you are wanting to change the login password, that is done through the app. If you want to change the password to the database, you need to use one of the web apps like phpMyAdmin or Adminer to do it. Keep in mind if you do change the database password, it will need to be changed in the app configuration as well.
ßîgƒσστ65
Applications Manager

northridgegrp
Posts: 134
Joined: Sun Mar 07, 2010 9:54 am

Re: Manual owncloud V4.0.6 Install on Amahi

Postby northridgegrp » Wed Aug 22, 2012 7:03 pm

I am working on the wiki article for the manual installation of owncloud. Part of the article is to show how to setup a database, user ID, and password. These are then used later in the final installation process of owncloud.

So if I used the command like this:

​hda-create-db-and-user owncloud

if would create the following; database = owncloud, user ID = owncloud, password = owncloud? If so, that's all I would need for my wiki article in this section.

User avatar
bigfoot65
Project Manager
Posts: 11419
Joined: Mon May 25, 2009 4:31 pm

Re: Manual owncloud V4.0.6 Install on Amahi

Postby bigfoot65 » Wed Aug 22, 2012 7:10 pm

Yes, that is correct.
ßîgƒσστ65
Applications Manager

northridgegrp
Posts: 134
Joined: Sun Mar 07, 2010 9:54 am

Re: Manual owncloud V4.0.6 Install on Amahi

Postby northridgegrp » Fri Aug 24, 2012 1:20 pm

When owncloud users login to their account and then navigate to Settings => Personal there is a message displayed at the top something like this:

"You use 3 GB of the available 43.4 GB"

What does the mean? The available size displayed reflects the available storage remaining in the disk partition where the owncloud data directory exists.

So in the case of why the available storage is so low? In this example owncloud was installed on an O/S installation that uses a default disk partitioning scheme for a desktop computer. During installs of this nature the /home directory gets most of the space while system partitions have usuallly a smaller fixed size. Additionally if the /var partition is not defined separately from the other disk partitions the resulting /var directory is lumped in with other system directories in the / (root) partition. owncloud binary and the data directories live in the /var directory.

What to do? Well that depends how the disk partitions were setup. If LVM is used and additional space is unallocated on the existing disk system then more storage can be allocated to the logical volume for /var. Otherwise, look seriouly at redoing the O/S install with a new partitioning scheme.

For those people that use Fedora there is good on-line help documentation discussing partitioning at the Fedora docs site , "http://docs.fedoraproject.org/en-US/index.html".

Once the /var partition is properly setup with a decent amount of storage each owncloud user should be allocated a maximum quota of storage (i.e. 10G, 20G).

Who is online

Users browsing this forum: No registered users and 1 guest