Notice of infrastructure changes 29/7 - 2/8, 2024 (and onward)

gravelldgravelld Administrator
edited August 7 in General

This is just an informational note, really. Hopefully there should be no actions for you to take.

This week we are trying to conclude our work on updating our production infrastructure, to make changes more reliable and traceable. This is the work we previously announced downtime for in the past few months; now, work is advanced such that we can run this on a longer term basis.

asti.ga and play.asti.ga will be served from the new infrastructure all week unless some problem is encountered that means we have to flip back.

Please let us know any issues you find or notice.

As problems are found we'll switch back to the legacy infrastructure, fix and re-start.

We decided not to announce this as downtime because no downtime is expected.

Post edited by gravelld on

Comments

  • SocSoc Member

    Hi Dan.

    https://play.asti.ga/ works for me, but https://play.asti.ga/premium is down with the error posted below. Is this related to the infrastructure updates, or a separate issue?

    Error:

    Slim Application Error

    The application could not run because of the following error:

    Details

    Type: Error

    Message: Undefined constant "Astiga\Controllers\STRIPE_ONE_TIME_PRICES"

    File: /var/www/astiga/play/app/Controllers/PremiumController.php

    Line: 71

    Trace

    #0 [internal function]: Astiga\Controllers\PremiumController->render()
    #1 /var/www/astiga/play/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func()
    #2 /var/www/astiga/play/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke()
    #3 /var/www/astiga/play/app/Middlewares/AuthorisationMiddleware.php(41): Slim\Route->__invoke()
    #4 [internal function]: Astiga\Middlewares\AuthorisationMiddleware->__invoke()
    #5 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #6 [internal function]: Slim\DeferredCallable->__invoke()
    #7 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #8 /var/www/astiga/play/app/Middlewares/AuthenticationMiddleware.php(25): Slim\Route->Slim\{closure}()
    #9 [internal function]: Astiga\Middlewares\AuthenticationMiddleware->__invoke()
    #10 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #11 [internal function]: Slim\DeferredCallable->__invoke()
    #12 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #13 /var/www/astiga/play/app/Middlewares/CacheControlMiddleware.php(21): Slim\Route->Slim\{closure}()
    #14 [internal function]: Astiga\Middlewares\CacheControlMiddleware->__invoke()
    #15 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #16 [internal function]: Slim\DeferredCallable->__invoke()
    #17 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #18 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}()
    #19 /var/www/astiga/play/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack()
    #20 /var/www/astiga/play/vendor/slim/slim/Slim/App.php(503): Slim\Route->run()
    #21 /var/www/astiga/play/app/Middlewares/CacheControlMiddleware.php(21): Slim\App->__invoke()
    #22 [internal function]: Astiga\Middlewares\CacheControlMiddleware->__invoke()
    #23 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #24 [internal function]: Slim\DeferredCallable->__invoke()
    #25 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #26 /var/www/astiga/play/app/Middlewares/PartialPageMiddleware.php(14): Slim\App->Slim\{closure}()
    #27 [internal function]: Astiga\Middlewares\PartialPageMiddleware->__invoke()
    #28 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #29 [internal function]: Slim\DeferredCallable->__invoke()
    #30 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #31 /var/www/astiga/play/index.php(141): Slim\App->Slim\{closure}()
    #32 [internal function]: Closure->{closure}()
    #33 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #34 [internal function]: Slim\DeferredCallable->__invoke()
    #35 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #36 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}()
    #37 /var/www/astiga/play/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack()
    #38 /var/www/astiga/play/vendor/slim/slim/Slim/App.php(297): Slim\App->process()
    #39 /var/www/astiga/play/index.php(149): Slim\App->run()
    #40 {main}
    


  • gravelldgravelld Administrator

    Thanks, looks like the config isn't completed. I'll switch back.

  • SocSoc Member

    Thanks, /premium is up and running again!

  • gravelldgravelld Administrator

    We've switched back to the new infrastructure again. Please report any further problems!

  • gravelldgravelld Administrator

    Rolling back to the legacy infrastructure again - probably best for the weekend, plus we found an issue with sending emails.

  • gravelldgravelld Administrator

    We've been running on the new infrastructure again since Monday, although some issues with our payment webhooks have been found so we're back on the legacy servers. Will probably move over again next week when we deploy a new version.

Sign In or Register to comment.