Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4123

Pterodactyl: Support upgrade/downgrade including package fields

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Pterodactyl::editService() does not allow editing of build parameters (memory limits and such) which are controlled by the package. We should still not edit these build parameters unless the package is being changed. In which we should call servers/build api endpoint (https://dashflo.net/docs/api/pterodactyl/v1/#req_11fc764c3ed648ca8e6d60bff860ca6d)

      This would looks something like

      
                  $this->apiRequest(
                      'Servers',
                      'editBuild',
                      [$pterodactyl_server->attributes->id, $service_helper->editServerBuildParameters($new_package)]
                  );
      

        Activity

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Jun/21

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 4 hours, 36 minutes
              4h 36m

                Agile