Skip to content

Commit

Permalink
Include Buster Fix for lighttpd
Browse files Browse the repository at this point in the history
Added instructions to solve fresh installs failing on Raspbian Buster with this fix: https://www.linuxnorth.org/raspi-sump/faq.html#9t
  • Loading branch information
billotronic authored Sep 2, 2021
1 parent 4c1a8ab commit 3182b34
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,35 @@ Enable directory listing for historical charts

sudo lighttpd-enable-mod dir-listing

Restart the web server
Restart the web server Raspian < 10

sudo /etc/init.d/lighttpd force-reload

The lighttpd web server software that ships on Raspbian Buster made a change to the naming of a file for mime.types.
There are two ways you can address this issue, only select one of them;

A. Create a softlink to the new file with the old naming convention;

cd /usr/share/lighttpd
sudo ln -s create-mime.conf.pl create-mime.assign.pl
sudo /etc/init.d/lighttpd stop
sudo /etc/init.d/lighttpd stop

B. Modify the lighttpd.conf file with the proper entry and restart the webserver.

sudo nano /etc/lighttpd/lighttpd.conf

Replace the following line;
include_shell "/usr/share/lighttpd/create-mime.assign.pl"

With this line;
include_shell "/usr/share/lighttpd/create-mime.conf.pl"

Save the file and restart the webserver

sudo /etc/init.d/lighttpd stop
sudo /etc/init.d/lighttpd start


Create a cron job to generate an hourly graph of your sump pit activity for
viewing on your pi webserver
Expand Down

0 comments on commit 3182b34

Please sign in to comment.