coollabsio/coolify · error · Exception

Configuration is not synced

Error message

Configuration is not synced

What it means

Error "Configuration is not synced" thrown in coollabsio/coolify.

Source

Thrown at app/Jobs/RestartProxyJob.php:89

            return handleError($e);
        }
    }

    /**
     * Build combined stop + start commands for proxy restart.
     * This creates a single command sequence that shows all logs in one activity.
     */
    private function buildRestartCommands(): array
    {
        $proxyType = $this->server->proxyType();
        $containerName = $this->server->isSwarm() ? 'coolify-proxy_traefik' : 'coolify-proxy';
        $proxy_path = $this->server->proxyPath();
        $stopTimeout = 30;

        // Get proxy configuration
        $configuration = GetProxyConfiguration::run($this->server);
        if (! $configuration) {
            throw new \Exception('Configuration is not synced');
        }
        SaveProxyConfiguration::run($this->server, $configuration);
        $docker_compose_yml_base64 = base64_encode($configuration);
        $this->server->proxy->last_applied_settings = str($docker_compose_yml_base64)->pipe('md5')->value();
        $this->server->save();

        $commands = collect([]);

        // === STOP PHASE ===
        $commands = $commands->merge([
            "echo 'Stopping proxy...'",
            dockerStopCommand($stopTimeout, $containerName, $this->server).' 2>/dev/null || true',
            "docker rm -f $containerName 2>/dev/null || true",
            '# Wait for container to be fully removed',
            'for i in {1..15}; do',
            "    if ! docker ps -a --format \"{{.Names}}\" | grep -q \"^$containerName$\"; then",
            "        echo 'Container removed successfully.'",
            '        break',

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Jobs/RestartProxyJob.php:89 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17). Data as JSON: /api/errors/84d1a1abf2d84ff8. Report an issue: GitHub.