Package Details: openlist-bin 4.1.10-1

Git Clone URL: https://aur.archlinux.org/openlist-bin.git (read-only, click to copy)
Package Base: openlist-bin
Description: A new AList Fork to Anti Trust Crisis
Upstream URL: https://github.com/OpenListTeam/OpenList
Licenses: AGPL-3.0-only
Conflicts: openlist
Provides: openlist
Submitter: insmtr
Maintainer: insmtr
Last Packager: insmtr
Votes: 4
Popularity: 0.63
First Submitted: 2025-06-20 20:59 (UTC)
Last Updated: 2026-02-13 08:57 (UTC)

Dependencies (1)

Required by (5)

Sources (7)

Latest Comments

insmtr commented on 2025-12-01 03:37 (UTC)

@Pqolk

我改了一下,现在 /etc/openlist/config.json 是 /var/lib/openlist/config.json 的链接文件了,并且更新后会删除原来的 /etc/openlist/config.json 。因为这个文件实际上并没有用到,所以直接删除应该不会造成什么实际影响。

谢谢提醒,PKGBUILD 我是直接抄的 alist-bin 包,当时能用,就没仔细看。

Pqolk commented on 2025-11-23 11:10 (UTC) (edited on 2025-11-23 12:43 (UTC) by Pqolk)

没有用到config.json,可以添加--config /etc/openlist/config.json
config.json保留

{
  "database": {
    "db_file": "/var/lib/openlist/data.db"
  },
  "temp_dir": "/var/cache/openlist/temp",
  "bleve_dir": "/var/lib/openlist/bleve",
  "log": {
    "name": "/var/log/openlist/log.log"
  }
}

openlist.tmpfiles和安装config.json的权限可能也要设置下
L /etc/openlist/config.json 0644 openlist openlist - /var/lib/openlist/config.json修改成
z /etc/openlist/config.json 0644 openlist openlist - -

PKGBUILD设置配置文件避免被覆盖backup=('etc/openlist/config.json')

之前有L /etc/openlist/config.json 0644 openlist openlist - /var/lib/openlist/config.json原先配置应该不会出问题

insmtr commented on 2025-07-27 08:55 (UTC)

@AstronW

已修复。可能是 github 上重新发包了,因为我刚打完的时候是这个校验值,能正常安装。感谢支持。

AstronW commented on 2025-07-27 08:45 (UTC)

4.0.9 x86版本的sha256sum值是不是有误,安装失败在校验,应该为 7fedb086f4d7b7754c40c86e79c49cc53d4175fe552ae18de070d04d2fb656c4

hiruocha commented on 2025-06-23 11:39 (UTC)

@insmtr 感谢解答,我玩明白了

insmtr commented on 2025-06-21 20:17 (UTC)

@hiruocha

关于你说的修改配置相关的问题,我想,大部分的配置是可以直接在 web 端修改的。少部分不能修改的你可以直接 sudo nano /var/lib/openlist/config.json

insmtr commented on 2025-06-21 20:13 (UTC) (edited on 2025-06-21 20:14 (UTC) by insmtr)

@hiruocha

这个应该是从 alist 时代就遗留的问题(特性)了。

openlist admin random 默认会以当前目录下的 data 作为数据目录,并拥有当前登陆用户的权限,所以建议你直接在命令后面加上 --data /var/lib/openlist 来解决这个问题。

另外,本脚本是参考的 alist-bin 包,创建了一个 openlist 的用户。你在创建配置文件的时候需要以 openlist 用户的身份运行。

综上,你应该使用 sudo -u openlist openlist admin random --data /var/lib/openlist 来初始化配置。

另外,我更推荐的是 sudo systemctl enable --now openlist ,然后直接 journalctl -u openlist 查看日志,在里面找到初始化的密码。

hiruocha commented on 2025-06-21 19:50 (UTC)

配置时使用openlist admin random配置文件会生成在./data/里,但openlist.service读取的又是/var/lib/openlist/内的配置,这就导致想要创建或修改配置需要修改后手动将配置文件复制到目标目录才能生效