Giter VIP home page Giter VIP logo

Comments (11)

luckman212 avatar luckman212 commented on May 19, 2024

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.

wahyd4 avatar wahyd4 commented on May 19, 2024

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.

luckman212 avatar luckman212 commented on May 19, 2024

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.

hacdias avatar hacdias commented on May 19, 2024

@luckman212 it just works here. Did you try cleaning up your browser cache?

from caddy.

wahyd4 avatar wahyd4 commented on May 19, 2024

@hacdias I can confirm it's not working if file browser enabled in a non root path. e.g. http://somedomain/abc

from caddy.

hacdias avatar hacdias commented on May 19, 2024

@wahyd4 Try opening http://somedomain/abc/. The slash requirement is a known bug.

from caddy.

wahyd4 avatar wahyd4 commented on May 19, 2024

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 avatar luckman212 commented on May 19, 2024

@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.

luckman212 avatar luckman212 commented on May 19, 2024

Installed Caddy 0.11.5 today, still can't get Filebrowser to run. Any ideas?

from caddy.

wahyd4 avatar wahyd4 commented on May 19, 2024

A workaround solution could be

http://localhost:8001 {

  browse
  log stderr
  gzip

  timeouts 0

  filebrowser / ./ {
    database            filebrowser.db
  }

}

from caddy.

hacdias avatar hacdias commented on May 19, 2024

Duplicate of #21

from caddy.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.