Fileserver

v14.0

As of v14.0 the fileserver appliance now includes SambaDAV as the web frontend (no longer Ajaxplorer - see changelog). SambaDAV uses Samba/Linux user credentials only.

TKLBAM: Migration to v14.x from earlier versions of TurnKey Linux

Note: Samba has gone from v3.x in all previous versions of TKL to v4.1 in v14.0 and there are some significant changes which will require manual tweaks when you first migrate. A helpful community member has solved the main issues and posted a clear outline in the forums here.

Allow large uploads via web interface (Ajaxplorer)

(taken from this forum thread)

Note: this only applies to v12.0 onwards - previous versions used eXtplorer for the Web interface)

Edit /etc/php5/cgi/php.ini:

nano /etc/php5/cgi/php.ini

and adjust values for:

file_uploads
upload_max_filesize
max_input_time
memory_limit
max_execution_time
post_max_size

post_max_size should at least be the value of upload_max_filesize although if you want to upload multiple large files, then it should be twice the size as a minimum. Generally speaking, memory_limit should be larger than post_max_size.

<Ctrl><X> to exit and save.

The LigHTTPd webserver also has a server.max-request-size configuration directive that restricts the size of all POST data regardless of the web scripting language in use - although the default is 2GB and it usually does not need to be modified.

Following adjustment LigHTTPd needs restarting:

service lighttpd restart

or

/etc/init.d/lighttpd restart

Once that is done, log in to the Ajaxplorer Admin account on your server - ensure that you use the Local account (selectable via a dropdown); not Samba.
Username: admin password: <set at firstboot>
and adjust the value found at
Settings>>Common uploaders plugin options>>Limitations>>File Size

Comments

Andrey's picture

Just downloaded the fileserver.

The problem is with Automount.

 

It just do nothing. When I insert CDs, USB drives, it do nothing. It seems there's actually no automount at all, or I miss something... What should I check? Is it possible to automatically repare/reinstall this feature?

Gustavo Arnosti Neves's picture

That is the normal behavior for servers. I think most sysadmins will want automount disabled for security reasons. That being said you can install usbmount or autofs (or some other package) to achieve that. Just ap-get the one you prefer and then configure it. The turnkey core is based on Debian Linux, so just do the same as you would do for any Debian install.  https://www.google.com/search?q=debian+automount+usb