Skip to content
Open
Show file tree
Hide file tree
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
27 changes: 27 additions & 0 deletions deploy/astrbot/community-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,30 @@ wget -qO- https://raw.githubusercontent.com/zhende1113/Antlia/refs/heads/main/Sc
```

仓库地址:[zhende1113/Antlia](https://github.com/zhende1113/Antlia/)

## Termux部署报错解决方案

>如果出现了 `[WARN] uv sync 失败,重试 2/3
× Failed to build astrbot @ file:///root/
├─▶ Failed to install requirements from build-system.requires
├─▶ Failed to install build dependencies
├─▶ Failed to install: trove_classifiers-2025.9.11.17-py3-none-any.whl
│ (trove-classifiers==2025.9.11.17)
╰─▶ failed to hardlink file from
/root/.cache/uv/archive-v0/10gPuxc61Audvy1Eg6SFz/trove_classifiers/.l2s.__init__.py0001
to
/root/.cache/uv/builds-v0/.tmp2lFVJx/lib/python3.10/site-packages/trove_classifiers/.l2s.__init__.py0001:
Operation not permitted (os error 1)

可以先运行以下命令,然后再重新启动

>仅限Termux部署环境使用!
>仅限Termux部署环境使用!
>仅限Termux部署环境使用!

>```bash
>echo 'export UV_LINK_MODE=copy' >> ~/.bashrc
>```
>```bash
>source ~/.bashrc
>```
8 changes: 5 additions & 3 deletions deploy/astrbot/termux.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,10 @@ uv run main.py
>export UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple"
>```

>[!TIP]
## 报错解决方案

>如果出现了 `[WARN] uv sync 失败,重试 2/3
× Failed to build astrbot @ file:///root/AstrBot
× Failed to build astrbot @ file:///root/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

问一下这里为什么要修改文件目录

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个md版本是我直接从复制maibot的docs,我之前在那边提pr的时候为了防止起疑就吧Astrbot这个目录给我

├─▶ Failed to install requirements from build-system.requires
├─▶ Failed to install build dependencies
├─▶ Failed to install: trove_classifiers-2025.9.11.17-py3-none-any.whl
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这边没有md语法,我看了一下提交确实不是这次修改的,如果你想可以顺便修改这个

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我看了一下其实是有的但不是```而是`所以导致被识别为一行导致显示问题,建议修改

Expand All @@ -155,7 +156,8 @@ uv run main.py
to
/root/.cache/uv/builds-v0/.tmp2lFVJx/lib/python3.10/site-packages/trove_classifiers/.l2s.__init__.py0001:
Operation not permitted (os error 1)
` 可以先运行以下命令,然后再重新启动

可以先运行以下命令,然后再重新启动

>```bash
>echo 'export UV_LINK_MODE=copy' >> ~/.bashrc
Expand Down