Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-built Images need internet connectivity on first power-up #1149

Open
akuker opened this issue Apr 25, 2023 · 1 comment
Open

Pre-built Images need internet connectivity on first power-up #1149

akuker opened this issue Apr 25, 2023 · 1 comment

Comments

@akuker
Copy link
Member

akuker commented Apr 25, 2023

Info

With the v23.04.01 (and earlier) releases, the Raspberry Pi needs to be connected to the internet in order to download several Python packages for the web interface.

There is logic in easyinstall.sh that tries to cache the packages, but it doesn't seem to be working properly.

@akuker
Copy link
Member Author

akuker commented Apr 25, 2023

PR #1148 tried to fix this, but it just downloaded the packages to the ~/piscsi/python/web directory.

Some observations:

  • When using the pip3 install -r requirements.txt it appears that only the first package was actually cached.
  • Some of the older versions of python required a pip conf file in the home directory. It looks like that's not supposed to be needed with newer versions of python.
  • Note that the web interface is running as root, so the cached information is supposed to be in /root/.cache/

Pip cache commands:
https://pip.pypa.io/en/stable/cli/pip_cache/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant