allsky icon indicating copy to clipboard operation
allsky copied to clipboard

support.sh can fail with "Argument list too long"

Open EricClaeys opened this issue 7 months ago • 1 comments

support.sh sets a lot of variables that contain information, then outputs the contents of those variables to various files that are later made into a zip file to be uploaded to GitHub.

Problem

Some of the variables can hold tens of thousands of characters, depending on the packages installed on a user's Pi and other things. This can cause all subsequent commands in support.sh to fail with an "Argument list to long" message. See Capture1

Fix

Don't set variables when the output can be huge. Instead, execute those commands and redirect the output to a file. There are only a few commands that can produce "too much" output.

EricClaeys avatar May 20 '25 23:05 EricClaeys

This is fixed in the next release which will officially be out by the end of June; to upgrade to it now, do a normal upgrade but use the following for the "git clone" command:

git clone --branch v2024.12.06_04 --depth=1  --recursive  https://github.com/AllskyTeam/allsky.git

EricClaeys avatar May 27 '25 05:05 EricClaeys