Openmediavault + Pydio ( Formally AjaXplorer) (Remote Web File Management)

– [ Installation – Pydio in OMV ] –

Openmediavault (OMV) has a Web UI to control and monitor the system but does not have a file explorer that you can use. So I thought there should be a web UI based application that I can install in OMV to access my files. I found Pydio which has very good UI (see image 1.1). It not only has Web UI but also have dedicated apps for iOS / Android OS.

Pydio
Image 1.1 – Pydio (Formally AjaXplore) Web UI

Lets begin the installation. First we need to install openmediavault-website plugin from plugin section of OMV. Go to http://omv-plugins.org/ and select appropriate plugins. My current OMV version is 4 (Fedaykin) so I have downloaded the file >upload / install it from plugin section.

After installation you will have a section “OMV-Plugins.org” under System Folder.  Now select all the option and press OK.

NoticeNote: Both repository are either unstable / experimental. So by installing plugins from these repository you are accepting the challenge for any problem that might occur. In my experience plugin in unstable are much safer than those are in experimental stage. So install it with caution.

Now install website plugins.

Login > Plugins > Openmediavault-website *version > Install

After installation, refresh the browser. You will see website section under Services

Ajax
Image 1.2 – Website Plugin – OMV

In this section, you need to first create folder where you want to store AjaXplore files.

Document root > click on plus > Create a folder  

We are going to use “Port Based” as Virtual host Type and 8181 as Virtual host port. Note: You can change port to any other number you like, make sure no other application are using it. [Maximum port = 65535]

 And then select user in User section select a user which is in User group. You can create user from Access Right Management > User and put that user into User group in Groups.

Document root > click on Enable Allow PHP Script to be executed > select User

After that go to share folder and select the folder that you created for website and give your user read/write privileges from privileges section.

Document root > click on Access Right Management > Shared Folders > [Website Folder] > Privileges > User > OK

Than go back to Website section 

Document root > click on Select Enable (top of the page )> OK

-=-=-==-=-=-

Now we need to download Ajaxplore and install it.

First ssh into OMV and go to website folder. In my case its /media/partitiction name/web

cd  /media/[partition name]/web
wget http://downloads.sourceforge.net/project/ajaxplorer/pydio/stable-channel/5.0.4/pydio-core-5.0.4.zip
tar xvzf pydio-core-5.0.4.zip

Now move all the files from ajaxplorer-core-4.2.3 folder to web. [Explanation: By doing this you just need to type ip:port number, don’t need to remember folder name for ajaxplorer]

mv -v ./pydio-core-5.0.4/* /media/[partition name]/web/

Now check if its running or not. Goto browser and type

It will ask you to enter login detail. Default user name / password is admin. After login in we need to change password.

Top Right corner click to admin and change password

Document root > click on Admin > Change password 
– [ End of  Installation – AjaXplorer in OMV ] –
– [ Start of Extra for AjaXplorer ] –

Till now you can access your server and create a folder but have no access to any other folder. Generally Ajaxplorer creates all files and folder in

/media/[partition name]/[website folder]/data/files

To access other folder in your system you need to make sure your user has right to that folder. Go to

Document root > click on Access Right Management > Share folders > [your folder] > privileges > check user name > OK

Now in AjaXplorer

Top right corner > user name > Settings

Click on Workspaces and new workspaces then choose Access Drive : File System (Standard)

Again, give a Label, enter the path to your folder and change File Creation Mask to 1777.

User name > Setting > Workspaces > New Workspaces>  Select Access Driver as File System (Standard) > Give a label> Enter Path > change permission > OK

There are other settings like enable recycle bin or not, its totally up to you. (see image 1.3)

New-Folder
Image 1.3 – AjaXplorer

There are many other useful feature in AjaXplorer like accessing samba share in other local network drive (eg. Mybook Live (you need smbclient for this apt-get install smbclient). Similarly, many other function like multi user acesse, imap, drobpox, etc. So have fun exploring.

If you want to access AjaXplorer outside your network open the given port in your router. For this example its 8181.

NoticeSide Note: This can also be done in Debian. You just need to add repo and install ajaxplore. I think its much easer in Debian than omv as OMV has its own web UI. This installation method will cause lot of problem in OMV. I don’t recommend installing ajaxplore this way in OMV.

End of Extra for AjaXplorer


Advertisements

7 thoughts on “Openmediavault + Pydio ( Formally AjaXplorer) (Remote Web File Management)

  1. Hi, Followed your guide, thanks for doing one. When it comes to point of, Website – select ‘enable’ click ‘OK’ I get: ‘an error has occoured – communication failure’
    log error I can find is:
    Invalid argument: mod_fcgid: can’t lock process table in pid 22430, referer: http://localhost/

    When I look in /etc/apache2/sites-enabled sites-avilabe I can see that the new entries.
    Shared dir created normally in previous steps. I placed a basic index.tml file in new shared dir to test which returns browser error ‘file not found’ only error in apache2 is in:
    openmediavault-webgui_error.log > File does not exist: /var/www/openmediavault/web
    which shows that apache is not looking in the correct loco for the file.
    new log files for omv-website-vhost_error.log & access remain empyt

    Thanks
    Garry

    • *Update*
      I removed & reinstalled now working, once I worked correct permissions, groups, owner.

      But I Still get the error at Websites – Settings OK ‘an error has occoured – communication failure’
      when applying/saving setting

  2. “I get: ‘an error has occoured – communication failure’ ” it happen to me too..but it works even though it says so..

    You have done lot of things that are not necessary as website plugin will do those things automatically..

    simple things to keep in mind..

    1. Everything is already there (I mean settings)

    2. You only need to do these things.
    a. Create folder for website where you can keep your html files..(in this case ajaxplorer files)

    b. If you have not created any user already, then create user and give permission to that user to that website folder that you just created..

    c. now put ajaxplorer files in root of website folder (you can also put those files in folder, if you do so then you need to do this http://locahost:port/foldername). Its best you put files in root of that website folder

    d. Just to makes sure your user has permission you can goto share section and apply permission again.

    3. Now enable website plugin (yes it gave me error like communication failure cause it refresh all the settings. )

    4. Now go to client browser type

  3. hello

    i get an ‘internal server error, check your server logs’ when installing pyd.io (much better than extJS btw). Is there any options to check in the omv webserver?

    btw you have one of the better blog/tuto i saw about OMV; i find that omg is cool but some permissions settings are tricky to set and understand. What’s your folder / shared folders organization strategy? do you use /homes/ for your users?

    thanks!

    • you can find log in /var/log/apache2/ and look into omv-website-vhost_error, ya I use user with home folder.. and use that user to run most of the application, (ps root user is the easiest choice)

      Thanks for comment.. I try my best to keep everything clean and simple.. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s