## TL;DR

For "An error occured, please restart the application": set LAGO_DISABLE_SEGMENT to true as well if you see Segment-related errors in the container logs on older images. That failure was a bug in the shipped image itself, fixed in the current release.

```text
An error occured, please restart the application
```

## Steps

1. If Lago's single Docker image refuses to create the Stripe integration while Docker Compose works fine, do not waste time re-entering credentials: pull the latest image. That failure was a bug in the shipped image itself, fixed in the current release. Set LAGO_DISABLE_SEGMENT to true as well if you see Segment-related errors in the container logs on older images.

## When to use

You are seeing this: If Lago's single Docker image refuses to create the Stripe integration while Docker Compose works fine, do not waste time re-entering credentials: pull the latest image. Use this skill when you run into "Lago single Docker image cannot add Stripe integration: pull the latest image".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
