Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

nextcloud-client: VFS plugins installed where the client does not search

未关闭 适合新手
#62,700 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux
领域
build-system

调研方向

检查 nextcloud-client 的软件包定义及其安装路径,然后将它们与客户端搜索的 Qt6 插件目录进行比较。使用提供的 xbps-query 和 strace 命令重现查找过程;当全新安装将 VFS 插件放置在 nextcloud 搜索的位置,并且无需手动创建 symlink 即可使用虚拟文件时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug needs-testing
Is this a new report?

Yes

System Info

Void 7.2.2_1 x86_64 AuthenticAMD uptodate rFFF

Package(s) Affected

nextcloud-client-34.0.4_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

Not that I could find.

Expected behaviour

The VFS plugins should either:

Be installed directly into the directory expected by the Nextcloud client:

/usr/lib/qt6/plugins/

Or, alternatively, the package/build configuration should explicitly configure the client to search the directory where the distribution installs the plugins.

The installation path should be consistent with the path used by the upstream build/client at runtime.

Actual behaviour

The plugins are installed in:

/usr/lib/

while the client only searches:

/usr/lib/qt6/plugins/

Consequently, VFS support is unavailable on a clean installation until the user manually creates symlinks.

Steps to reproduce

Install the nextcloud-client package on a Qt6-based system.

Verify that the VFS plugins are installed:

xbps-query -f nextcloud-client | grep -E 'vfs|nextcloudsync|/usr/lib'

The output shows:

/usr/lib/nextcloudsync_vfs_suffix.so
/usr/lib/nextcloudsync_vfs_xattr.so

Start the Nextcloud client:

nextcloud

Trace the filesystem lookups performed by the client:

strace -f -e trace=openat,access,stat,statx nextcloud 2>&1 | grep -E 'nextcloudsync|vfs_'

Observe that the client searches for the VFS plugins in /usr/lib/qt6/plugins/:

statx(..., "/usr/lib/qt6/plugins/nextcloudsync_vfs_suffix.so", ...) = -1 ENOENT
statx(..., "/usr/lib/qt6/plugins/nextcloudsync_vfs_xattr.so", ...) = -1 ENOENT

Verify that the files actually exist, but in a different directory:

ls -l /usr/lib/nextcloudsync_vfs_*.so

Create symlinks to the location searched by the client:

sudo ln -s /usr/lib/nextcloudsync_vfs_suffix.so \
/usr/lib/qt6/plugins/nextcloudsync_vfs_suffix.so

sudo ln -s /usr/lib/nextcloudsync_vfs_xattr.so \
/usr/lib/qt6/plugins/nextcloudsync_vfs_xattr.so

Restart the Nextcloud client.

Observe that the VFS plugins are now detected and virtual files become available.

主要语言
Shell
星标
3.4k
派生
2.8k
平均合并
1 天 21 小时
30 天内合并 PR
321

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

void-linux/void-packages 的其他 Issue

查看 void-linux/void-packages 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。