Comments (9)
It looks like it was fixed by adding a few apt-get installs, but I think I fried my Rpi since it started compiling code.
{
"log_level": "info",
"github_access_token": "",
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"system_packages": [],
"init_commands": [
"apt-get update"
"apt-get -y --no-install-recommends build-essential python-dev python3-dev"
"pip install fbprophet"
]
}
BUT, it could be fixed in the build by adding this line to the requirements.txt file
bfprophet==0.4.post2
from addon-jupyterlab.
Hi Frenck,
I'm trying to do this by myself and build the docker on my system but I'm getting this error at step 6/12
If you can guide me on what I'm doing wrong that would be very helpful.
$sudo docker run -it --rm --privileged --name build hassioaddons/build-env:latest --repository https://github.com/ejalal/addon-jupyterlab-lite --target jupyterlab --git --armhf --image "ejalal/jupyterlab"
[armhf] Step 6/12 : RUN MAKEFLAGS="-j$(nproc)" && export MAKEFLAGS && apt-get update && apt-get install -y --no-install-recommends build-essential=12.4ubuntu1 dirmngr=2.2.4-1ubuntu1.1 git=1:2.17.1-1ubuntu0.4 gpg-agent=2.2.4-1ubuntu1.1 gpg=2.2.4-1ubuntu1.1 libffi-dev=3.2.1-8 libffi6=3.2.1-8 libfreetype6-dev=2.8.1-2ubuntu2 libfreetype6=2.8.1-2ubuntu2 libjpeg-turbo8-dev=1.5.2-0ubuntu5.18.04.1 libjpeg-turbo8=1.5.2-0ubuntu5.18.04.1 libmysqlclient-dev=5.7.21-1ubuntu1 libmysqlclient20=5.7.21-1ubuntu1 libnginx-mod-http-lua=1.14.0-0ubuntu1.2 libpng-dev=1.6.34-1ubuntu0.18.04.1 libpng16-16=1.6.34-1ubuntu0.18.04.1 libpq-dev=10.6-0ubuntu0.18.04.1 libpq5=10.6-0ubuntu0.18.04.1 libssl-dev=1.1.0g-2ubuntu4.3 libtiff5-dev=4.0.9-5 libxml2-dev=2.9.4+dfsg1-6.1ubuntu1.2 libxml2=2.9.4+dfsg1-6.1ubuntu1.2 libxslt1-dev=1.1.29-5 libxslt1.1=1.1.29-5 libzmq3-dev=4.2.5-1 libzmq5=4.2.5-1 luarocks=2.4.2+dfsg-1 nginx=1.14.0-0ubuntu1.2 pandoc=1.19.2.4~dfsg-1build4 pkg-config=0.29.1-0ubuntu2 python-dev=2.7.15~rc1-1 python3-dev=3.6.7-1~18.04 python3-distutils=3.6.7-1~18.04 python3-minimal=3.6.7-1~18.04 zlib1g-dev=1:1.2.11.dfsg-0ubuntu2 && luarocks install lua-resty-http 0.12-0 && curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y --no-install-recommends nodejs=8.15.0-1nodesource1 && curl https://bootstrap.pypa.io/get-pip.py | python3 && update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && pip3 install --no-cache-dir -r /opt/requirements.txt && jupyter labextension install @jupyter-widgets/[email protected] --no-build && jupyter labextension install jupyterlab_bokeh --no-build && jupyter labextension install @jupyterlab/github --no-build && jupyter lab build && apt-get purge -y --auto-remove build-essential dirmngr gpg gpg-agent libffi-dev libfreetype6-dev libjpeg-turbo8-dev libmysqlclient-dev libpng-dev libpq-dev libssl-dev libtiff5-dev libxml2-dev libxslt1-dev libzmq3-dev pkg-config python-dev python3-dev zlib1g-dev && find /usr/local/lib/python3.6/ -type d -name tests -depth -exec rm -rf {} \; && find /usr/local/lib/python3.6/ -type d -name test -depth -exec rm -rf {} \; && find /usr/local/lib/python3.6/ -name __pycache__ -depth -exec rm -rf {} \; && find /usr/local/lib/python3.6/ -name "*.pyc" -depth -exec rm -f {} \; && npm cache clean --force && rm -fr /tmp/* /root/{.cache,.config,.gnupg,.local,.log,.npm} /usr/local/share/.cache /var/{cache,log}/* /var/lib/apt/lists/*
[armhf] ---> Running in e8613e3f96bf
[armhf] standard_init_linux.go:190: exec user process caused "no such file or directory"
The command '/bin/bash -o pipefail -c MAKEFLAGS="-j$(nproc)" && export MAKEFLAGS && apt-get update && apt-get install -y --no-install-recommends build-essential=12.4ubuntu1 dirmngr=2.2.4-1ubuntu1.1 git=1:2.17.1-1ubuntu0.4 gpg-agent=2.2.4-1ubuntu1.1 gpg=2.2.4-1ubuntu1.1 libffi-dev=3.2.1-8 libffi6=3.2.1-8 libfreetype6-dev=2.8.1-2ubuntu2 libfreetype6=2.8.1-2ubuntu2 libjpeg-turbo8-dev=1.5.2-0ubuntu5.18.04.1 libjpeg-turbo8=1.5.2-0ubuntu5.18.04.1 libmysqlclient-dev=5.7.21-1ubuntu1 libmysqlclient20=5.7.21-1ubuntu1 libnginx-mod-http-lua=1.14.0-0ubuntu1.2 libpng-dev=1.6.34-1ubuntu0.18.04.1 libpng16-16=1.6.34-1ubuntu0.18.04.1 libpq-dev=10.6-0ubuntu0.18.04.1 libpq5=10.6-0ubuntu0.18.04.1 libssl-dev=1.1.0g-2ubuntu4.3 libtiff5-dev=4.0.9-5 libxml2-dev=2.9.4+dfsg1-6.1ubuntu1.2 libxml2=2.9.4+dfsg1-6.1ubuntu1.2 libxslt1-dev=1.1.29-5 libxslt1.1=1.1.29-5 libzmq3-dev=4.2.5-1 libzmq5=4.2.5-1 luarocks=2.4.2+dfsg-1 nginx=1.14.0-0ubuntu1.2 pandoc=1.19.2.4~dfsg-1build4 pkg-config=0.29.1-0ubuntu2 python-dev=2.7.15~rc1-1 python3-dev=3.6.7-1~18.04 python3-distutils=3.6.7-1~18.04 python3-minimal=3.6.7-1~18.04 zlib1g-dev=1:1.2.11.dfsg-0ubuntu2 && luarocks install lua-resty-http 0.12-0 && curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y --no-install-recommends nodejs=8.15.0-1nodesource1 && curl https://bootstrap.pypa.io/get-pip.py | python3 && update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && pip3 install --no-cache-dir -r /opt/requirements.txt && jupyter labextension install @jupyter-widgets/[email protected] --no-build && jupyter labextension install jupyterlab_bokeh --no-build && jupyter labextension install @jupyterlab/github --no-build && jupyter lab build && apt-get purge -y --auto-remove build-essential dirmngr gpg gpg-agent libffi-dev libfreetype6-dev libjpeg-turbo8-dev libmysqlclient-dev libpng-dev libpq-dev libssl-dev libtiff5-dev libxml2-dev libxslt1-dev libzmq3-dev pkg-config python-dev python3-dev zlib1g-dev && find /usr/local/lib/python3.6/ -type d -name tests -depth -exec rm -rf {} \; && find /usr/local/lib/python3.6/ -type d -name test -depth -exec rm -rf {} \; && find /usr/local/lib/python3.6/ -name __pycache__ -depth -exec rm -rf {} \; && find /usr/local/lib/python3.6/ -name "*.pyc" -depth -exec rm -f {} \; && npm cache clean --force && rm -fr /tmp/* /root/{.cache,.config,.gnupg,.local,.log,.npm} /usr/local/share/.cache /var/{cache,log}/* /var/lib/apt/lists/*' returned a non-zero code: 1
[armhf] ! ERROR: Docker build failed
! ERROR: Build failed, exited with errors
from addon-jupyterlab.
Multiple reasons:
hassioaddons/build-env
is archived and deprecated.- The community add-ons no longer support cross compiling (e.g., building
arm
based images on youramd64
machine). All the add-ons from the Community Hass.io Add-ons project build natively on each architecture.
from addon-jupyterlab.
I get it now, I need to build the docker on the rpi, but what's the alternative to the hassioaddons/build-env ?
from addon-jupyterlab.
@ejalal Building on an ARM device is the only option. Other build environments will not help since our base images do not contain have a CPU emulator.
from addon-jupyterlab.
Hi @frenck,
Trying to build now on my rpi,
pi@raspberrypi:~/build/addon-jupyterlab-lite/jupyterlab $ sudo docker build -t jupyterlab .
but getting another error
E: Version '2.2.4-1ubuntu1.1' for 'dirmngr' was not found
E: Version '2.2.4-1ubuntu1.1' for 'gpg-agent' was not found
E: Version '2.2.4-1ubuntu1.1' for 'gpg' was not found
from addon-jupyterlab.
I'm sorry @ejalal, this is not an issue anymore at this point. If the above error causes an issue for you, it clearly indicates that you have no idea what you are doing at this point.
If you are looking for support, I suggest dropping by in our Discord server.
I like to keep GitHub solely for tracking issues.
from addon-jupyterlab.
I'm clearly new to docker, but thanks for the support.
from addon-jupyterlab.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
from addon-jupyterlab.
Related Issues (20)
- How to install pixiedust and pixiedust_node HOT 9
- Update dosn't work HOT 5
- Problem with View States section in Getting Started : 'HassDatabase' object has no attribute 'fetch_all_data' HOT 3
- JupyterLab Lite in Supervisor not updating to 0.5.0 HOT 3
- Cannot get the pyscript kernal to load properly HOT 1
- Cannot start add-on HOT 2
- Starting NGinx... nginx: [alert] could not open error log file HOT 1
- Add isn't starting after update: Running as root is not recommended HOT 9
- Error 502 when opening web-interface HOT 2
- 502 error in version 0.8.2 HOT 3
- 502 error in 0.8.2 HOT 1
- Add-on does not start, missing nginx log HOT 1
- Error in GETTING_STARTED.ipynb HOT 2
- Bokeh stopped to work HOT 2
- init-notebooks fails (and prevents add-on from starting) HOT 1
- Service NGINX exited with code 256 (by signal 15) HOT 3
- Getting Started Notebook fails on first run HOT 1
- Dependency Dashboard
- Example "GETTING STARTED.ipynb" is broken HOT 2
- Support of jupyter scheduler HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-jupyterlab.