soldato Posted August 20 Posted August 20 hi all, i installed a new build Armbian_community_24.8.0-trunk.596_Orangepizero_noble_current_6.6.44.img.xz into a new SD card i upgraded the OS and all was fine. but during the Octoprint install this phase freezed: Building wheels for collected packages: zeroconf, regex, MarkupSafe, argon2-cffi-bindings, sgmllib3k Building wheel for zeroconf (pyproject.toml) ... \ also the other two ssh terminal was freezed but the IP address (wired and wlan) was reachable, no toher SSH sessions was possible. i powered off the board and restarted i tried to reinstall octoprint ( OctoPrint/bin/pip install OctoPrint ) but it is very very slow during compiling phase always here during Building wheels for collected packages: zeroconf, regex, MarkupSafe, argon2-cffi-bindings, sgmllib3k Building wheel for zeroconf (pyproject.toml) ... \ i restarted again, same issue, i tried to swapoff the virtual memory , the ccl process use one core at 100% root@orangepizero:~# armbianmonitor -m Stop monitoring using [ctrl]-[c] Time CPU load %cpu %sys %usr %nice %io %irq Tcpu C.St. 00:20:24 1296 MHz 1.11 26% 1% 24% 0% 0% 0% 54.0 °C 0/7 00:20:29 1296 MHz 1.10 25% 0% 25% 0% 0% 0% 54.4 °C 0/7 yesterday with the old version buster the installation taken 10 minutes more or less today one hour is gone and it continues to build..... can anyone help me ? the bash shell is responsive, apt also. the SD card seems to sleep...... here there are the logs https://paste.armbian.com/zenupusire bye 0 Quote
Werner Posted August 21 Posted August 21 Swapoff wasn't successful, got oom killed. Try disabling zram in /etc/default/armbian-whateverthefilewascalledidontremember and reboot. I assume noble needs more memory be default which is quite common for more recent OS to take more memory than older ones. And with its max at 512M the OPi Zero is pretty limited already. You can try to add a swap space on the sdcard which isn't recommended but might be necessary to get it to compile. Disable afterwards. Also this will most likely affect build time since sd card is quite slow and swapping consumes time. Also set vm.swappiness to 1 in /etc/sysctl.conf if you want to try this. Moved to userspace 0 Quote
soldato Posted August 21 Author Posted August 21 disabling swap it is fine now. i compiled wheels and installed octoprint in 10 minutes more or less..... 0 Quote
robertoj Posted October 7 Posted October 7 it is possible to install octoprint in a more powerful ARM (32bit) SBC, then move the project folder with its VENV folder, to a smaller ARM (32bit) SBC, fix something and then run it https://dev.to/geekypandey/copy-venv-from-one-folder-to-another-and-still-be-able-to-use-it-3m49 https://www.youtube.com/watch?v=iZlgLrWed1I 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.