Changes

From Amahi Wiki
Jump to: navigation, search
344 bytes removed ,  17:55, 3 May 2015
You can create new workspaces from the same location.
=Changing the default location of Pydio user dataChange User Data Location=
The default location of user files is hard-coded into the Pydio app, and cannot be changed through the web interface [edit: this may be possible through the web interface at Settings > Workspaces > Common Files, and Settings > Workspaces > My Files. Try changing the file locations here first when logged in as an admin user]. You can change the location of your shares, but if you want to use Pydio to manage user data then you might want to move the default directories to a different location on your drive. For this example I will move the default file locations to a new Amahi share.
==Create a new shareNew Share==
Using the Amahi web interface (http://hda), navigate to the "shares" settings, and create a new share called "Pydio". By default this is located in <code>/var/hda/files/pydio</code>. I moved mine to a second hard drive (see [[Adding_a_second_hard_drive_to_your_HDA]] if you need to install a new hard drive), so changed the file location to <code>/var/hda/files/drives/drive1/pydio</code> (click on the new share from the Amahi web interface, and enter the new directory name). However I also use [[Greyhole]], so want to mount the new share locally and manipulate files from that location. See [[Mount_Shares_Locally]] if you need to set this up. To mount the new share locally, restart the mount_shares_locally service (Amahi 7 / Fedora 19 commands shown):
{{Code|Code = bash$ sudo systemctl restart mount_shares_locally.service}}
You can check that the share is correctly mounted using <code>ls -l /mnt/samba</code>.
==Changing the default location for files in PydioChange Files Location==
To change the default data directory in Pydio, we need to edit a configuration file which is in the web-apps directory.
{{Code| Code= sudo vi /var/hda/web-apps/pydio/html/
find the following line in the file (line 36):
"PATH" => "AJXP_DATA_PATH/files",
<!--Your text above this line-->
<!--This page must bellong to one of the following categories please remove comment-->
[[category:Apps]]
<!--[[Category:Fedora]]-->
<!--[[Category:Platform]]-->
<!--[[Category:Pro Version]]-->
<!--[[Category:Services]]-->
<!--[[Category:VPN]]-->
12,424

edits