status === Server::STATUS_INSTALL_FAILED) { throw new DisplayException(trans('admin/server.exceptions.marked_as_failed')); } $server->forceFill([ 'status' => $server->isInstalled() ? Server::STATUS_INSTALLING : null, ])->saveOrFail(); } }