Comments (11)
Also, when looking at the console log, I am seeing lots of 404 errors, possibly related?
192.168.20.40 - - [12/Feb/2019:09:57:59 -0500] "GET /upload HTTP/1.1" 200 1091
192.168.20.40 - - [12/Feb/2019:09:57:59 -0500] "GET /static/css/chunk-vendors.01e07fc3.css HTTP/1.1" 404 38
192.168.20.40 - - [12/Feb/2019:09:57:59 -0500] "GET /static/css/app.02f31e4b.css HTTP/1.1" 404 38
192.168.20.40 - - [12/Feb/2019:09:57:59 -0500] "GET /static/js/chunk-vendors.eb95ebf6.js HTTP/1.1" 404 38
192.168.20.40 - - [12/Feb/2019:09:57:59 -0500] "GET /static/js/app.cb038b2b.js HTTP/1.1" 404 38
192.168.20.40 - - [12/Feb/2019:09:57:59 -0500] "GET /static/img/icons/apple-touch-icon-152x152.png HTTP/1.1" 404 14
192.168.20.40 - - [12/Feb/2019:09:57:59 -0500] "GET /static/img/icons/favicon-16x16.png HTTP/1.1" 404 14
I also tried deleting the filebrowser.db and re-creating it as e.g. 6666cd76f96956469e7be39d750cc7d9.db
and making that fully world readable via chmod 777
but no change.
from caddy.
I had the same issue after I updated filebrowser
, looks like there is something wrong with the assets' paths.
The Caddyfile
I have is like:
0.0.0.0/files {
filebrowser / /data
}
But if I change the path of filebrower to root folder it works fine
0.0.0.0 {
filebrowser / /data
}
from caddy.
Does anyone have a working Caddyfile that works with filebrowser plugin? Everything I have tried either results in Caddy dying upon start with: 2019/02/26 18:42:10 timeout
or the infinite "loading" screen above + the 404 errors... really frustrating as this all used to "just work" prior to the Filebrowser 2.0 rewrite.
from caddy.
@luckman212 it just works here. Did you try cleaning up your browser cache?
from caddy.
@hacdias I can confirm it's not working if file browser enabled in a non root path. e.g. http://somedomain/abc
from caddy.
@wahyd4 Try opening http://somedomain/abc/. The slash requirement is a known bug.
from caddy.
Just tried and got the same issue. My Caddyfile is
{$DOMAIN} {
root /usr/local/www/aria2
timeouts none
gzip
log stdout
errors stdout
}
{$DOMAIN}/files {
filebrowser / /data
}
from caddy.
@luckman212 it just works here. Did you try cleaning up your browser cache?
@hacdias Yes I did try cleaning browser caches, incognito mode, and even different browser completely (mentioned in first post). I also tried with and without the trailing slash /
but that didn't work either.
Maybe you could post a working config file so I could see if it's something in my config?
from caddy.
Installed Caddy 0.11.5 today, still can't get Filebrowser to run. Any ideas?
from caddy.
A workaround solution could be
http://localhost:8001 {
browse
log stderr
gzip
timeouts 0
filebrowser / ./ {
database filebrowser.db
}
}
from caddy.
Duplicate of #21
from caddy.
Related Issues (13)
- Alternate base urls no longer working HOT 1
- a search issue HOT 1
- Official Release HOT 8
- Can't use host:port/path on Caddyfile HOT 9
- Can't have aliases when using named database HOT 2
- how to change username and password? HOT 1
- Get a timeout error while trying to run http.filebrowser with multiple address HOT 4
- how to set shell command HOT 1
- baseurl not working HOT 1
- Whether to consider joining LDAP authentication? HOT 1
- Build fails with new caddy since switching to go modules HOT 2
- panic: could not locate box "./frontend/dist" HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caddy.