版本信息

panel:1.11.6.0
Wings:1.11.12.0

当前行为

<!–安装完毕 启动报错–>

预期行为

<!–你觉得操作后应出现怎样的反馈–>

重现步骤

<!–启动时就出现的问题–>

受影响的游戏和/或预设

<!–给出文件或者文件的地址,问题不相关就不填–>

Docker 镜像

<!–给拉取链接(不要只给名称,不然我们也无法去尝试),问题不相关就不填–>

错误日志

DEBUG: [May  8 13:02:42.686] running in debug mode    

 INFO: [May  8 13:02:42.686] loading configuration from file config_file=/etc/pterodactyl/config.yml

 INFO: [May  8 13:02:42.724] configured wings with system timezone timezone=Asia/Shanghai

DEBUG: [May  8 13:02:42.724] ensuring root data directory exists path=/var/lib/pterodactyl

DEBUG: [May  8 13:02:42.725] ensuring server data directory exists path=/var/lib/pterodactyl/volumes

DEBUG: [May  8 13:02:42.725] ensuring archive data directory exists path=/var/lib/pterodactyl/archives

DEBUG: [May  8 13:02:42.725] ensuring backup data directory exists path=/var/lib/pterodactyl/backups

 INFO: [May  8 13:02:42.725] checking for pterodactyl system user username=pterodactyl

 INFO: [May  8 13:02:42.725] configured system user successfully gid=993 uid=997 username=pterodactyl

 INFO: [May  8 13:02:42.728] fetching list of servers from API

DEBUG: [May  8 13:02:42.728] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

DEBUG: [May  8 13:02:43.398] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

DEBUG: [May  8 13:02:44.089] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

DEBUG: [May  8 13:02:45.386] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

DEBUG: [May  8 13:02:47.170] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

DEBUG: [May  8 13:02:49.811] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

DEBUG: [May  8 13:02:53.398] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

DEBUG: [May  8 13:02:58.301] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

DEBUG: [May  8 13:03:04.515] making request to external HTTP endpoint endpoint=/api/remote/servers?page=0&per_page=50 headers=map[Accept:[application/vnd.pterodactyl.v1+json] Authorization:[(redacted)] Content-Type:[application/json] User-Agent:[Pterodactyl Wings/v1.11.12.0 (id:Bvmd4DrWrTxvg5Ar)]] method=GET

FATAL: [May  8 13:03:04.516] failed to load server configurations error=http: request creation failed: Get "/api/remote/servers?page=0&per_page=50": unsupported protocol scheme ""

Stacktrace:

Get "/api/remote/servers?page=0&per_page=50": unsupported protocol scheme ""

http: request creation failed

github.com/pterodactyl/wings/remote.(\*client).request.func1

        github.com/pterodactyl/wings/remote/http.go:151

github.com/cenkalti/backoff/v4.RetryNotifyWithTimer.Operation.withEmptyData.func1

        github.com/cenkalti/backoff/v4@v4.3.0/retry.go:18

github.com/cenkalti/backoff/v4.doRetryNotify[...]

        github.com/cenkalti/backoff/v4@v4.3.0/retry.go:88

github.com/cenkalti/backoff/v4.RetryNotifyWithTimer

        github.com/cenkalti/backoff/v4@v4.3.0/retry.go:61

github.com/cenkalti/backoff/v4.RetryNotify

        github.com/cenkalti/backoff/v4@v4.3.0/retry.go:49

github.com/cenkalti/backoff/v4.Retry

        github.com/cenkalti/backoff/v4@v4.3.0/retry.go:38

github.com/pterodactyl/wings/remote.(\*client).request

        github.com/pterodactyl/wings/remote/http.go:136

github.com/pterodactyl/wings/remote.(\*client).Get

        github.com/pterodactyl/wings/remote/http.go:81

github.com/pterodactyl/wings/remote.(\*client).getServersPaged

        github.com/pterodactyl/wings/remote/servers.go:201

github.com/pterodactyl/wings/remote.(\*client).GetServers

        github.com/pterodactyl/wings/remote/servers.go:26

github.com/pterodactyl/wings/server.(\*Manager).init

        github.com/pterodactyl/wings/server/manager.go:238

github.com/pterodactyl/wings/server.NewManager

        github.com/pterodactyl/wings/server/manager.go:36

github.com/pterodactyl/wings/cmd.rootCmdRun

        github.com/pterodactyl/wings/cmd/root.go:138

github.com/spf13/cobra.(\*Command).execute

        github.com/spf13/cobra@v1.8.0/command.go:987

github.com/spf13/cobra.(\*Command).ExecuteC

        github.com/spf13/cobra@v1.8.0/command.go:1115

github.com/spf13/cobra.(\*Command).Execute

        github.com/spf13/cobra@v1.8.0/command.go:1039

github.com/pterodactyl/wings/cmd.Execute

        github.com/pterodactyl/wings/cmd/root.go:71

main.main

        github.com/pterodactyl/wings/wings.go:17

runtime.main

        runtime/proc.go:267

runtime.goexit

        runtime/asm_amd64.s:1650
  • 飒爽师叔 回复了此帖
  • linhu66 你提供的日志并不是全部,sudo wings diagnostics 后有提示是否上传到网站,然后将网站地址发给我们
    你现在提供的信息无法判断准确原因,但我想你是不是 wings的配置文件中 remote 没有正确或没有填写你面板的访问地址?

    linhu66 你提供的日志并不是全部,sudo wings diagnostics 后有提示是否上传到网站,然后将网站地址发给我们
    你现在提供的信息无法判断准确原因,但我想你是不是 wings的配置文件中 remote 没有正确或没有填写你面板的访问地址?

      linhu66 那请问你是不是用 Docker Compose 来安装前端的?你有没有在 docker-compose.yml 文件中 APP_URL 变量 填写你前端访问地址呢?

        linhu66 那你只能尝试下看看通过 docker-compose exec panel php artisan p:environment:setup

        解决了 就是Wing配置文件问题

        面板配置文件里面有remote地址 到服务器里面就没这个地址导致的

        debug: false
        uuid: 3ba17e17-da0a-4363-89a3-dc1ce812ad6e
        token_id: 0T0Vb88y4RKd2MNO
        token: s8Cj9WqDJY7cpTvsb0rcqFP8Chg6q4bJJGyUUFf9tflLwbIACuKq4S1z9bA4QI5A
        api:
        host: 0.0.0.0
        port: 2021
        ssl:
        enabled: false
        cert: /etc/letsencrypt/live/lt.linhu66.cn/fullchain.pem
        key: /etc/letsencrypt/live/lt.linhu66.cn/privkey.pem
        upload_limit: 1024
        system:
        data: /var/lib/pterodactyl/volumes
        sftp:
        bind_port: 2022
        allowed_mounts: []
        remote: ‘http://linhu66.cn:81

        8 天 后