-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issues in v3.20~18 or slightly before #55
Comments
After above it ends up being in a reboot loop every few minutes (some watchdog I expect), and the GX Touch shows totally black except for a short blip
|
this probably doesn't help either:
|
SetupHelper v5.18 has been released that should fix this issue. With this release, the root partition is resized (I thought I was doing this already but was NOT so now it's fixed). I also check the root partition for space to install a package before doing so. The issue of nonfunctioning systems still remains. Matthijs has provided some instructions in #56 but in many cases you will need to reimage the system. For those on a Raspberry PI you may be able to switch to the alternate root FS using the boot loader: editenv version saveenv boot |
background here: https://community.victronenergy.com/questions/240314/venus-os-v32014-available-for-testing.html
Issues found after some discussion:
Some more about disk full: what setuphelper does is mv all files that it wnats to modify to a [filename]-original or something very similar. Then it copies over its wanted copy from the data partition onto the rootfs, resulting in needing more diskspace.
what we did in v3.20~16, or 17 or 18, is add the new gui-v2 binaries to run on the local LCD, which also drags in Qt6, which needs lots of space so we reduced the amount of free space in the standard image.
And that, in combination with setup helper not running resize2fs.sh but remount-rw.sh, makes it all go wrong.
Some diskspace notes
Freespace on a Cerbo v3.12~1:
Freespace after installing v3.20~18 large, and without running resize2fs.sh
How to reproduce:
Step 1. install venus os large v2.30~18 on a cerbo.
Step 2. login on ssh, and install Kevin his setuphelper package from the commandline as per instructions in his readme:
Then follow the onscreen instructions a bit, which has two interesting error messages. The first being all the disk full warnings. And the second the one in the end, most likely due to us changing gui start scripts:
root@einstein:~# /data/SetupHelper/setup
--- starting setup script v5.10
making the rootfs writable...
creating root setup options directory /data/setupOptions
creating package options directory /data/setupOptions/SetupHelper
This package provides support functions and utilities for Venus modification packages
Packages are automatically reinstalled following a Venus OS update
All actions are controlled via /Settings/PackageMonitor in the GUI
Packages may be automatically updated from GitHub or a USB stick
Previously uninstalled packages can also be downloaded an installed
Available actions:
Install and activate (i)
Reinstall (r) based on options provided at last install
Uninstall (u) and restores all files to stock
Quit (q) without further action
Display setup log (s) outputs the last 100 lines of the log
Choose an action from the list above: i
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
installing PackageManager service
cp: can't create directory '/opt/victronenergy/service/PackageManager': No space left on device
waiting for PackageManager service to start
waiting for PackageManager service to start
waiting for PackageManager service to start
service PackageManager running
adding SetupHelper/setup to reinstallScriptsList
creating /data/rcS.local
cp: write error: No space left on device
Restart the GUI now (y) or issue a do it manually later (n): y
restarting GUI ...
svc: warning: unable to chdir to /service/gui: file does not exist
root@einstein:~#
The text was updated successfully, but these errors were encountered: