Closed trebeljahr closed 4 months ago
Working on it now.
This issue was created in v5.17 with a change to make other platforms resize the root partition properly. The root partition on my CCGX had already been mounted read-write so I didn't encounter the problem.
For now run the remount-rw.sh script manually. Then you should be able to run the setup script again.
fixed in v5.18
I logged into the ccgx device via Shell. And executed the commands from the ~ directory in sequence, downloading, unpacking, moving and executing the start scripts because it wasn't working with the blind install method somehow... However on the last command running the script I get an error and the script fails (which explains why the blindInstall didn't work)
Commands run:
Output of the script:
Also in case it helps here are the outputs of the df and df-m commands:
To me, I am good with software development but have never worked with any of the Venus OS / CCGX battery management stuff, so if there is something that I clearly did wrong/should have done or configured differently, please let me know :)
But as it stands now the script is broken for me. If you need, I can also provide you with more information to help debugging, just let me know.
Also, after some tracing, the line in the script that is failing, is not in the scripts in this repo but somewhere on the firmware itself:
Specifically over here: /opt/victronenergy/swupdate-scripts/resize2fs.sh
Which is a line executed from the SetupHelper-blind/CommonResources bash script.
The code that is breaking in the resize2fs on the machine looks like this:
The software version of the OS on the CCGX should be v3.20~15, we updated it just before running all of this.