Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

add a troubleshoot note for extensions #1399

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions content/en/user-guide/extensions/managing-extensions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,20 @@ $ tree -L 4
└── tmp
└── state
```

## Troubleshooting

### Fixing `"ModuleNotFoundError: No module named 'flask'"`

After a recent update in our packaging, you may see this error in your logs when starting LocalStack with an Extension:

```bash
ModuleNotFoundError: No module named 'flask'
```

To resolve this, follow these steps:

* Clear the directory mounted to the LocalStack container at `/var/lib/localstack`.
* Pull the `latest` image of LocalStack (`localstack/localstack-pro:latest`).
* Restart the LocalStack container.
* Reinstall any extensions you were using, unless you have `EXTENSION_AUTO_INSTALL` enabled.