TurnKey Linux Virtual Appliance Library

File Server - Ajaxplorer - upgrade issues

I'm trying to deploy the Turnkey File Server appliance, which includes the AjaXplorer file browser. The intent is to use this as a sort of private cloud proxy to file shares on our Windows file servers (which are joined to an AD infrastructure). I also need to figure out the LDAP auth, but that's a separate issue :)

Anyways, I have deployed File Server using the OVF template to an ESXi 4.1 host successfully. I am able to boot up the VM, set the passwords, login to AjaXplorer, etc. I'm also able to create repositories in AjaXplorer, setup users, and all the other expected stuff...

The problems arise when I try to upgrade AjaXplorer. In order to use the built-in upgrade button in AjaXplorer, the installation files and folders must be writeable. However, if I review the current permissions throughout the installation hierarchy, I see that permissions vary throughout.

I tried changing permissions to 0x755 at the root folder of the installation (propogated to subfolders too) and I was able to then perform the upgrade. However, it would take forever to go through the folder hierarchy again and revert the permissions post upgrade. Also, for whatever reason, propogating 0x755 permissions throughout the hierarchy actual broke AjaXplorer - it will no longer run.

Perhaps I  need to use APT to upgrade AjaXplorer? There's nothing in the build notes to indicate how AjaXplorer was installed (i.e. from APT repository, or from ZIP file downloaded from AjaXplorer website).

Any assistance is much appreciated!



File Server - Ajaxplorer - upgrade issues

Can no one offer advice on how to upgrade AjaXplorer on the Turnkey File Server appliance?

Jeremy's picture

I don't know for a fact

But I suspect that it was installed from upstream zip file, beyond that I have no idea (without testing myself).

Rather than setting permissions to 755, you could try giving the webserver account ownership (although I'm not sure on the longer term implications of that) but it may alleviate your current issues? Only thing is that IIRC Ajaxplorer runs under LigHTTPd and I'm not very familiar with it (I know Apache runs as www-data and I would assume that other wbservers would too, but I don't know for sure).

Sorry, it's not a lot, but it's all I got...!

Same problem - permissions or ownership is broke.

I'm having the same problem:

I tried dowing a chown www-data:www-data /var/www/ajaxplorer/data but that didn't fix the upgrade issue.


The ajaxExplorer site isn't that helpful.  I wish someone at TurnKey would take a more proactive role in ensuring that features like this work every couple of revisions..

File Server - Ajaxplorer - upgrade issues

I ended up building my own server with Apache2 on it instead of LigHTTPd. With Apache2 the in app upgrade works if permissions are set correctly.

Having said that, you can also upgrade simply by extracting ZIP files found here:


Look for the ZIP files with "upgrade" in the filename. Going from v4.0.4 to v5.0.3 may; however, be problematic so I would make good backups before you try this approach.

If you only need Ajaxplorer, you can follow these excellent instructions on installing it on Ubuntu:


They would likely work for Debian too... 

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)