index.html files not loading automatically from the USB drive #6
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: butter/butter-portal#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The most recent image (raspi4_butter_new_portal_changes_v0.0.1_120326.img.tar.gz) did not load index files by default because the URL changed from http://butterbox.local/usb-butter to http://butterbox.local/files/ so I changed the Nginx file path to:
location /files/ {
alias /media/usb-butter/;
index index.html;
}
And that fixed the issue.
I am seeing this as well. In the root of the USB drive, there is an index.html, but a file listing is being showing instead of displaying that file.
index.html is detected now, and attempted to be loaded, but then throws a 500 "internal server" error. I don't see anything in nginx error log.
Shall we test again? @acute I think this was working under the latest build raspi4_butter_main_v0.0.2_080426.img.tar.gz