Comments (27)
Hi @adprof
I can't really understand what's wrong. But there's a trick: see the developer console! It might help! Then send me the error so we can analyse it.
Yes, I'm opened to all suggestions!
Have a nice day,
from filebrowser.
Also considering enabling error logging and see if anything shows up there related to that 500 error. (If not, then the add-on's handler is not properly reporting errors)
from filebrowser.
Hi,
An hour ago I tested in Chrome browser too. I'm quite surprised because is working properly! ;)
"something-went-wrongs" shows only in Safari (9.0/ OS X 10.11). Server responds 404.
Regards,
from filebrowser.
By the way. Notifications are quiet extraordinary 👍
from filebrowser.
Eheh thanks.
I've been using Chrome and IE and I haven't had those problems. 404... that's very strange because it only occurs with Safari and I can't test. I don't have any OS X machine I can use.
from filebrowser.
That's weird. I wonder if there's a bug in Safari.
But that 500 Internal Server Error - do you get that in Chrome too, @adprof? Can you do it again in Safari but enable error logging first?
errors error.log
or
errors {
404 404.html
log error.log
}
from filebrowser.
Also I want to see the contents of the access.log file which should hint at those 404s.
from filebrowser.
I suspect that 500 may be due to an error in a front-matter. I'll give a try with another hugo theme.
Here you have logs (first Safari, then after 404s - Chrome).
access.log
::1 - [12/Oct/2015:22:30:04 +0200] "GET / HTTP/1.1" 200 1024
::1 - [12/Oct/2015:22:30:04 +0200] "GET / HTTP/1.1" 200 1024
::1 - [12/Oct/2015:22:30:11 +0200] "GET / HTTP/1.1" 304 0
::1 - [12/Oct/2015:22:30:11 +0200] "GET /admin/browse/content/post/ HTTP/1.1" 401 41
::1 - [12/Oct/2015:22:30:12 +0200] "GET /admin/browse/content/post/ HTTP/1.1" 401 41
::1 - [12/Oct/2015:22:30:12 +0200] "GET /admin/browse/content/post/ HTTP/1.1" 401 41
::1 - [12/Oct/2015:22:30:12 +0200] "GET /admin/browse/content/post/ HTTP/1.1" 401 41
::1 - [12/Oct/2015:22:30:12 +0200] "GET /admin HTTP/1.1" 401 41
::1 - [12/Oct/2015:22:30:13 +0200] "GET /admin HTTP/1.1" 307 67
::1 - [12/Oct/2015:22:30:13 +0200] "GET /admin/ HTTP/1.1" 307 82
::1 - [12/Oct/2015:22:30:13 +0200] "GET /content/ HTTP/1.1" 200 1091
::1 - [12/Oct/2015:22:30:13 +0200] "GET /admin/assets/js/app.min.js HTTP/1.1" 200 2919
::1 - [12/Oct/2015:22:30:13 +0200] "GET /admin/assets/css/main.min.css HTTP/1.1" 200 10620
::1 - [12/Oct/2015:22:30:13 +0200] "GET /admin/assets/js/plugins.min.js HTTP/1.1" 200 118784
::1 - [12/Oct/2015:22:30:13 +0200] "GET /admin/assets/fonts/fontawesome-webfont.woff?v=4.4.0 HTTP/1.1" 200 81284
::1 - [12/Oct/2015:22:30:15 +0200] "GET /content/post/?_pjax=%23content HTTP/1.1" 200 845
::1 - [12/Oct/2015:22:30:17 +0200] "GET /admin/edit/content/post/creating-a-new-theme.md?_pjax=%23content HTTP/1.1" 500 50
::1 - [12/Oct/2015:22:30:17 +0200] "GET /admin/edit/content/post/creating-a-new-theme.md HTTP/1.1" 500 50
::1 - [12/Oct/2015:22:30:22 +0200] "GET /content/post/ HTTP/1.1" 200 1275
::1 - [12/Oct/2015:22:30:23 +0200] "GET /admin/edit/content/post/creating-a-new-theme.md?_pjax=%23content HTTP/1.1" 500 50
::1 - [12/Oct/2015:22:30:23 +0200] "GET /admin/edit/content/post/creating-a-new-theme.md HTTP/1.1" 500 50
::1 - [12/Oct/2015:22:30:26 +0200] "GET /admin/edit/content/post/goisforlovers.md?_pjax=%23content HTTP/1.1" 200 4660
::1 - [12/Oct/2015:22:30:33 +0200] "POST /admin/edit/content/post/goisforlovers.md HTTP/1.1" 404 910
::1 - [12/Oct/2015:22:30:48 +0200] "POST /admin/edit/content/post/goisforlovers.md HTTP/1.1" 404 910
::1 - [12/Oct/2015:22:30:54 +0200] "POST /admin/edit/content/post/goisforlovers.md HTTP/1.1" 404 910
::1 - [12/Oct/2015:22:31:22 +0200] "GET /admin/edit/content/post/goisforlovers.md HTTP/1.1" 401 41
::1 - [12/Oct/2015:22:31:22 +0200] "GET / HTTP/1.1" 200 1024
::1 - [12/Oct/2015:22:31:24 +0200] "GET /css/highlight.css HTTP/1.1" 200 629
::1 - [12/Oct/2015:22:31:24 +0200] "GET /css/style.css HTTP/1.1" 200 3406
::1 - [12/Oct/2015:22:31:27 +0200] "GET /images/avatar.png HTTP/1.1" 200 4977
::1 - [12/Oct/2015:22:31:27 +0200] "GET /js/main.js HTTP/1.1" 200 406
::1 - [12/Oct/2015:22:31:27 +0200] "GET /js/highlight.js HTTP/1.1" 200 23415
::1 - [12/Oct/2015:22:31:39 +0200] "GET /admin/edit/content/post/goisforlovers.md HTTP/1.1" 200 5118
::1 - [12/Oct/2015:22:31:55 +0200] "GET /admin/ HTTP/1.1" 401 41
::1 - [12/Oct/2015:22:31:55 +0200] "GET /admin/ HTTP/1.1" 307 82
::1 - [12/Oct/2015:22:31:55 +0200] "GET /content/ HTTP/1.1" 200 1091
::1 - [12/Oct/2015:22:31:55 +0200] "GET /admin/assets/js/app.min.js HTTP/1.1" 200 2919
::1 - [12/Oct/2015:22:31:55 +0200] "GET /admin/assets/css/main.min.css HTTP/1.1" 200 10620
::1 - [12/Oct/2015:22:31:55 +0200] "GET /admin/assets/js/plugins.min.js HTTP/1.1" 200 118784
::1 - [12/Oct/2015:22:31:55 +0200] "GET /admin/assets/fonts/fontawesome-webfont.woff2?v=4.4.0 HTTP/1.1" 200 64464
::1 - [12/Oct/2015:22:31:56 +0200] "GET /favicon.ico HTTP/1.1" 404 2733
::1 - [12/Oct/2015:22:31:57 +0200] "GET /content/post/?_pjax=%23content HTTP/1.1" 200 845
::1 - [12/Oct/2015:22:31:58 +0200] "GET /admin/edit/content/post/creating-a-new-theme.md?_pjax=%23content HTTP/1.1" 500 50
::1 - [12/Oct/2015:22:31:58 +0200] "GET /admin/edit/content/post/creating-a-new-theme.md HTTP/1.1" 500 50
::1 - [12/Oct/2015:22:32:01 +0200] "GET /content/post/ HTTP/1.1" 200 1275
::1 - [12/Oct/2015:22:32:02 +0200] "GET /admin/edit/content/post/goisforlovers.md?_pjax=%23content HTTP/1.1" 200 4660
::1 - [12/Oct/2015:22:32:12 +0200] "GET /content/?_pjax=%23content HTTP/1.1" 200 668
::1 - [12/Oct/2015:22:32:15 +0200] "GET /content/post/?_pjax=%23content HTTP/1.1" 200 845
::1 - [12/Oct/2015:22:32:16 +0200] "GET /admin/edit/content/post/creating-a-new-theme.md?_pjax=%23content HTTP/1.1" 500 50
::1 - [12/Oct/2015:22:32:16 +0200] "GET /admin/edit/content/post/creating-a-new-theme.md HTTP/1.1" 500 50
::1 - [12/Oct/2015:22:32:20 +0200] "GET /admin/edit/content/post/new-post4.md?_pjax=%23content HTTP/1.1" 200 535
::1 - [12/Oct/2015:22:32:22 +0200] "POST /admin/edit/content/post/new-post4.md HTTP/1.1" 200 26
error.log
12/Oct/2015:22:30:17 +0200 [PANIC /admin/edit/content/post/creating-a-new-theme.md?_pjax=%!c(MISSING)ontent] go/src/github.com/hacdias/caddy-cms/frontmatter/frontmatter.go:55 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
12/Oct/2015:22:30:17 +0200 [PANIC /admin/edit/content/post/creating-a-new-theme.md] go/src/github.com/hacdias/caddy-cms/frontmatter/frontmatter.go:55 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
12/Oct/2015:22:30:23 +0200 [PANIC /admin/edit/content/post/creating-a-new-theme.md?_pjax=%!c(MISSING)ontent] go/src/github.com/hacdias/caddy-cms/frontmatter/frontmatter.go:55 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
12/Oct/2015:22:30:23 +0200 [PANIC /admin/edit/content/post/creating-a-new-theme.md] go/src/github.com/hacdias/caddy-cms/frontmatter/frontmatter.go:55 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
12/Oct/2015:22:31:58 +0200 [PANIC /admin/edit/content/post/creating-a-new-theme.md?_pjax=%!c(MISSING)ontent] go/src/github.com/hacdias/caddy-cms/frontmatter/frontmatter.go:55 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
12/Oct/2015:22:31:58 +0200 [PANIC /admin/edit/content/post/creating-a-new-theme.md] go/src/github.com/hacdias/caddy-cms/frontmatter/frontmatter.go:55 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
12/Oct/2015:22:32:16 +0200 [PANIC /admin/edit/content/post/creating-a-new-theme.md?_pjax=%!c(MISSING)ontent] go/src/github.com/hacdias/caddy-cms/frontmatter/frontmatter.go:55 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
12/Oct/2015:22:32:16 +0200 [PANIC /admin/edit/content/post/creating-a-new-theme.md] go/src/github.com/hacdias/caddy-cms/frontmatter/frontmatter.go:55 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
from filebrowser.
Thanks for the logs!
For the 404s, looks like Safari is turning the GETs into POSTs when you hit the back button? O.o Am I reading that right?
@hacdias I think you'll find these logs useful, especially the panic shown in the error log. (I think there might also be a bug in a Printf somewhere that's causing %!c(MISSING)
to appear in the URL - maybe in Caddy core, maybe in this plugin; will need to look into that.)
from filebrowser.
No problem, 404s shows after "save" and "publish". I didn't hit back button.
from filebrowser.
@mholt yup. I'll see when I've them. In the weekend probably.
I saw this and I think I've some improvements to do. I'm assuming that in all object-like-things there is a string-name to identify the content. Eg:
{
"obj1": {
"string1": something,
"string2": something
}
}
Where "string1" and "string2" are the "identifiers". May I create something like this:
{
"obj1": {
1: something,
2: something
}
}
or even like this:
{
"obj1": {
something,
something
}
}
?
from filebrowser.
@mholt @adprof I think it's returning 404 here. And it shouldn't be 404, it should be 400 bad request. I've to change that,
from filebrowser.
from filebrowser.
@adprof may you build it from source? If so and if you keep getting 404, we will know that it is this 404.
from filebrowser.
Of course, I'll do it tommorow (GMT+2) ;)
from filebrowser.
Sure, I'm going to sleep now. (GMT+1 very similar ahah)
from filebrowser.
Please take all a look here.
from filebrowser.
Hi guys,
I tried few times but still have some bugs. First I had problems with freshly updated OS X (homebrew issues). Then I followed docs, installed whole stuff and generated assets.go. But I cannot run caddydev with --source option. I cannot point properly source directory, because I got "Invalid source directory" or files are fetched from github and there is no assets.go. Are you sure that cli options functions are working properly?
How exactly should I run caddydev assuming that my clone directory is $HOME/Documents/Workshop/caddy-cms ?
Maybe much easier to do some tests with this topic bug is to cross-compile caddy with an addon in your environement (darwin 64) so I could use it and do some tests?
process killed: go get took too long
COMMAND: go get -d caddyaddon
---- package github.com/hacdias/caddy-cms/assets: no buildable Go source files in /var/folders/t4/f0t0jt6s6bz6b2phjzprfslm0000gn/T/caddydev117150603/src/github.com/hacdias/caddy-cms/assets
RMac:newsite marcinrakiewicz$
Regards,
from filebrowser.
from filebrowser.
@adprof Hi! It's been a while. Do you still receive those errors?
from filebrowser.
I suspect the caddydev
errors are because of handling file paths in Windows... will look into it soon -- sorry, been swamped with a few other things.
from filebrowser.
@hacdias Hi, I still have caddydev issue, a precompiled version is only working so I cannot check patched version.
from filebrowser.
@adprof the fix was deployed and it's now available for download! Try it out and let me know if you still receive the error!
from filebrowser.
Hi, I downloaded build from page. Build is quiet old (exec in my filesystem is from year 1979 ;)
I did quick check and:
1 . 500 errror as before, but logged
[ERROR 500 /admin/edit/content/post/goisforlovers.md] parsing time "2014-04-02" as "2006-01-02 15:04:05-07:00": cannot parse "" as "15"
2
27/Oct/2015:21:43:15 +0100 [PANIC /admin/edit/content/post/migrate-from-jekyll.md] go/src/github.com/hacdias/caddy-hugo/frontmatter/frontmatter.go:56 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
27/Oct/2015:21:45:24 +0100 [PANIC /admin/edit/content/post/creating-a-new-theme.md?_pjax=%!c(MISSING)ontent] go/src/github.com/hacdias/caddy-hugo/frontmatter/frontmatter.go:56 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
27/Oct/2015:21:45:24 +0100 [PANIC /admin/edit/content/post/creating-a-new-theme.md] go/src/github.com/hacdias/caddy-hugo/frontmatter/frontmatter.go:56 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
27/Oct/2015:21:45:28 +0100 [PANIC /admin/edit/content/post/creating-a-new-theme.md?_pjax=%!c(MISSING)ontent] go/src/github.com/hacdias/caddy-hugo/frontmatter/frontmatter.go:56 - interface conversion: interface is map[interface {}]interface {}, not map[string]interface {}
3 .
I tried also with source
caddydev --source /Users/mr/go/src/github.com/hacdias/caddy-hugo hugo
cannot place 'hugo' after '': directive '' not found
I have no time to test thoroughly today. I'll try in few days.
Regards,
from filebrowser.
Hi @adprof
Relatively to the first error, I have to see that. I know what the problem is. The problem is that, right now, the plugin only supports dates in "2006-01-02 15:04:05-07:00" so it can schedule posts.
Second error: please send me your json/toml/whatever-your-frontmatter-is so I can see where the problem is. If your frontmatter is valid, I have to check where I have the error.
For the third error we need to call @mholt!
I'll not be home this weekend so I'm not going to do anything in the next three days but I'll wait for your answer.
Have a nice day!
from filebrowser.
@adprof Can you be sure to pull the latest caddydev and its dependencies?
Then cd
to the caddy-hugo repository folder and run caddydev hugo
- that should be all you need to do to try it.
from filebrowser.
@adprof Hi. Do you still receive any errors?
from filebrowser.
Related Issues (20)
- Error 403 Forbidden
- filebrowser login problem HOT 5
- Office File types Viewable from Online Webpage HOT 1
- Multi Scope?
- Introducing Sorting Functionality to Grid View for Enhanced File Management
- Can you add After Move and Before Move in Global Settings?
- failed to Upload heavy files by file browser after taking so much time
- audio is not playing during stream a movie by file browser of omv
- Possible filesystem brute-force enumeration in filebrowser
- one-time registration link generator
- Couldn't display a html file in filebrowser HOT 2
- Disable file preview, just download on file open
- OMV File browser as a admin user cant create a folder or file
- 404 error and leftovers when aborting a file upload HOT 2
- 403 - When uploading in an mounted folder
- Last modified tooltip has wrong date
- 403 forbidden error
- SERVER 500 - resource temporarily unavailable HOT 2
- Health check fails on v2.28.0 HOT 4
- After Create new folder back to source directory on copy/move dialog
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 filebrowser.