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

Add support for OmniOS

未关闭
#263 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript, php
领域
observability

调研方向

从 serverinfo Administration → System 页面开始,检查如何为当前平台收集 Uptime、CPU 和 Memory 信息。在使用 PHP 7.4 的 OmniOS CE r151036 上重现该问题,然后验证这些值是否显示在 System 页面上。

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

描述

1. to develop enhancement
How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
Steps to reproduce
  1. Install nextCloud on a illumos-based server, e.g. with pkgsrc: pfexec pkgin in php74-nextcloud.
  2. Set up your installation as usual.
  3. Visit the Administration -> System page.
Expected behaviour

You should see Uptime, CPU and Memory information about your system.

Actual behaviour

You don’t.

Bildschirmfoto 2020-12-14 um 09 59 57
Server configuration

Operating system: OmniOS CE r151036

Web server: nginx

Database: MariaDB

PHP version: 7.4

Nextcloud version: (see Nextcloud admin page) 20.0.2

Updated from an older Nextcloud/ownCloud or fresh install: Continuously updated since nextCloud 13.

Where did you install Nextcloud from: pkgsrc, as described.

Signing status:

Signing status
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- files_rightclick
	- EXTRA_FILE
		- README.md

Raw output
==========
Array
(
    [files_rightclick] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => 008148d723136644c2542312557ed5b9db1af5de6797a221d221012ae0ad367b2daca4774bcaba8936ec8394093b83c3e3f2d8e7c52e5f5882e28579dffe99e2
                        )

                )

        )

)

List of activated apps:

App list
Enabled:
  - accessibility: 1.6.0
  - activity: 2.13.3
  - calendar: 2.1.2
  - cloud_federation_api: 1.3.0
  - comments: 1.10.0
  - contacts: 3.4.2
  - contactsinteraction: 1.1.0
  - dav: 1.16.1
  - federatedfilesharing: 1.10.1
  - federation: 1.10.1
  - files: 1.15.0
  - files_pdfviewer: 2.0.1
  - files_rightclick: 0.17.0
  - files_sharing: 1.12.0
  - files_trashbin: 1.10.1
  - files_versions: 1.13.0
  - files_videoplayer: 1.9.0
  - firstrunwizard: 2.9.0
  - logreader: 2.5.0
  - lookup_server_connector: 1.8.0
  - nextcloud_announcements: 1.9.0
  - notifications: 2.8.0
  - oauth2: 1.8.0
  - password_policy: 1.10.1
  - photos: 1.2.0
  - privacy: 1.4.0
  - provisioning_api: 1.10.0
  - serverinfo: 1.10.0
  - settings: 1.2.0
  - support: 1.3.0
  - survey_client: 1.8.0
  - systemtags: 1.10.0
  - text: 3.1.0
  - theming: 1.11.0
  - twofactor_backupcodes: 1.9.0
  - updatenotification: 1.10.0
  - viewer: 1.4.0
  - weather_status: 1.0.0
  - workflowengine: 2.2.0
Disabled:
  - admin_audit
  - dashboard
  - encryption
  - files_external
  - recommendations
  - sharebymail
  - user_ldap
  - user_status

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.rosaelefanten.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "20.0.2.2",
        "overwrite.cli.url": "https:\/\/cloud.rosaelefanten.org",
        "installed": true,
        "theme": "",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "log_rotate_size": 10485760,
        "loglevel": 2,
        "maintenance": false,
        "app_install_overwrite": [
            "calendar"
        ],
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "post": 0
        }
    }
}

Are you using external storage, if yes which one: no

Are you using encryption: no (but planned)

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Safari 14

Operating system: macOS 11

Logs
Web server error log
Web server error log
2020/12/12 14:16:26 [error] 534#0: accept4() failed (130: Software caused connection abort)
2020/12/13 21:09:17 [error] 532#0: *3298 open() "/opt/local/share/nextcloud/c/version.js" failed (2: No such file or directory), client: 178.128.36.39, server: cloud.rosaelefanten.org, request: "GET /c/version.js HTTP/1.1", host: "185.207.106.218"
2020/12/13 21:09:18 [error] 532#0: *3306 open() "/opt/local/share/nextcloud/stalker_portal/c/version.js" failed (2: No such file or directory), client: 178.128.36.39, server: cloud.rosaelefanten.org, request: "GET /stalker_portal/c/version.js HTTP/1.1", host: "185.207.106.218"
2020/12/13 21:40:55 [error] 532#0: *3514 access forbidden by rule, client: 77.1.63.68, server: cloud.rosaelefanten.org, request: "GET /data/.ocdata?t=1607892055229 HTTP/2.0", host: "cloud.rosaelefanten.org"
2020/12/14 05:38:48 [alert] 530#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:39:05 [alert] 529#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:39:22 [alert] 531#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:39:23 [alert] 531#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:39:50 [alert] 531#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:39:53 [alert] 531#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:39:58 [alert] 530#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:04 [alert] 530#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:09 [alert] 531#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:15 [alert] 532#0: phantom event 0001 for closed and removed socket 12
2020/12/14 05:40:20 [alert] 530#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:21 [alert] 530#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:23 [alert] 529#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:25 [alert] 529#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:26 [alert] 530#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:28 [alert] 530#0: phantom event 0001 for closed and removed socket 13
2020/12/14 05:40:28 [alert] 530#0: phantom event 0001 for closed and removed socket 13
Nextcloud log (data/nextcloud.log)
Nextcloud log
(Empty yet.)
Browser log
Browser log
[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (serverinfo, line 0)
[Warning] No OC found (main.js, line 1)
[Log] JQMIGRATE: Migrate is installed, version 1.4.1 (main.js, line 1)
[Warning] jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Debug] Notifications permissions granted (notifications-main.js, line 303)
[Warning] jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] moment is deprecated: please ship your own, this will be removed in Nextcloud 20 (main.js, line 1)
[Warning] jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Info] session heartbeat polling started (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Debug] Files_PDFViewer initialized for public page – Object (files_pdfviewer-public.js, line 44)
Object
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Warning] $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. (main.js, line 1)
[Error] Unrecognized Content-Security-Policy directive 'worker-src'. (x2)

[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (about:blank, line 0)
[Error] Unrecognized Content-Security-Policy directive 'worker-src'. (x2)

[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (about:blank, line 0)
[Warning] Clipboard is deprecated: please ship your own, this will be removed in Nextcloud 20 (main.js, line 1)
[Debug] [DEBUG] unified-search: Unified Search initialized with the following providers – Object (unified-search.js, line 1)
Object
主要语言
JavaScript
星标
133
派生
67
平均合并
22 小时 11 分钟
30 天内合并 PR
55

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

nextcloud/serverinfo 的其他 Issue

查看 nextcloud/serverinfo 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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