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
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x19b
    panic(0xb333a0, 0xf7bd90)
    /usr/lib/golang/src/runtime/panic.go:489 +0x2cf, 0x20, 0xc4202ce000, 0x0)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x3d5
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0xbd9*Context).Next(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x5a
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x51*Context).Next(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x5a
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x5a*Context).Next(0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x5a*Engine).handleHTTPRequest(0xc420357c20, 0xc4202ce000)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x625*Engine).ServeHTTP(0xc420357c20, 0xf4d5e0, 0xc4204d2620, 0xc42014a100)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +0x16b*gracefulHandler).ServeHTTP(0xc4203ccd40, 0xf4d5e0, 0xc4204d2620, 0xc42014a100)
    /home/teamcity/buildAgent/work/e7f84bb11e91617a/src/ +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 !