Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
<ol>
<li>Using existing “Amahi Shares” for file storage and ownCloud for file access and storage management.
<li>Using ownCloud for file storage, managing access, and file storage management.
</ol>
<br/>
Recommendation? Choose one of the scenarios and stick with it. If both are used it could lead to confusion later, especially when sharing problems need to be debugged.
<br/>
<!--owCloud Tip follows-->
The default media directories provided by Amahi Home Server can be used to store media files and managed (i.e. uploads, deletions) by ownCloud. Although there is one caution, '''all management''' of the media files should be done via ownCloud. If Samba use continues for the media files there is a high risk the files will no longer be visible to users in ownCloud and other Amahi applications. Only a lot of manual changes to file ownership and permissions after any changes can provide visibility to ownCloud and other Amahi applications.
 
'''Please Note:'''
 
This scenario was not intended to be used with Amahi Greyhole enabled. Greyhole should be disabled in order to use this scenario.
 
Please do the following '''carefully''':
* Using the server console or remote connection login using the "root" user.
<blockquote>
{{Code|<pre>chown -vR apache:apache movies
chown -vR apache:apache music
chown -vR apache:apache pictures}}</pre></blockquote>
* The previous two steps now give the ownCloud application access to the Amahi media directories.
<blockquote>
{{Code|<pre>cd /var/hda/files/movies
chmod -vR 664 *
cd /var/hda/files/music
chmod -vR 664 *
cd /var/hda/files/pictures
chmod -vR 664 *}}</pre></blockquote>
* Using the "cd" command go to "/var/hda/files/". Change the permissions on the movies, music, pictures directories. Also any subdirectories below these directories must also be changed to the same permissions.
<blockquote>
{{Code|<pre>chmod -vR 775 movies
chmod -vR 775 music
chmod -vR 775 pictures}}</pre></blockquote>
* The Amahi directories have been reconfigured for ownCloud use. The following steps will now involve configuring ownCloud for the sharing of the Amahi directories.
12,424

edits