Server deletion error 500. SFTP authentification fail.



  • I have this error in /var/log/pufferd/2018-06-05T14-40-12.log:

    [01:47:31] [ERROR] Error handling route
    runtime error: invalid memory address or nil pointer dereference
    goroutine 33004 [running]:
    runtime/debug.Stack(0xc420404f50, 0xb333a0, 0xf7bd90)
    /usr/lib/golang/src/runtime/debug/stack.go:24 +0x79
    github.com/pufferpanel/apufferi/http/handler.Recovery.func1.1(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/pufferpanel/apufferi/http/handler/errorlogging.go:16 +0x19b
    panic(0xb333a0, 0xf7bd90)
    /usr/lib/golang/src/runtime/panic.go:489 +0x2cf
    github.com/pufferpanel/pufferd/httphandlers.validateToken(0xc4202dc187, 0x20, 0xc4202ce000, 0x0)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/pufferpanel/pufferd/httphandlers/oauth2.go:140 +0x3d5
    github.com/pufferpanel/pufferd/httphandlers.OAuth2Handler.func1(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/pufferpanel/pufferd/httphandlers/oauth2.go:81 +0xbd9
    github.com/gin-gonic/gin.(*Context).Next(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/gin-gonic/gin/context.go:107 +0x5a
    github.com/pufferpanel/apufferi/http/handler.Recovery.func1(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/pufferpanel/apufferi/http/handler/errorlogging.go:20 +0x51
    github.com/gin-gonic/gin.(*Context).Next(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/gin-gonic/gin/context.go:107 +0x5a
    github.com/gin-gonic/gin.RecoveryWithWriter.func1(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/gin-gonic/gin/recovery.go:46 +0x5a
    github.com/gin-gonic/gin.(*Context).Next(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/gin-gonic/gin/context.go:107 +0x5a
    github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc420357c20, 0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/gin-gonic/gin/gin.go:359 +0x625
    github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc420357c20, 0xf4d5e0, 0xc4204d2620, 0xc42014a100)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/gin-gonic/gin/gin.go:326 +0x16b
    github.com/braintree/manners.(*gracefulHandler).ServeHTTP(0xc4203ccd40, 0xf4d5e0, 0xc4204d2620, 0xc42014a100)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/github.com/braintree/manners/server.go:277 +0x58
    net/http.serverHandler.ServeHTTP(0xc4202708f0, 0xf4d5e0, 0xc4204d2620, 0xc42014a100)
    /usr/lib/golang/src/net/http/server.go:2568 +0x92
    net/http.(*conn).serve(0xc4203be0a0, 0xf4e360, 0xc4201a2440)
    /usr/lib/golang/src/net/http/server.go:1825 +0x612
    created by net/http.(*Server).Serve
    /usr/lib/golang/src/net/http/server.go:2668 +0x2ce

    I'm stuck !



  • I imagine it could come from a bad nginx configuration (I modifed php.ini and many things inside nginx configuration in order to make wordpress work as expected). Now wordpress works but it may be the reason why puffer panel doesn't work anymore...



  • Your assumption would make sense.

    The daemon tried to access your panel and it got a 500 error. Whatever changes you made for wordpress may have resulted in a bad config.

    Are you able to access the panel at all?

    What is in your nginx error logs?



  • Had nothing in the error logs, so i decided to go back to a clean configuration of pufferpanel and then to fix again the small bug I had with my wordpress site using a less violent method. I managed to do so and right now both wordpress and pufferpanel are online and working fine :)
    Thank you. Have a good evening !


 

7
Online

748
Users

783
Topics

3.4k
Posts