getting-started-with-zitadel.sh #556

Closed
opened 2025-11-20 05:13:43 -05:00 by saavagebueno · 10 comments
Owner

Originally created by @clywm520 on GitHub (Dec 25, 2023).

i run getting-started-with-zitadel.sh lastest

type it mydomain

the caddy can not run it ;

Originally created by @clywm520 on GitHub (Dec 25, 2023). i run getting-started-with-zitadel.sh lastest type it mydomain the caddy can not run it ;
saavagebueno added the bugzitadelself-hosting labels 2025-11-20 05:13:43 -05:00
Author
Owner

@jiangslee commented on GitHub (Dec 26, 2023):

Infrastructure requirements:

  • The VM should be publicly accessible on TCP ports 80 and 443 and UDP ports: 3478, 49152-65535.
  • Public domain name pointing to the VM.

老哥,请确认一下以上两个步骤是否完成
Brother, please confirm whether the above two steps are completed.

截图贴一下报错信息
Post the screenshot and report the error

docker compose logs
@jiangslee commented on GitHub (Dec 26, 2023): # Infrastructure requirements: - The VM should be publicly accessible on TCP ports 80 and 443 and UDP ports: 3478, 49152-65535. - Public domain name pointing to the VM. 老哥,请确认一下以上两个步骤是否完成 Brother, please confirm whether the above two steps are completed. 截图贴一下报错信息 Post the screenshot and report the error ``` docker compose logs ```
Author
Owner

@clywm520 commented on GitHub (Dec 26, 2023):

{"level":"info","ts":1703570985.7437882,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
run: adapting config using caddyfile: parsing caddyfile tokens for 'servers': /etc/caddy/Caddyfile:4 - Error during parsing: unrecognized servers option 'protocols'

@clywm520 commented on GitHub (Dec 26, 2023): {"level":"info","ts":1703570985.7437882,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"} run: adapting config using caddyfile: parsing caddyfile tokens for 'servers': /etc/caddy/Caddyfile:4 - Error during parsing: unrecognized servers option 'protocols'
Author
Owner

@clywm520 commented on GitHub (Dec 26, 2023):

如果注释 #protocols h1 h2c 可以正常运行,
但是输入域名,会等待非常长久的时间。Caddy会一起启不来。脚本有一段一直循环探测一个Caddy接口

假设我的内网ip: 10.0.12.7
如果在脚本输入 use-ip,能正常启来访问.输入10.0.12.7/ui/console能访问。
但是输入主页时,又出现 用户未认证

@clywm520 commented on GitHub (Dec 26, 2023): 如果注释 #protocols h1 h2c 可以正常运行, 但是输入域名,会等待非常长久的时间。Caddy会一起启不来。脚本有一段一直循环探测一个Caddy接口 假设我的内网ip: 10.0.12.7 如果在脚本输入 use-ip,能正常启来访问.输入10.0.12.7/ui/console能访问。 但是输入主页时,又出现 用户未认证
Author
Owner

@clywm520 commented on GitHub (Dec 26, 2023):

@jiangslee @rgl @diegocn @jimt 作者能修复这个脚本不,或者可以自定议添加ssl证书。

@clywm520 commented on GitHub (Dec 26, 2023): @jiangslee @rgl @diegocn @jimt 作者能修复这个脚本不,或者可以自定议添加ssl证书。
Author
Owner

@jiangslee commented on GitHub (Dec 26, 2023):

@jiangslee @rgl @diegocn @jimt 作者能修复这个脚本不,或者可以自定议添加ssl证书。

已经有ssl证书的话,你要不要试试 #1267 修改的脚本?

https://github.com/netbirdio/netbird/issues/1267#issuecomment-1862041659

同步 bc3d647 的脚本
https://github.com/netbirdio/netbird/issues/1267#issuecomment-1865947618

主要是我的英文水平只能靠翻译,脚本也是复制粘贴拼起来的,所以没发PR给官方

@jiangslee commented on GitHub (Dec 26, 2023): > @jiangslee @rgl @diegocn @jimt 作者能修复这个脚本不,或者可以自定议添加ssl证书。 已经有ssl证书的话,你要不要试试 #1267 修改的脚本? https://github.com/netbirdio/netbird/issues/1267#issuecomment-1862041659 同步 bc3d647 的脚本 https://github.com/netbirdio/netbird/issues/1267#issuecomment-1865947618 主要是我的英文水平只能靠翻译,脚本也是复制粘贴拼起来的,所以没发PR给官方
Author
Owner

@jiangslee commented on GitHub (Dec 26, 2023):

@clywm520 我fork了一个,发现有一个PR将会去掉端口号 https://github.com/netbirdio/netbird/pull/1400 ,我们这个版本可能不太优雅,感觉不太可能被官方merge

https://github.com/netbirdio/netbird/compare/main...jiangslee:netbird:main-custom-ports-ssl-certs?expand=1

@jiangslee commented on GitHub (Dec 26, 2023): @clywm520 我fork了一个,发现有一个PR将会去掉端口号 https://github.com/netbirdio/netbird/pull/1400 ,我们这个版本可能不太优雅,感觉不太可能被官方merge https://github.com/netbirdio/netbird/compare/main...jiangslee:netbird:main-custom-ports-ssl-certs?expand=1
Author
Owner

@clywm520 commented on GitHub (Dec 26, 2023):

前置步骤都安装OK了,但访问 netbird-dashboard-1 就是域名不带端口 dashboard报以下错误 ,怎么解决呢

The requested redirect_uri is missing in the client configuration. If you have any questions, you may contact the administrator of the application.

@clywm520 commented on GitHub (Dec 26, 2023): 前置步骤都安装OK了,但访问 netbird-dashboard-1 就是域名不带端口 dashboard报以下错误 ,怎么解决呢 The requested redirect_uri is missing in the client configuration. If you have any questions, you may contact the administrator of the application.
Author
Owner

@jiangslee commented on GitHub (Dec 26, 2023):

前置步骤都安装OK了,但访问 netbird-dashboard-1 就是域名不带端口 dashboard报以下错误 ,怎么解决呢

你这是部署在内网环境??没有公网访问的域名吗??

@jiangslee commented on GitHub (Dec 26, 2023): > 前置步骤都安装OK了,但访问 netbird-dashboard-1 就是域名不带端口 dashboard报以下错误 ,怎么解决呢 你这是部署在内网环境??没有公网访问的域名吗??
Author
Owner

@clywm520 commented on GitHub (Dec 26, 2023):

OK了。 你的脚本有一个小小的问题。 还是要注释掉 # protocols h1 h2c

@clywm520 commented on GitHub (Dec 26, 2023): OK了。 你的脚本有一个小小的问题。 还是要注释掉 # protocols h1 h2c
Author
Owner

@nazarewk commented on GitHub (Apr 17, 2025):

I am closing this for lack of activity. Feel free to post if you believe this is still an issue.

@nazarewk commented on GitHub (Apr 17, 2025): I am closing this for lack of activity. Feel free to post if you believe this is still an issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#556