You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Build out Troubleshooting and Support documentation (#8662)
* change luna to enterprise support
* community page updates
* combine issues and discussions pages
* move telemetry out of contribute
* remove gerund title
* rewrite issues page
* fix 2 anchors
* add troubleshooting page
* move troubleshooting and extras from install
* add some more issues
* coderabbit
Copy file name to clipboardExpand all lines: docs/docs/Contributing/contributing-community.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,23 +3,33 @@ title: Join the Langflow community
3
3
slug: /contributing-community
4
4
---
5
5
6
-
6
+
There are several ways you can interact with the Langflow community and learn more about the Langflow project.
7
7
8
8
## Join the Langflow Discord server
9
9
10
10
Join the [Langflow Discord Server](https://discord.gg/EqksyE2EX9) to ask questions and showcase your projects.
11
11
12
12
## Follow Langflow on X
13
13
14
-
Follow [@langflow_ai](https://twitter.com/langflow_ai) on X to get the latest news about Langflow.
14
+
Follow [@langflow_ai](https://twitter.com/langflow_ai) on X to get the latest news about Langflow.
15
+
16
+
## Star Langflow on GitHub
17
+
18
+
If you like Langflow, you can star the [Langflow GitHub repository](https://github.com/langflow-ai/langflow).
19
+
Stars help other users find Langflow more easily, and quickly understand that other users have found it useful.
20
+
21
+
Because Langflow is an open-source project, the more visible the repository is, the more likely the project is to attract [contributors](/contributing-how-to-contribute).
15
22
16
-
## Star Langflow on GitHub
23
+
## Watch the GitHub repository
17
24
18
-
You can [star Langflow in GitHub](https://github.com/langflow-ai/langflow).
25
+
You can watch the [LangflowGitHub repository](https://github.com/langflow-ai/langflow) to get notified about new releases and other repository activity.
19
26
20
-
By adding a star, other users will be able to find Langflow more easily, and see that it has been already useful for others.
27
+
To get release notifications only, select **Releases only**.
21
28
22
-
## Watch the GitHub repository for releases
29
+
If you select **Watching**, you will receive notifications about new releases as well as issues, discussions, and pull requests, if you are interested in that activity.
30
+
For information about customizing repository notifications, see the [GitHub documentation on repository subscriptions](https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/viewing-your-subscriptions).
23
31
24
-
You can [watch Langflow in GitHub](https://github.com/langflow-ai/langflow). If you select **Watching** instead of **Releases only** you will receive notifications when someone creates a new issue or question. You can also specify that you want to be notified only about new issues, discussions, and PRs so you can try to help solve those issues.
32
+
## Request enhancements and get help through GitHub
25
33
34
+
You can also submit feature requests and get help with Langflow through the GitHub repository.
35
+
For more information, see [Get help and request enhancements](/contributing-github-issues).
The [Issues page in the Langflow repo](https://github.com/langflow-ai/langflow/issues) is kept up to date with bugs, improvements, and feature requests. Labels are used to help with sorting and discovery of issues of interest. For an overview of the system Langflow uses to tag issues and pull requests, see the Langflow repo's [labels page](https://github.com/langflow-ai/langflow/labels).
6
+
The Langflow GitHub repository is an integral part of the [Langflow community](/contributing-community).
7
+
8
+
In addition to general assistance with Langflow, the repository is the best place to report bugs and request enhancements to ensure that they are tracked by the Langflow project.
9
+
10
+
## GitHub issues
11
+
12
+
The [Issues page in the Langflow repository](https://github.com/langflow-ai/langflow/issues) is actively updated with bugs and feature requests.
13
+
14
+
:::tip
15
+
The best way to promote a request or bug is to comment on an existing issue.
16
+
Highly active issues are more likely to receive attention from contributors.
17
+
18
+
Before you report a bug or submit a feature request, search for existing similar issues.
19
+
Use the [Langflow repository's labels](https://github.com/langflow-ai/langflow/labels) to help filter your search.
20
+
:::
21
+
22
+
## GitHub discussions
23
+
24
+
If you need help with your code or Langflow in general, you can visit the [Langflow GitHub Discussions page](https://github.com/langflow-ai/langflow/discussions) or reach out through other [Langflow community](/contributing-community) channels.
25
+
26
+
The Langflow team doesn't provide individual support over email, and the team believes that public discussions help more users by virtue of their discoverability.
27
+
28
+
## Community guidelines and tips
29
+
30
+
Because the Issues and Discussion pages are public, the Langflow team asks that you follow these guidelines when submitting questions and issues:
31
+
32
+
***Provide as many details as possible**: Simply stating that a feature doesn't work isn't helpful. The Langflow team needs details in order to recreate and find the issue.
33
+
***Explain what exactly went wrong**: Including error messages and descriptions of _how_ your code failed, not just the fact that it failed.
34
+
***Retrace your steps**: Explain what happened before the error, what you expected to happen instead of the error, and any recent changes you made, such as upgrading Langflow or a dependency.
35
+
***Describe your environment**: Include your operating system, Langflow version, Python version, and any other environment-related details that could have contributed to the issue.
36
+
***Include snippets of the code that failed**: Be sure to omit any sensitive values, and only provide parts relevant to the failure, rather than the entire script. Providing code snippets makes it much easier to reproduce errors, troubleshoot, and provide specific advice.
37
+
* If your submission includes long sections of code, logs, or tracebacks, wrap them in [details tags](https://developer.mozilla.org/en/docs/Web/HTML/Element/details) (`<details> PASTE CODE HERE </details>`) to collapse the content and make it easier to read your submission.
38
+
***Omit sensitive information**: Other than the information available on your public GitHub profile, don't include sensitive or personally identifying data, such as security keys, full names, personal identification numbers, addresses, and phone numbers.
39
+
***Be kind**: Although bugs can be frustrating with any software, remember that your messages are read by real people who want to help. While you don't have to be saccharine, there's no need to be rude to get support.
40
+
* Your issues and discussions are attached to your GitHub account, and they can be read by anyone on the internet, including current and potential employers and colleagues.
41
+
* The Langlow repository is a public GitHub repository and, therefore, subject to the [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github.qkg1.topmunity-code-of-conduct).
To install custom dependencies in your Langflow environment, add them with your package manager.
6
+
Langflow provides optional dependency groups and support for custom dependencies to extend Langflow functionality.
7
7
8
-
## Create a virtual environment for local testing
8
+
## Install optional dependency groups
9
+
10
+
Langflow OSS provides optional dependency groups that extend its functionality.
11
+
12
+
These dependencies are listed in the [pyproject.toml](https://github.com/langflow-ai/langflow/blob/main/pyproject.toml#L191) file under `[project.optional-dependencies]`.
13
+
14
+
Install dependency groups using pip's `[extras]` syntax. For example, to install Langflow with the `postgresql` dependency group, enter the following command:
15
+
16
+
```bash
17
+
uv pip install "langflow[postgresql]"
18
+
```
19
+
20
+
To install multiple extras, use commas to separate each dependency group:
To install your own custom dependencies in your Langflow environment, add them with your package manager.
29
+
30
+
If you're working within a cloned Langflow repository, add dependencies with `uv add` because there is already a `pyproject.toml` file for uv to reference:
31
+
32
+
```bash
33
+
uv add langflow DEPENDENCY
34
+
```
35
+
36
+
### Use a virtual environment to test custom dependencies
9
37
10
38
When testing locally, use a virtual environment to isolate your dependencies and prevent conflicts with other Python projects.
If you're working within a cloned Langflow repository, add dependencies with `uv add` because there is already a `pyproject.toml` file for uv to reference.
51
+
If you're working within a cloned Langflow repository, add dependencies with `uv add` to reference the existing `pyproject.toml` file:
52
+
24
53
```bash
25
54
uv add langflow matplotlib
26
55
```
27
56
28
57
## Add dependencies to the Langflow project
29
58
30
-
When contributing to Langflow itself, add dependencies to the project's configuration. Langflow uses a workspace with two packages:
59
+
When contributing to Langflow itself, add dependencies to the project's configuration.
60
+
61
+
Langflow uses a workspace with two packages:
31
62
32
63
* The `main` package (root level): For end-user features and main application code
33
64
* The `base` package (in `src/backend/base`): For core functionality and shared code
@@ -30,20 +30,21 @@ Langflow can be installed in multiple ways:
30
30
31
31
</TabItem>
32
32
<TabItemvalue="Windows"label="Windows">
33
-
:::important
34
-
Windows installations of Langflow Desktop require a C++ compiler, such as [Visual Studio](https://visualstudio.microsoft.com/downloads/), that may not be present on your system. If you receive a `C++ Build Tools Required!` error, follow the on-screen prompt to install Microsoft C++ Build Tools, or visit the Visual Studio download link above.
35
-
:::
36
33
37
34
1. Navigate to [Langflow Desktop](https://www.langflow.org/desktop).
38
35
2. Click **Download Langflow**, enter your contact information, and then click **Download**.
39
36
3. Open the **File Explorer**, and then navigate to **Downloads**.
40
37
4. Double-click the downloaded `.msi` file, and then use the install wizard to install Langflow Desktop.
41
-
6. When the installation completes, open the Langflow application.
38
+
39
+
:::important
40
+
Windows installations of Langflow Desktop require a C++ compiler that may not be present on your system. If you receive a `C++ Build Tools Required!` error, follow the on-screen prompt to install Microsoft C++ Build Tools, or [install Microsoft Visual Studio](https://visualstudio.microsoft.com/downloads/).
41
+
:::
42
+
43
+
5. When the installation completes, open the Langflow application.
42
44
43
45
After confirming that Langflow is running, create your first flow with the [Quickstart](/get-started-quickstart).
44
46
45
47
</TabItem>
46
-
47
48
</Tabs>
48
49
49
50
### Manage your version of Langflow Desktop
@@ -134,14 +135,16 @@ To delete the virtual environment, type `Remove-Item VENV_NAME`.
134
135
</details>
135
136
136
137
2. To install Langflow, run the following command.
137
-
```bash
138
-
uv pip install langflow
139
-
```
138
+
139
+
```bash
140
+
uv pip install langflow
141
+
```
140
142
141
143
3. After installation, start Langflow:
142
-
```bash
143
-
uv run langflow run
144
-
```
144
+
145
+
```bash
146
+
uv run langflow run
147
+
```
145
148
146
149
4. To confirm that a local Langflow instance is running, navigate to the default Langflow URL `http://127.0.0.1:7860`.
147
150
It can take a few minutes for Langflow to start.
@@ -150,165 +153,28 @@ After confirming that Langflow is running, create your first flow with the [Quic
150
153
151
154
### Manage Langflow OSS versions
152
155
153
-
To manage your Langflow version, use the following commands.
154
-
155
-
<detailsclosed>
156
-
<summary>Manage Langflow OSS versions</summary>
157
-
158
-
To upgrade Langflow to the latest version:
156
+
:::important
157
+
The Langflow team recommends installing new Langflow versions in a new virtual environment before upgrading your primary installation.
159
158
160
-
```bash
161
-
uv pip install langflow -U
162
-
```
163
-
164
-
To install a specific version of the Langflow package, add the required version to the command:
165
-
166
-
```bash
167
-
uv pip install langflow==1.3.2
168
-
```
159
+
This allows you to [import flows](/concepts-flows#import-flow) from your existing installation and test them in the new version without disrupting your existing installation.
160
+
In the event of breaking changes or bugs, your existing installation is preserved in a stable state.
161
+
:::
169
162
170
-
To reinstall Langflow and all of its dependencies, add the `--force-reinstall` flag to the command:
171
-
172
-
```bash
173
-
uv pip install langflow --force-reinstall
174
-
```
175
-
176
-
</details>
163
+
To manage your Langflow OSS version, use the following commands:
177
164
165
+
* Upgrade Langflow to the latest version: `uv pip install langflow -U`
166
+
* Install a specific version of the Langflow package by adding the required version to the command, such as: `uv pip install langflow==1.3.2`
167
+
* Reinstall Langflow and all of its dependencies: `uv pip install langflow --force-reinstall`
178
168
179
169
### Manage Langflow OSS dependencies
180
170
181
-
Langflow OSS provides optional dependency groups that extend its functionality.
182
-
183
-
These dependencies are listed in the [pyproject.toml](https://github.com/langflow-ai/langflow/blob/main/pyproject.toml#L191) file under `[project.optional-dependencies]`.
184
-
185
-
<detailsclosed>
186
-
<summary>Install dependency groups</summary>
187
-
188
-
Install dependency groups using pip's `[extras]` syntax. For example, to install Langflow with the `postgresql` dependency group, enter the following command:
189
-
190
-
```bash
191
-
uv pip install "langflow[postgresql]"
192
-
```
193
-
194
-
To install multiple extras, enter the following command:
When you try to run Langflow with the command `langflow run`, you encounter the following error:
212
-
213
-
```bash
214
-
> No module named 'langflow.__main__'
215
-
```
216
-
217
-
1. Run `uv run langflow run` instead of `langflow run`.
218
-
2. If that doesn't work, reinstall the latest Langflow version with `uv pip install langflow -U`.
219
-
3. If that doesn't work, reinstall Langflow and its dependencies with `uv pip install langflow --pre -U --force-reinstall`.
220
-
221
-
</details>
222
-
223
-
<details>
224
-
<summary>Langflow runTraceback</summary>
225
-
226
-
When you try to run Langflow using the command `langflow run`, you encounter the following error:
171
+
Langflow OSS provides optional dependency groups and support for custom dependencies to extend Langflow functionality.
172
+
For more information, see [Install custom dependencies](/install-custom-dependencies).
227
173
228
-
```bash
229
-
> langflow runTraceback (most recent call last): File ".../langflow", line 5, in<module> from langflow.__main__ import mainModuleNotFoundError: No module named 'langflow.__main__'
230
-
```
231
-
232
-
There are two possible reasons for this error:
233
-
234
-
1. You've installed Langflow using `pip install langflow` but you already had a previous version of Langflow installed in your system. In this case, you might be running the wrong executable. To solve this issue, run the correct executable by running `python -m langflow run` instead of `langflow run`. If that doesn't work, try uninstalling and reinstalling Langflow with `uv pip install langflow --pre -U`.
235
-
2. Some version conflicts might have occurred during the installation process. Run `python -m pip install langflow --pre -U --force-reinstall` to reinstall Langflow and its dependencies.
236
-
237
-
</details>
238
-
239
-
<details>
240
-
<summary>Something went wrong running migrations</summary>
241
-
242
-
```bash
243
-
> Something went wrong running migrations. Please, run 'langflow migration --fix'
244
-
```
245
-
246
-
Clear the cache by deleting the contents of the cache folder.
247
-
248
-
This folder can be found at:
249
-
250
-
-**Linux or WSL2 on Windows**: `home/<username>/.cache/langflow/`
This error can occur during Langflow upgrades when the new version can't override `langflow-pre.db` in `.cache/langflow/`. Clearing the cache removes this file but also erases your settings.
254
-
255
-
If you wish to retain your files, back them up before clearing the folder.
256
-
257
-
</details>
258
-
259
-
<details>
260
-
<summary>Langflow installation freezes at pip dependency resolution</summary>
261
-
262
-
Installing Langflow with `pip install langflow` slowly fails with this error message:
263
-
264
-
```text
265
-
pip is looking at multiple versions of <<library>> to determine which version is compatible with other requirements. This could take a while.
266
-
```
267
-
268
-
To work around this issue, install Langflow with [`uv`](https://docs.astral.sh/uv/getting-started/installation/) instead of `pip`.
174
+
## Troubleshoot Langflow installation and startup issues
269
175
270
-
```text
271
-
uv pip install langflow
272
-
```
273
-
274
-
To run Langflow with uv:
275
-
276
-
```text
277
-
uv run langflow run
278
-
```
279
-
280
-
</details>
281
-
282
-
<details>
283
-
<summary>Failed to build required package</summary>
284
-
285
-
When you try to install Langflow on Linux, installation fails because of outdated or missing packages.
286
-
287
-
```bash
288
-
Resolved 455 packages in 18.92s
289
-
× Failed to build `webrtcvad==2.0.10`
290
-
├─▶ The build backend returned an error
291
-
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
292
-
```
293
-
294
-
1. Install the required build dependencies.
295
-
296
-
```bash
297
-
sudo apt-get update
298
-
sudo apt-get install build-essential python3-dev
299
-
```
300
-
301
-
2. If upgrading your packages doesn't fix the issue, install `gcc` separately.
302
-
303
-
```bash
304
-
sudo apt-get install gcc
305
-
```
306
-
307
-
</details>
308
-
309
-
<details>
310
-
<summary>Installation failure from <code>webrtcvad</code> package</summary>
176
+
If you encounter an issue when installing or running Langflow, see [Troubleshoot Langflow](/troubleshoot).
311
177
312
-
If you experience an error from the `webrtcvad` package, run `uv pip install webrtcvad-wheels` in the virtual environment, and then try installing again.
178
+
## Next steps
313
179
314
-
</details>
180
+
After installing Langflow, build and run a flow with the [quickstart](/get-started-quickstart).
0 commit comments