masjerangmasjerang
Participant
    Post count: 15

    Hi sinn3r,

    thanks for all your work.
    I’ve been trying to convert your image to a regular Debian 9.4 installation to run it on a existing server, and that works pretty well, but I’ve probably missed a step.
    What I’ve done:
    * used your image to push my HS configuration – works
    * copy /hs_main/root/* and /hs_admin/root/* to /hs on my Debian install (skipped the chroot setup)
    * run hs_admin and hs_main manually.
    * This works, with my config, including IPs en serials and all HS functionality is available through the App
    * What is not working, is pushing a new version of the configuration using Expert. Failure is: Memory capacity insufficient.
    * There is disk-space enough, but I probably forgot a step.

    Any ideas?

    Below is the debug output from ha-proxy. Mind the returncode HS-Code 11 below.

    00000000:https-443-in.accept(0006)=0007 from [192.168.2.152:50588]
    00000000:https-443-in.clireq[0007:ffffffff]: GET /hsinfo HTTP/1.1
    00000000:https-443-in.clihdr[0007:ffffffff]: Host: 192.168.2.17:443
    00000000:https-443-in.clihdr[0007:ffffffff]: User-Agent: Go-http-client/1.1
    00000000:https-443-in.clihdr[0007:ffffffff]: Connection: close
    00000000:https-443-in.clihdr[0007:ffffffff]: Authorization: Basic <mask>
    00000000:https-443-in.clihdr[0007:ffffffff]: Accept-Encoding: gzip
    00000000:https-443-in.clihdr[0007:ffffffff]: Connection: close
    00000000:hs_admin.srvrep[0007:0008]: HTTP/1.1 200 OK
    00000000:hs_admin.srvhdr[0007:0008]: X-Xss-Protection: 1; mode=block
    00000000:hs_admin.srvhdr[0007:0008]: X-Content-Type-Options: nosniff
    00000000:hs_admin.srvhdr[0007:0008]: Content-Encoding: gzip
    00000000:hs_admin.srvhdr[0007:0008]: Cache-Control: max-age=0
    00000000:hs_admin.srvhdr[0007:0008]: Access-Control-Allow-Origin: *
    00000000:hs_admin.srvhdr[0007:0008]: Referrer-Policy: no-referrer
    00000000:hs_admin.srvhdr[0007:0008]: Content-type: application/json
    00000000:hs_admin.srvhdr[0007:0008]: Connection: close
    00000000:hs_admin.srvhdr[0007:0008]: Date: Thu, 16 Apr 2020 18:31:34 GMT
    00000000:hs_admin.srvhdr[0007:0008]: Content-length: 100
    00000000:hs_admin.srvcls[0007:0008]
    00000000:hs_admin.clicls[0007:0008]
    00000000:hs_admin.closed[0007:0008]
    00000001:https-443-in.accept(0006)=0007 from [192.168.2.152:50589]
    00000001:https-443-in.clireq[0007:ffffffff]: PUT /hsadmin/project HTTP/1.1
    00000001:https-443-in.clihdr[0007:ffffffff]: Host: 192.168.2.17:443
    00000001:https-443-in.clihdr[0007:ffffffff]: User-Agent: Go-http-client/1.1
    00000001:https-443-in.clihdr[0007:ffffffff]: Connection: close
    00000001:https-443-in.clihdr[0007:ffffffff]: Content-Length: 12444635
    00000001:https-443-in.clihdr[0007:ffffffff]: Authorization: Basic <mask>
    00000001:https-443-in.clihdr[0007:ffffffff]: Accept-Encoding: gzip
    00000001:https-443-in.clihdr[0007:ffffffff]: Connection: close
    00000001:hs_admin.srvrep[0007:0008]: HTTP/1.1 200 OK
    00000001:hs_admin.srvhdr[0007:0008]: X-Xss-Protection: 1; mode=block
    00000001:hs_admin.srvhdr[0007:0008]: X-Content-Type-Options: nosniff
    00000001:hs_admin.srvhdr[0007:0008]: Access-Control-Allow-Origin: *
    00000001:hs_admin.srvhdr[0007:0008]: Referrer-Policy: no-referrer
    00000001:hs_admin.srvhdr[0007:0008]: Content-type: text/html
    00000001:hs_admin.srvhdr[0007:0008]: X-HS-Code: 11
    00000001:hs_admin.srvhdr[0007:0008]: Connection: close
    00000001:hs_admin.srvhdr[0007:0008]: Date: Thu, 16 Apr 2020 18:31:37 GMT
    00000001:hs_admin.srvhdr[0007:0008]: Content-length: 10
    00000001:hs_admin.srvcls[0007:0008]
    00000001:hs_admin.clicls[0007:0008]
    00000001:hs_admin.closed[0007:0008]