Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Nextcloud/ownCloud: Wrong directive in Lighttpd configs #2775

Closed
WilburWalsh opened this issue May 8, 2019 · 4 comments
Closed
Labels
Bug 🐞 Solution available 🥂 Definite solution has been done
Milestone

Comments

@WilburWalsh
Copy link
Contributor

Creating a bug report/issue

Required Information

  • DietPi version | 6.22.3
  • Distro version | 9.9
  • Kernel version | Linux raspi 4.14.98-v7+ Request | RT Kernel option #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
  • SBC device | RPi 3 Model B+ (armv7l)

Additional Information (if applicable)

  • Software title | Nextcloud + Lighttpd

Problem

For quite some time I stumbled across this warning in my journal, but ignored it...

raspi lighttpd[32755]: 2019-05-08 04:28:57: (server.c.1295) WARNING: unknown config-key: dir-listing.active (ignored)

Now, as I did some work on my Nextcloud anyway, I had a closer look. The problem seems to be this line

dir-listing.active = "disable"

which should read
dir-listing.activate = "disable"

see here

@MichaIng
Copy link
Owner

MichaIng commented May 8, 2019

@WilburWalsh
Many thanks for your report. The error is expected. The directive requires a certain enabled Lighttpd module, but we add it regardless.

The issue is if we do not have this directive and end users enable the module for their needs, directory listing inside the Nextcloud install dir is possible which is not desired for security reasons.

Note that it is a warning, not an error, so will be ignored gracefully and does not cause any further issues.

@WilburWalsh
Copy link
Contributor Author

Hi @MichaIng

I understand that you want to disable directory listing inside the Nextcloud directories, if someone should enable it globally for whatever reasons. However, the directive should be
dir-listing.activate = "disable"
instead of
dir-listing.active = "disable"

Otherwise it will be ignored and directory listing would be possible inside Nextcloud. So, short version: the directive is okay, but there is a little typo in it ;-)

@MichaIng
Copy link
Owner

MichaIng commented May 8, 2019

@WilburWalsh
Ohh, I will verify that, many thanks for reporting! Perhaps it changed during Lighttpd versioning.

@MichaIng
Copy link
Owner

MichaIng commented May 8, 2019

Resolved:

@MichaIng MichaIng added this to the v6.23 milestone May 8, 2019
@MichaIng MichaIng changed the title Error in Lighttpd Nextcloud Config file DietPi-Software | Nextcloud/ownCloud: Wrong directive in Lighttpd configs May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 Solution available 🥂 Definite solution has been done
Projects
None yet
Development

No branches or pull requests

2 participants