Can't enable HTTP server for files?

Can't enable HTTP server for files?

Postby Cubytus » Sat Jan 02, 2016 8:23 am

Hi there,

I want to enable the HTTP server to display a list of files in the Transmission download folder so as to be able to download them from the Internet, in case I forget a file at home. However, the box doesn't stay ticked, and the HTTP file server isn't enabled.

I had this problem with version 16, and it is not solved in 16.1. Any idea how to make this work?
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Can't enable HTTP server for files?

Postby Jocko » Sat Jan 02, 2016 9:26 am

Hi Cubytus,

Sorry I don't understand you.
Cubytus wrote:However, the box doesn't stay ticked, and the HTTP file server isn't enabled.
What checkbox? In webdav menu ?
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Can't enable HTTP server for files?

Postby Cubytus » Sat Jan 02, 2016 5:05 pm

No, that's called "Web Explorer"
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Can't enable HTTP server for files?

Postby uelpenich » Sat Jan 02, 2016 10:14 pm

Cubytus wrote:No, that's called "Web Explorer"

Have a look at "System Management => Information => System Information" for the status of the "Web Explorer".
You have to do several things:
* install the web explorer service
* enable the web explorer
* administrate it
- users
- shares
If you have questions have a look at the built-in help (?) in the most right corner of the menu bar.
If you want to access it from the internet you have to admin your router, and you need a dynamic dhcp service (DDNS). I prefer to setup my ISP-Box for a DDNS service.

Be carefully and send only encrypted data via the internet (use https protocol or a VPN tunnel).
uelpenich
Donator VIP
Donator VIP
 
Posts: 120
Joined: Sun Jun 12, 2011 4:45 pm
Location: Cologne, Germany

Re: Can't enable HTTP server for files?

Postby Cubytus » Sat Jan 02, 2016 11:14 pm

How do I know the server is installed? I ticked the "enable web server" box, then "accept", but even though it reports success, the box is un-ticked again. In the Information page, I see a red cross, meaning it's not enabled.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Can't enable HTTP server for files?

Postby Jocko » Sun Jan 03, 2016 10:16 am

Hi Cubytus,

With version 16.1, you need to install it first (as it is no longer included in the firmware image). After installing you should have the usual menu to set this feature.

So if you have this then that means it is installed.
Cubytus wrote:the box is un-ticked again. In the Information page, I see a red cross, meaning it's not enabled.
Maybe you did not read the help page:
Tab : Main settings

Enable Feature
You can not enable Web-Explorer if there is no user account available,
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Can't enable HTTP server for files?

Postby Cubytus » Mon Jan 04, 2016 6:15 am

Hmm, I upgraded to 16.1 from 16.0, anddidn't need to manually install it. Perhaps the upgrade saved some settings?

You're right, I haven't read the help page :oops: Perhaps the Web server page should be presented differently, with shorter instructions, or an error message telling a user account must be enabled first?

I don't know about the settings, but I managed to download a 11GiB file from Web explorer over LAN, slowly but I got it. Does the 2GB limit applies anymore?
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Can't enable HTTP server for files?

Postby Jocko » Mon Jan 04, 2016 9:22 am

Hi Cubytus,

Need to understand in what state is our NAS.

Can you post the output of
Code: Select all
ls /usr/local/explorer720/dirsys
ls -l /usr/explorer/explorer720

Cubytus wrote:Perhaps the Web server page should be presented differently, with shorter instructions, or an error message telling a user account must be enabled first?
No and Yes...
The goal of the help page is to give information about the feature. So we do not include instructions in the menu. But you are right add a warning about the user account will be better.
Cubytus wrote:Does the 2GB limit applies anymore?
As 16.1 removed this limit on the apache server, the 2GB limit should exist no longer on webExplorer (I did not update the help page).

Note: if you use webexplorer from a remote host on WAN, when you download a file from the NAS, the main limit is the upload speed of your ISP. With an ADSL connection upload speed is slow.
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Can't enable HTTP server for files?

Postby Cubytus » Mon Jan 04, 2016 4:52 pm

Code: Select all
root@fvdwsl-base:/ # ls /usr/local/explorer720/dirsys
arbre_arbo.php    config.inc.0        ext                hide.php  index.php  lang                 list_groupe.php  list.php            out               showtn.php     temp
arbre_onglet.php  config.inc.php      func_sys.php       icones    info       lang.inc.php         list.inc.php     makeconfig.inc.php  showpict.inc.php  slideshow.php  tn.php
arbre.php         config.inc.php.bak  functions.inc.php  img       info.php   list_groupe.inc.php  listing.inc.php  modules             showpict.php      styles
root@fvdwsl-base:/ # ls -l /usr/explorer/explorer720
total 32
lrwxrwxrwx  1 root root    30 2015-10-03 09:38 dirsys -> /usr/local/explorer720/dirsys/
-rw-r--r--  1 root root  1150 2011-12-08 17:57 favicon.ico
-rw-r--r--  1 root root 18009 2003-08-18 18:38 GPL-Licence.txt
-rw-r--r--  1 root root  4324 2012-10-20 09:21 index.php
lrwxrwxrwx  1 root root    35 2015-10-03 09:38 www -> /rw_fs/usr/explorer/explorer720/www


I didn't test over WAN, but have no reason to think it wouldn't work. However, Webexplorer still can't display large file size correctly, gives a negative reading in bytes.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Can't enable HTTP server for files?

Postby Jocko » Mon Jan 04, 2016 6:04 pm

So if the folder /usr/local/explorer720/dirsys exists and also the symlink dirsys in /usr/explorer/explorer720 that means you have really installed webexplorer with version 16.1 (as these files exist only with this version)

So there is nothing wrong on your NAS (and you have forgotten this point ;) ).

Cubytus wrote:However, Webexplorer still can't display large file size correctly, gives a negative reading in bytes.
indeed webexplorer uses some php function which does not support files bigger than 2GB (but it is only a cosmetic error); for example: http://php.net/manual/en/function.filesize.php.

However you should be able to manage large files on webexplorer.
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 8 guests