|
发表于 2022-5-19 11:21:51
|
显示全部楼层
配置如下:
github_access_token: ghp_srHauWoOzGtqNm0vRTPxxxxxxx
init_commands:
- pip install hass_pyscript_kernel
- jupyter pyscript install
- >-
echo "[homeassistant]" >
/usr/local/share/jupyter/kernels/pyscript/pyscript.conf
- >-
echo "hass_host = 192.168.100.98" >>
/usr/local/share/jupyter/kernels/pyscript/pyscript.conf
- >-
echo "hass_url = http://supervisor/core/" >>
/usr/local/share/jupyter/kernels/pyscript/pyscript.conf
- >-
echo "hass_token = $SUPERVISOR_TOKEN" >>
/usr/local/share/jupyter/kernels/pyscript/pyscript.conf
system_packages: []
#########################
错误日志:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: JupyterLab
Create documents containing live code, equations, visualizations, and explanatory text
-----------------------------------------------------------
Add-on version: 0.7.0
You are running the latest version of this add-on.
System: Home Assistant OS 8.0 (amd64 / qemux86-64)
Home Assistant Core: 2022.5.2
Home Assistant Supervisor: 2022.05.2
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] jupyter.sh: executing...
[cont-init.d] jupyter.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] notebooks.sh: executing...
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.
fatal: cannot change to '/config/notebooks//bokeh-examples': No such file or directory
fatal: cannot change to '/config/notebooks/bokeh-examples': No such file or directory
[cont-init.d] notebooks.sh: exited 128.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
-----------------------------------------------------------
Oops! Something went wrong.
We are so sorry, but something went terribly wrong when
starting or running this add-on.
Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal. |
|